PDA

View Full Version : Ban by minutes and hours too


calorie
01-12-2006, 10:00 PM
Ban by minutes and hours too. Requested here (https://vborg.vbsupport.ru/showthread.php?t=105203).

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

See here (https://vborg.vbsupport.ru/showpost.php?p=883728&postcount=13) 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:

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

To the following:

'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?