Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 06 Apr 2009, 18:14
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
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.

__________________
Thanks for your help

J
Reply With Quote
  #2  
Old 19 Apr 2009, 11:46
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
lol
__________________
Thanks for your help

J
Reply With Quote
  #3  
Old 19 Apr 2009, 17:39
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #4  
Old 19 Apr 2009, 23:49
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
Originally Posted by Lynne View Post
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 bevvywhy can't pc's be fitted with breathalysers lol
__________________
Thanks for your help

J
Reply With Quote
  #5  
Old 07 May 2013, 19:09
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
Originally Posted by Lynne View Post
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
__________________
Thanks for your help

J
Reply With Quote
  #6  
Old 07 May 2013, 22:29
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #7  
Old 13 May 2013, 23:32
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
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) - http://www.vbulletin.org/forum/showthread.php?t=298126
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #8  
Old 31 May 2013, 15:36
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
Originally Posted by BirdOPrey5 View Post
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) - http://www.vbulletin.org/forum/showthread.php?t=298126
QUALITY Sir

Thank you
__________________
Thanks for your help

J
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
User Thread Banning (Includes Time Banning Feature) John vBulletin 2.x Full Releases 49 23 Dec 2004 07:18



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:54.

Layout Options | Width: Wide Color: