PDA

View Full Version : [Request] Removing flood control from mods


siLk
12-02-2003, 04:18 PM
We are running a clean version of vB 2.2.1 at www.warcraftreplays.com

Super-Mods / Admins are not restricted to the flood control settings, such as 1 post only 30 seconds rule. However, our forum is huge (80,000+ members), so our post time is set at 60 seconds. This is annoying for our staff of 50+ because they need to be able to post threads in quick succession and it is annoying as hell for them to have to wait 60 seconds to post another thread.

If there is a quick way to do this, and does not require a hack, then that would be great. Otherwise, is there anyone here that that would be willing to create a small hack to set this setting up per usergroup/forum (and not a overall board setting) basis?

If you have any questions or would like to talk to me directly, you can contact me on AIM at vendetta1g or on ICQ at 123595 or MSN at jtotten1@nc.rr.com

Thanks.

magnus
12-02-2003, 05:13 PM
This is untested, plus I'm going on 2.3.3 source, but it should be the same:

In newthread.php AND newreply.php -

Find:

if ($enablefloodcheck) {
if ($bbuserinfo[userid]!=0 and time()-$bbuserinfo[lastpost]<=$floodchecktime and !ismoderator($foruminfo[forumid])) {


Replace with:

if ($enablefloodcheck) {
if ($bbuserinfo[userid]!=0 and time()-$bbuserinfo[lastpost]<=$floodchecktime and !ismoderator($foruminfo[forumid]) and $bbuserinfo[usergroupid]!=7) {


** edited to reflect correct default vB USERGROUPID (7). Change if needed.

Logician
12-02-2003, 05:44 PM
Magnus's solution is very close but just that moderator's usergroupid is not 5 or 6. ;)

So replace "6" with your moderators' usergroupid which is 7 in default vb.

siLk
12-02-2003, 06:37 PM
ok, thanks a lot guys, I will try this as soon as I can

magnus
12-02-2003, 06:45 PM
Magnus's solution is very close but just that moderator's usergroupid is not 5 or 6. ;)

So replace "6" with your moderators' usergroupid which is 7 in default vb.

It would help if I read things thorougly, all I saw was "Super-Mods / Admins . . ." so I immediately snagged those groupid's, lol. :)