chen, i need your help. i cant figure a way to make it dentify with the username that edits another user. here it is what i tried as an alternative:
Code:
if ($HTTP_POST_VARS['action']=="doupdate") {
if (!in_array($bbuserinfo['userid'],array($caneditadmin)) and $user['userid']!=$bbuserinfo['userid']) {
echo "<p>You are not allowed to edit this user</p>";
exit;
}
everything works except i cant edit myself anymore...