// check that board is active - if not admin, then display error
if (!$bbactive) {
if (!$permissions['cancontrolpanel']) {
eval("standarderror(\"".str_replace("\'", "'", addslashes($bbclosedreason))."\");");
exit;
}
}
Replace with :
PHP Code:
// check that board is active - if not admin, then display error
if (!$bbactive) {
if (!$permissions['cancontrolpanel'] or !$permissions['ismoderator'] or $bbuserinfo['usergroupid']!=7) {
eval("standarderror(\"".str_replace("\'", "'", addslashes($bbclosedreason))."\");");
exit;
}
}
That should work... If not, change the "or" s in the :
Code:
if (!$permissions['cancontrolpanel'] or !$permissions['ismoderator'] or $bbuserinfo['usergroupid']!=7) {