vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Ban by minutes and hours too (https://vborg.vbsupport.ru/showthread.php?t=105211)

calorie 01-12-2006 10:00 PM

Ban by minutes and hours too
 
Ban by minutes and hours too. Requested here.

Remember to adjust the 'Restore Temporarily Banned Users' scheduled task accordingly.

See here for how to set the minimum ban time to 15 minutes.

TTG 01-13-2006 09:55 AM

WOW calorie .. you out to get in the Guiness book of records for the most hacks posted in 10 mins .. keep 'em comin' .. I might find something that I could use :)

Telegon80 01-13-2006 10:59 AM

awesome calorie you rawk!

Snake 01-13-2006 04:27 PM

Thanks this is good!

evenmonkeys 01-13-2006 06:58 PM

Bah! That's exactly what I was going to do last night, but I didn't think it'd work. I could have had myself another hack. =P Nice job, calorie! Appreciate it.

evenmonkeys 01-13-2006 07:06 PM

Uh-oh! Problem!

Invalid Ban Period Specified

calorie 01-13-2006 08:37 PM

Thanks, attachment updated with one more file edit.

Telegon80 01-15-2006 02:47 AM

installed works perfect, thank you sir!

IrPr 01-16-2006 06:42 PM

Thanks Calorie :) Installed

but for banning under 1Hour must set Restore Temporarily Banned Users CRONJOB to run every minute
wouldnt this increase server loads?

Telegon80 01-25-2006 11:07 PM

hey calorie i have a problem that the banned people stay banned even after the time period has ended. :ermm:

(i ban people a lot so ive heard it quite a few times since i installed the hack)

IrPr 01-25-2006 11:33 PM

for banning under 1Hour must set Restore Temporarily Banned Users CRONJOB( Scheduled Tasks ) to run every minute or run immediatly

Telegon80 01-26-2006 01:07 AM

what is it if i put it to run *

calorie 01-27-2006 03:34 PM

* means run every [insert time frame here]

In the mod you can change:
Code:

                        'm_1'  => "1 $vbphrase[minute]",
                        'm_5'  => "5 $vbphrase[minutes]",
                        'm_10'  => "10 $vbphrase[minutes]",

To the following:
Code:

                        'm_15'  => "15 $vbphrase[minutes]",
So that 15 minutes is the minimum ban time, and then edit the 'Restore Temporarily Banned Users' scheduled task so that Minute is set to 0 15 30 45 instead of * - - - and then the task will run every 15 minutes instead of every minute.

EdQ 04-14-2006 08:27 PM

Thanks!

Telegon80 04-15-2006 02:52 AM

im having problems with this again. my minute bans are staying banned for days..... suxx

Lewis1234 07-16-2006 12:58 PM

Wow thanks, just what i needed.

mike2902 07-01-2009 02:12 PM

Would this work with 3.8.2? Any thoughts?


All times are GMT. The time now is 04:54 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.01075 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete