Quote:
Originally posted by Da_GoTTi
how can i add other admins to be protected besides myself?
|
add the lines again, only change the id Number, thats what i did.
PHP Code:
if (($userid==X) and ($bbuserinfo[userid]!=X)) {
echo "<p>You cannot update this Admin.</p>";
cpfooter();
exit;
}
and
PHP Code:
if ($userid==X) {
echo "<p>You cannot delete this Admin.</p>";
cpfooter();
exit;
}
remember to change X to the user Id you want to protect.