Here is my code:
PHP Code:
// ###################### Start do update #######################
if ($HTTP_POST_VARS['action']=="doupdate") {
if (($userid==1) and ($bbuserinfo[userid]!=1)) {
echo "<p>You cannot update this Admin.</p>";
cpfooter();
exit;
}
if (($usergroupid==17) and ($bbuserinfo[usergroupid]!=6)) {
echo "<p>You cannot update this Admin.</p>";
cpfooter();
exit;
}
OK. The can't update is working on me, user 1. So, to make it work on the other admins, do I just take this part of the code:
PHP Code:
if (($userid==1) and ($bbuserinfo[userid]!=1)) {
echo "<p>You cannot update this Admin.</p>";
cpfooter();
exit;
}
input the proper id numbers and add it below the existing piece of code?
Thank you for your time. Sorry I am being such a pain. I am feeling the pressure back at my board. :lol