The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
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 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
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))) {
|
|
#3
|
|||
|
|||
|
Thank you
|
|
#4
|
|||
|
|||
|
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? |
|
#5
|
||||
|
||||
|
Wait, use this code:
![]() Code:
if ($bbuserinfo[userid]!=0 and time()-$bbuserinfo[lastpost]<=$floodchecktime and (!ismoderator($foruminfo[forumid]) and $bbuserinfo[usergroupid]!=XXX)) {
|
![]() |
|
|