vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - April Fools - Ban User (https://vborg.vbsupport.ru/showthread.php?t=174767)

tobe12 02-04-2010 04:38 PM

Quote:

Originally Posted by leginag (Post 1481681)
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?

tobe12 02-04-2010 04:39 PM

Quote:

Originally Posted by Lynne (Post 1482024)
You can see all banned users in Users > View Banned Users.

Thank you

BirdOPrey5 11-21-2010 04:41 PM

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:

EddyMaxx 12-27-2010 08:26 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2124279)
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?

BirdOPrey5 12-27-2010 08:34 PM

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.

EddyMaxx 12-27-2010 08:43 PM

Thanks man.

Digital Jedi 12-27-2010 08:45 PM

This is just wrong on so many levels.

...

I'll let you know how it turns out.

bornoffire 04-01-2012 04:15 PM

Does anyone know how to get this to work on 4.0+?

Dark Pulse 08-19-2012 07:20 AM

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? :p

SoftWareRevue 10-11-2012 05:21 PM

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?


All times are GMT. The time now is 02:30 PM.

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.01952 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete