PDA

View Full Version : Floodcheck by User Group


Michael2
07-07-2004, 01:19 PM
I've seen this done on one board and pm'd the admin but never got a response. I would like to lower or eliminate the floodcheck for members who contribute financially.

Anyone know how I'd go about doing this?

Michael2
07-21-2004, 04:32 AM
Thought I'd check one last time. Would really like to have this. :)

Andreas
07-21-2004, 06:58 AM
I think the easieist way would be in phpinclude_start, as this would not need any file-edits:

if (is_member_of($bbuserinfo, group)) {
$vboptions['pmfloodtime'] = x;
$vboptions['searchfloodtime'] = y;
$vboptions['floodchecktime'] = z;
}


Relpace group, x, y and z with the values you want

TosaInu
10-08-2004, 10:20 AM
Hello KirbyDE,

This looks great but it's not working in vb 3.03 unfortunately.


// Example of how to include a seperate file:
// ob_start();
// require("yourheader.html");
// $header = ob_get_contents();
// ob_end_clean();

if (is_member_of($bbuserinfo, 2) {
$vboptions['pmfloodtime'] = 120;
$vboptions['searchfloodtime'] = 180;
$vboptions['floodchecktime'] = 180;
}


Am I doing something wrong?

Andreas
11-05-2004, 07:51 PM
There was a closing bracket missing.

Sorry for answering that late, but I was moving and had no DSL for several weeks :-/
Better late than never ;)