Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 12 Jan 2009, 19:41
gmerin gmerin is offline
 
Join Date: Dec 2008
ban for less than 1 day

Any way to issue an hour ban? something similar to how stickam mods can kick someone for an hour?
Reply With Quote
  #2  
Old 12 Jan 2009, 20:04
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
I do not know of any modification to do that. I don't see a hook in the banning.php page to use around where the time periods are defined either, so I think you'd have to actually modify the code for that.
__________________
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
  #3  
Old 13 Jan 2009, 00:31
Bellardia Bellardia is offline
 
Join Date: Jul 2007
You have to be careful, because I believe the cron that runs to unban users runs every day at midnight or I seem to remember it as such.. So if you wish to do this you'll not only have to code a mod to ban for less time but also run the cron more frequently.
Reply With Quote
  #4  
Old 13 Jan 2009, 19:13
gmerin gmerin is offline
 
Join Date: Dec 2008
Originally Posted by Bellardia View Post
You have to be careful, because I believe the cron that runs to unban users runs every day at midnight or I seem to remember it as such.. So if you wish to do this you'll not only have to code a mod to ban for less time but also run the cron more frequently.
of the two, cron is the easier to adjust
Reply With Quote
  #5  
Old 13 Jan 2009, 22:05
Bellardia Bellardia is offline
 
Join Date: Jul 2007
But adjusting the cron won't unban people sooner because the time limits are day based I believe...
Reply With Quote
  #6  
Old 13 Jan 2009, 22:13
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
I don't think I've change the Scheduled Task times on that job and mine runs every 15 minutes.
__________________
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 Jan 2009, 22:17
Bellardia Bellardia is offline
 
Join Date: Jul 2007
:x my mistake! Like I said I never checked, thanks lynne

So you will have to redo the banning system itself and not the cron.
Reply With Quote
  #8  
Old 13 Jan 2009, 22:23
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by Bellardia View Post
:x my mistake! Like I said I never checked, thanks lynne
I never checked until just now cuz we never do any sort of ban except for Never Lift Ban (which actually means we could just disable it, I suppose - oh, and I'm talking about on my site, not here).
__________________
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
Reply



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 15:40.

Layout Options | Width: Wide Color: