Version: 1.2, by Abe1
Developer Last Online: Jun 2010
Version: 3.5.4
Rating:
Released: 05-11-2006
Last Update: 05-14-2006
Installs: 250
Uses Plugins Template Edits
No support by the author.
Admin Log In As User 1.2
About this hack:
This hack allows a SUPER ADMIN (settings in your config file) to log in as any user. You have to go to the user's profile page and there will be a link to 'Log In As This User'. Also, there is a link the drop down menu in the ACP User Manager. If you are logged in as another user, you will get a message on top of the forum saying, 'You are currently logged in as another user. Click here to log back into your account.'
This hack is very easy to install. This hack has NO options. Just install and it's ready to be used!
Enjoy!
Installation information on hack:
Files edited: 0
Templates edited: 2
Files to upload: 1 (via ACP)
Time to install: 1 minute
Updates:
Version 1.0 (05/12/06):
Release
Version 1.1 (05/12/06):
[ADDED] Link added to the drop down menu in ACP User Manager
Version 1.2 (05/15/06):
[CHANGED] This hack does not effect the ACP
[CHANGED] Session does not update (so will not show up online location)
[FIXED] Made a template edit so hack is compatible with 'vbSEO'
[CHANGED] Last activity time does not update now
Please post your comments or suggestions for this hack. I read ALL posts.
MAKE SURE YOU CLICK INSTALL! You will get an email when a new version is released.
This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.
I'm not going to look at that hack, but, right now, if you look at a thread, it will be marked read. I can't stop this from happening. If you have new posts by cookies, then the user will not realize because the last login time does not update.
Haven't read the entire thread so maybe someone has asked this already.
Does this ONLY work with 3.5.4, or does it work backward with other 3.5.x versions?
No, I'm not quoting myself because I've lost it (Well, that is debateable really ), I'm quoting to answer my own question. I got it to work fine.
We have 3.5.0 and it works... smoothly and seemlessly. I love it.
The other admin at our site and I have been looking for a way to log in as our 'regular user' ID's without having to go through the login logout process. This is the answer.
I have added the following to my postbit and postbit_legacy files.
Look for
Code:
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
Add:
Code:
<if condition="$bbuserinfo[usergroupid]==6">
<tr><td class="vbmenu_option"><a href="$vboptions[forumhome].php?$session[sessionurl]u=$post[userid]&admin_log_in_as_user=$post[userid]">Admin Login as this User</a></td></tr>
</if>
This will allow you admins to use the log in feature from the pulldown menu associated with the username in the postbit templates.