Quote:
Originally Posted by tnguy3n
if you'r the only super admin, you can use this code instead
Code:
// only super admin can add admin (and/or smod)
$cant_add_groups = array(5,6); // use comma to seperate usergroups
if (($bbuserinfo['userid'] != '1') AND in_array($user['usergroupid'], $cant_add_groups))
{
print_stop_message('cant_add_admin');
}
and I assumed your userid is 1 .
|
Actually no, there are 2 s-admins. So, what would I do then?