![]() |
HI,
I have one usergroup which I would not like to experience limitation of a flood timer. What do I need to change in the code so that this usergroup is floodtime free as moderators and admins? Cheers |
In newthread.php and newreply.php, find this:
Code:
if ($bbuserinfo[userid]!=0 and time()-$bbuserinfo[lastpost]<=$floodchecktime and !ismoderator($foruminfo[forumid])) { Code:
if ($bbuserinfo[userid]!=0 and time()-$bbuserinfo[lastpost]<=$floodchecktime and (!ismoderator($foruminfo[forumid] and $bbuserinfo[usergroupid]!=XXX))) { |
Thank you :D
|
I implemented what was suggested, however it didn't seem to solve the trick.
reading the syntax below i can make a guess (and that's all it would be as I wouldn't know where to begin with PHP) should it be an 'OR' rather than 'AND' for selecting moderators and usergroupid=xxx? |
Wait, use this code: :)
Code:
if ($bbuserinfo[userid]!=0 and time()-$bbuserinfo[lastpost]<=$floodchecktime and (!ismoderator($foruminfo[forumid]) and $bbuserinfo[usergroupid]!=XXX)) { |
All times are GMT. The time now is 01:42 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|