Back to vBulletin 3.0 Add-Ons

"Good User Gone Bad" date option for Erwin's Warn Ban Edit
Mod Version: 1.00, by Natch

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 4
Released: 04 May 2004 Last Update: Never Downloads: 1
Not Supported  

This was devised as a solution to the "Good User Gone Bad" scenario ...

What it does:

It's a modification to the hack devised by Erwin "Warn Ban Edit" as it's commonly known, to permit you to set an arbitrary timestamp on the posts that will be Globally Ignored by your users ...

As I have only a couple of users to which this group applies, it's easy enough to just say "anything after the start of 2004 will be hidden" which is how this is set-up - however, all you need to do is adjust the $postyear date function call and the iif statement to adjust what gets let thru and what gets hidden.

IN includes/functions_showthread.php

========================

Find:
PHP Code:
        $maintemplatename 'postbit_ignore_global'
Replace with:
PHP Code:
// Addon by Natch to Warn Ban Edit 
        
$postyear date("Y",$post['dateline']);
        
$maintemplatename iif(($postyear<=2003),$maintemplatename,'postbit_ignore_global');
// End Addon by Natch to Warn Ban Edit 
========================

There is also an optional modification:

If you want your board users to see that there was a post made, but not have any access to the contents (except for SuperMods and Admins), use the contents of the attached postbit_ignore_global, instead of simply emptying the template as indicated in Erwin's Warn, Ban, Edit hack ... this will show SuperMods and Admins a regular postbit_ignore_global, and all others will get the template with the links to "remove from my ignore list" and "show this post" but retains the "The Admin has told this tosser to shut up and bugger off" phrase ...

Any queries just ask - click if you like this!

Clarification: this will ONLY impact on users that are in the Troll Banned usergroup - once they are out of that usergroup, ALL their posts will re-appear.

Download

This modification is archived and cannot be downloaded.


vblts.ru supports vBulletin®, 2022-2024