The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Banning a user between a certain time of day/night?
anyone know if this is possible?
a user has requested he/she is banned between working hours lol. |
#2
|
||||
|
||||
lol
|
#3
|
||||
|
||||
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.
|
#4
|
||||
|
||||
Interesting, thanks lynne, its actually between 10PM and 6AM when they are having a bevvywhy can't pc's be fitted with breathalysers lol
|
#5
|
||||
|
||||
Quote:
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 |
#6
|
||||
|
||||
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.
|
#7
|
||||
|
||||
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 |
#8
|
||||
|
||||
Quote:
Thank you |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|