Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
"Good User Gone Bad" date option for Erwin's Warn Ban Edit Details »»
"Good User Gone Bad" date option for Erwin's Warn Ban Edit
Version: 1.00, by Natch Natch is offline
Developer Last Online: Apr 2022 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 05-03-2004 Last Update: Never Installs: 4
 
No support by the author.

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 INSTALL! 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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-04-2004, 05:49 PM
ChrisLM2001 ChrisLM2001 is offline
 
Join Date: May 2003
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this mod offer an "on" and "off" feature (when the user redeems himself)?

Chris
Reply With Quote
  #3  
Old 05-04-2004, 05:50 PM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you take 'em out of the Troll Banned usergroup...
Reply With Quote
  #4  
Old 05-09-2004, 03:32 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

erm i got a suggestion while we in the mood

how about lowering reputation by the default power of the person giving the warning

ps nice addon by the way
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:38 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03466 seconds
  • Memory Usage 2,231KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete