change $bbuserinfo[usergroup] to $bbuserinfo[userid]
but its not secure, because when the others go directly to the url they can acces too ....
just add to forumpermission.php after
PHP Code:
require("./global.php");
adminlog(iif($forumpermissionid!=0,"forumpermission id = $forumpermissionid",""));
cpheader();
if (isset($action)==0) {
$action="modify";
}
this code:
PHP Code:
if ($bbuserinfo[userid]!=1) exit;