PDA

View Full Version : Flood off in a certain forum?


MTGDarkness
03-10-2009, 05:37 PM
Yadda yadda, another seemingly meaningless feature that my members are clamoring for (testing area, AKA Spam Zone plus live topic = fun for those with no flood protection).
So how could I set up a plugin to turn the flood count off on a certain forum?

MTGDarkness
03-12-2009, 04:35 PM
Bump? I think I just need the variable for the flood control.

In fetch_foruminfo

if ($forumid == '(forumid)')
{
$vbulletin->options['flood thingy'] = '0';
}


That would work, but what is "flood thingy"?

MTGDarkness
03-14-2009, 04:24 PM
...:(

Lynne
03-14-2009, 07:32 PM
If you look in vboptions and hover over the option (or look in the page source), you can find out what "flood thingy" is really called. :)

MTGDarkness
03-15-2009, 10:44 AM
It's floodchecktime. :D Yay!

--------------- Added 1237117669 at 1237117669 ---------------

In case anyone wonders, this is the full code:
if ($forumid == '65')
{
$vbulletin->options['floodchecktime'] = '0';
}

Replace the numbers with the forum ID and the length.