Quote:
Originally Posted by Remi
HI
Is there a way to modefy this hack to say ( If the load is higher that 30.00  allow 0 guests ).
Thanks
|
I haven't tested this yet, but try the following:
open global.php and before
// check to see if there are too many guests online
add
PHP Code:
if ($bbuserinfo['usergroupid']==0 AND $loadlimit > 30)
{
eval("standarderror(\"".gettemplate('error_toomanyguests')."\");");
exit;
}
It will display the error_toomanyguests template when a guest visits with server load at more than 30; you can simply change the template here, and then create your own if you want a different message