Version: 2.3, by Valter
Developer Last Online: Nov 2023
Category: Add-On Releases -
Version: 3.6.x
Rating:
Released: 08-03-2006
Last Update: 04-10-2009
Installs: 555
DB Changes Uses Plugins Auto-Templates
No support by the author.
Info:
This will allow forum administrators to simply login to user accounts (to test forum functions, permissions etc...). SuperAdmin can choose admins who are able to use this function. SuperAdmin can set also who can login to other admin accounts. "Login As User" is shown in member profiles and Quick User Links (can be disabled). Option is automatically hidden in your own account and if target user is admin while you have no permissions to login to admin accounts.
See screenshots.
Installation:
1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
Variables:
-Link to login to user in memberinfo: $cyb_ltoua_link_mi
-Logged in as user alert: $cyb_ltoua_alert
To set options:
Go to: AdminCP > vBulletin Options > Cyb - Login To Other User Account
Versions: v1.0 - May 20. 2006.
-First Release v1.1 - May 21. 2006.
-Now SuperAdmin can log into other admins v1.2 - Aug 04. 2006.
-Release of this hack for vB v3.6 v1.5 - Aug 29. 2006.
-Added option to easily go back to admin account
-Alert can be enabled/disabled
-Added "Product Version Checking"
-Only Admins allowed to use function can see "Login As" links
-Several code improvements v1.6 - Sep 01. 2006.
-Fixed bug (error message at the top of "add new user" page)
-Fixed bug (uncached template) v1.7 - Sep 05. 2006.
-Now only SuperAdmin can access settings where you choose which Admins can use the hack
-You can also set Admins who will be able to use other Admins accounts (only SuperAdmin can set this)
-Alert moved to navbar so it is now shown on any page to Admin who is logged in as someone else v1.8 - Apr 23. 2007.
-"Last activity" not changed for target user when admin used account
-"Login As User" automatically hidden in your own account and if target user is admin and you have no permissions to login to admin accounts
-Admin not logged out from ACP when back to original account, except session expired regularly
-Added option to modify alert box CSS
-Many other code improvements and optimizations
-If you have older version of this hack installed please uninstall it before installing latest version or it will not work properly v1.9.1 - Jul 23. 2007.
-Fixed bug (Security Exploit)
-Fixed bug ("login as user" doesn't work if you access user profile via last post info)
-"Go back" alert moved to header (for must of users there is no need to edit custom styles anymore)
-Now you can go back from banned user accounts without clearing cookies manually v2.0 - Nov 08. 2007.
-New: Actions logged in Moderator Log
-Fixed bug where admins with primary usergroup different than 6 are not able to use hack
-Several minor bugs fixed
--You MUST uninstall older version before installing this one in order to get it working properly v2.1 - May 03. 2008.
-Compatible with vBulletin 3.7
-Minor bugs fixed v2.2 - Jun 23. 2008.
-Added option to disable logs
-Added option to switch to vB 3.6.x compatibility mode
-Fixed bug (session lost for target user when you go back to admin)
-Fixed bug (sessions lost for guests/bots when you login as another user)
-Made several compatibility improvements v2.3 - Apr 11. 2009.
-Bug fix (non-Admins able to login to user accounts in some cases)
-Bug fix (Admin can not search product entries in ModLog by product ID)
-Bug fix (logging error if username contains special characters)
-Bug fix (Admin must be member of usergroup 6 to use product)
-Minor bugs fixed
Click INSTALL if you like this hack.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
i am not exactly sure how he done that then, i looked through the code and there was no particular special function other than that one, which i added in.
I click on Log In As User but nothing happens.
There is no alert message, I still see the staff zone, the user does not show up in the member list -> I am not logged in as this member.
Even via the ACP, if I try to login as a user I only get to his profile but nothing else happens.
The link that is called is /member.php?do=cyb_loginasuser&u=12345
I click on Log In As User but nothing happens.
There is no alert message, I still see the staff zone, the user does not show up in the member list -> I am not logged in as this member.
Even via the ACP, if I try to login as a user I only get to his profile but nothing else happens.
The link that is called is /member.php?do=cyb_loginasuser&u=12345
HMMM
Just making sure:
- Have you set yourself as SuperAdmin in /includes/config.php? (if you do not have userID 1)
- Have you added the template changes?
- Is Administrator (usergroupID 6) your primary usergroup?
And what do you mean by: Nothing happens? Everything's just as usual, with your own username in the welcome message?
I am a superadmin
I don't have added the template changes because I see the link
and yes, 6 is my admin group
With nothing happens I mean nothing happens, the site reloads and thats it.
no Username change in welcome, no user showing up in who's online except me, nothing
Great Mod!
Clicked installed and have one question..
I was testing it out on a couple of users that are on my board and now in the members list even though I switched back logged off they still show up in the members list as online. I tried clearing cookies that didn't seem to do anything either. Any ideas?
I have the same:
Database error in vBulletin 3.6.3:
Invalid SQL:
SELECT userid, username, password, salt, styleid
FROM allwheeljunkies_user
WHERE userid =
LIMIT 1;
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 4 Error Number : 1064
Date : Sunday, November 26th 2006 @ 05:22:58 PM
Script : http://allwheelnetwork.com/index.php?do=backtoadmin
Referrer : http://www.allwheelnetwork.com/index.php
IP Address : 66.91.236.50
Username : Unregistered
Classname : vb_database
Error!
I have tried on IE and FF and both do it and have cookies enabled and everything checks out. Cookie user id is not getting set for some reason. I give up and will deactivate the nav box info. If anyone figures this problem out let me know it is pain in the a s s.
I've been trying to figure this out for a few days now (off and on), but can't figure out why my login name/ID does not display before the message:
, You are currently using Tesuser's account. Click here to go back to your admin account.
Code:
<phrase name="cyb_ltoua_goback"><![CDATA[{1}, You are currently using {2}'s account. Click <a href="{3}">here</a> to go back to your admin account.]]></phrase>