Change time between reported posts
The time allowed between reporting posts is set by the vBulletin Option "Email Flood Check". Sometimes you want to have that value set to one thing (default is 60 seconds), but allow users to report posts sooner than that value. To do this, you may create a simple plugin (change 'x' to be the time you wish, in seconds, to allow between reported posts):
hook_location: global_start PHP Code:
|
Thanks Lynne, it's working great. :D Is there an easy way to modify it so that you can have different time limits for different usergroups?
|
Probably just something like this:
PHP Code:
|
Wow, quick reply, thanks. So as far as replacing....
a,b,c = first set of usergroup IDs xxx = sets time for first set d,e,f = second set of usergroup IDs yyy = sets time for second set zzz = default time for usergroups not defined? Is that correct? |
Yes, that is correct. If you have some specific usergroupids and times, I can try to write it for you.
|
Great. Because I tried and it didn't seem to work out for me. I just want 5,6,7 (mods and up, though I think admins are exempt anyway right?) at 0/no limit. And all others at 30s. I think I messed up by trying to remove the second group (else if).
|
Try this:
PHP Code:
|
That worked great thanks. I was missing "else."
|
That worked great thanks. I was missing "else."
|
Quote:
|
All times are GMT. The time now is 06:37 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|