Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
April Fools - Ban User Details »»
April Fools - Ban User
Version: 1.00, by Adrian Schneider Adrian Schneider is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.0 RC 1 Rating:
Released: 03-31-2008 Last Update: 03-31-2008 Installs: 81
Uses Plugins
Additional Files  
No support by the author.

A slight modification of an in house experiment described here.

Users are prompted with the option to ban any user they choose for a period within 3-30 days. Upon submitting, there is a half second pause, then the username switches with their own name followed with another half second pause, before the script finally submits. Don't worry -- the user input here is completely ignored.

The entered username is completely ignored, and the user submitting the form is banned for the period they entered.

Refer to attached screenshots for more info.

It's up to you to link to this file, and you can also view ban.php?do=view for a list of banned users.


... you may want to unban some of these users the next day. No pressure though.

Show Your Support

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

Comments
  #92  
Old 02-04-2010, 04:38 PM
tobe12's Avatar
tobe12 tobe12 is offline
 
Join Date: Mar 2006
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by leginag View Post
The mod was fun and it was funny seeing ppl complaining in our chat box.

However, there is an issue when I am trying to unban them.

When they get 'banned', their primary group just gets changed to "COPPA users awaiting moderation", but when I search for users in that usergroup, it says there aren't any in there.

So I just can't go an unban them all easily. I now have to get them to report to me that they were banned. :s which is a pain cos there are some hundred+ ppl

Is there something I am missing? How can I mass-unban everyone?
I am having the same issue and I don't remember even installing this mod. Any suggestions?
Reply With Quote
  #93  
Old 02-04-2010, 04:39 PM
tobe12's Avatar
tobe12 tobe12 is offline
 
Join Date: Mar 2006
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You can see all banned users in Users > View Banned Users.
Thank you
Reply With Quote
  #94  
Old 11-21-2010, 04:41 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice... I made some edits... changed it actually ban from 10 to 120 MINUTES (although it still says "Days" so if someone bans someone for 30 days it really becomes 30 minutes... should keep anyone from being annoyed too much.

Even when the "fun" is over I think I'll keep it for people who feel the need to ban themselves, like a self imposed "cool off" period.

Thanks :up:
Reply With Quote
  #95  
Old 12-27-2010, 08:26 PM
EddyMaxx EddyMaxx is offline
 
Join Date: Jan 2010
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Nice... I made some edits... changed it actually ban from 10 to 120 MINUTES (although it still says "Days" so if someone bans someone for 30 days it really becomes 30 minutes... should keep anyone from being annoyed too much.

Even when the "fun" is over I think I'll keep it for people who feel the need to ban themselves, like a self imposed "cool off" period.

Thanks :up:
Hey Joe... What did you change to make to minutes instead of days?
Reply With Quote
  #96  
Old 12-27-2010, 08:34 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the .php file find the line:
PHP Code:
$liftdate TIMENOW + (86400 $days); 
86400 is the number of seconds in 1 day (60 * 60 * 24)... Change it to the number of seconds in one minute (60) to make the ban in minutes rather than days.

Just keep in mind the scheduled task that unbans people I think runs only once every hour by default so a "5 minute" ban will last until the scheduled task runs after the ban is up.
Reply With Quote
  #97  
Old 12-27-2010, 08:43 PM
EddyMaxx EddyMaxx is offline
 
Join Date: Jan 2010
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks man.
Reply With Quote
  #98  
Old 12-27-2010, 08:45 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is just wrong on so many levels.

...

I'll let you know how it turns out.
Reply With Quote
  #99  
Old 04-01-2012, 04:15 PM
bornoffire bornoffire is offline
 
Join Date: Apr 2007
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how to get this to work on 4.0+?
Reply With Quote
  #100  
Old 08-19-2012, 07:20 AM
Dark Pulse Dark Pulse is offline
 
Join Date: Jun 2006
Location: Buffalo, NY
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would absolutely love this if it could be updated for vBulletin 4.x.

Yes, I'm already planning how to screw with my users next year. I'm a mean-spirited guy, what can I say?
Reply With Quote
  #101  
Old 10-11-2012, 05:21 PM
SoftWareRevue's Avatar
SoftWareRevue SoftWareRevue is offline
 
Join Date: Nov 2001
Location: Kalamazoo
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What if we were to move the user to a group that isn't a banned group? Would this still move them back when time's up or manually via the page?
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 06:04 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05283 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete