Quote:
Originally Posted by vishalsachar
Hi guys, this is my first hack and i can't get it to work!
I have modified the code and added my leased licensed number beginning with a #
Now i log into my admin cp -- what do i do now?
I click users, but can't find anything. Any ideas?
|
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"
Quote:
1. i'm the forums owner and therefor superadmin, how do i log into other admins?
|
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.