hi PPN,
i tried to use your hack, but i realised that my
aa cannot access to other user's profile except his own?
Quote:
Originally posted by PPN
why not try
PHP Code:
if(($userid = "aa") && ($userid != $bbuserinfo[userid] || $bbuserinfo[userid] == "bb")) {
echo "<p>You cannot edit this admins profile</p>";
cpfooter();
exit;
}
just changed it to allow the userid to edit their own profile and so the error message looks more admin panel-ish.
|