View Full Version : Banning a user between a certain time of day/night?
Bounce
04-06-2009, 04:14 PM
anyone know if this is possible?
a user has requested he/she is banned between working hours lol.
:confused:
Bounce
04-19-2009, 09:46 AM
:( lol
Lynne
04-19-2009, 03:39 PM
Hehe, that's kinda funny. I suppose you could write a scheduled task to change them into the banned usergroup and run it at 9 and at 5. I'm not really sure - I don't think I've ever seen anyone request this before.
Bounce
04-19-2009, 09:49 PM
Hehe, that's kinda funny. I suppose you could write a scheduled task to change them into the banned usergroup and run it at 9 and at 5. I'm not really sure - I don't think I've ever seen anyone request this before.
Interesting, thanks lynne, its actually between 10PM and 6AM when they are having a bevvy:eek:why can't pc's be fitted with breathalysers lol :D
Bounce
05-07-2013, 05:09 PM
Hehe, that's kinda funny. I suppose you could write a scheduled task to change them into the banned usergroup and run it at 9 and at 5. I'm not really sure - I don't think I've ever seen anyone request this before.
Hi Lynne,
Sorry to bring this up again, how would i go about this ?
There are 2 users that are like the incredible hulk with a drink in them and Dr David Banner the rest of the time.
They usually post between midnight and 6am, rather than ban them completely as the rest of there posts are fine will it be possibly for you to help in setting this up with a scheduled task?
I have no idea where to start lol :D
Lynne
05-07-2013, 08:29 PM
Make a copy of a scheduled task file and replace the meat of the file with a query that changes the usergroup for the two users from x to y. Then copy that task and change the query to move them from y to x. Then create a Scheduled Task and run the first one at 10pm and then second one at 6am.
BirdOPrey5
05-13-2013, 09:32 PM
While Scheduled tasks will work the fact they don't always run at the exact time you specify made me think there was a better way to implement this-
Daily Short Term Bans (VB4) - https://vborg.vbsupport.ru/showthread.php?t=298126
Bounce
05-31-2013, 01:36 PM
While Scheduled tasks will work the fact they don't always run at the exact time you specify made me think there was a better way to implement this-
Daily Short Term Bans (VB4) - https://vborg.vbsupport.ru/showthread.php?t=298126
QUALITY Sir
Thank you :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.