
06-29-2004, 11:13 PM
|
 |
|
|
Join Date: May 2002
Location: Barefoot Bay Fl
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by mtha
DO NOT begin with a #
it should be
vbsetcookie('password', md5($user['password'] . '12345678'));
where 12345678 is your licence number (8 letters)
then you click to a user to "edit" this user, then you click on the quick link on top, there's something called "login as user"
It doesnt matter if you are superadmin or not, as long as you can access to the member list in ACP
$_hack_canlogin = ""; // comma separated list of allowed userids. leave blank for all admins
If you have this field filled, you have to be "that person" indicated here, in order to use the function.
If you leave blank, all admins (usergroup=6) can use the function, and he can login as anyone else, except other admin.
If you want to login to other admins, you have to change this lines:
if($user['usergroupid']==6)
{
print_cp_no_permission();
}
maybe just remove it.
|
Or maybe use the userid instead of the usergroupid??
|