vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=201286

Cyb - Login To User Account
by Valter
10 Jan 2009 14:37

6 Attachment(s)
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.

mastertek2000 11 Jan 2009 00:50

marked installed thanks

dt_truck11 11 Jan 2009 05:46

when i log into a members account it doesnt show up as im logged in. it still shows that im logged in as myself.

SnowBot 11 Jan 2009 05:49

Installed :)

-=Leb=- 11 Jan 2009 11:30

your mod is easier, dont need to edit memberinfo to add the link. Thx cyb, you'r awesome :)

MindStar 11 Jan 2009 15:08

Quote:

Originally Posted by dt_truck11 (Post 1708222)
when i log into a members account it doesnt show up as im logged in. it still shows that im logged in as myself.

I get the same thing :confused:

Valter 11 Jan 2009 15:42

Clear forum cookies, then try again.

MindStar 11 Jan 2009 15:52

Quote:

Originally Posted by Cybernetec (Post 1708635)
Clear forum cookies, then try again.

Yup, that's fixed it.

I had to manually delete my forum cookies in Firefox; when I tried logging out I kept getting logged back in again. Weird! :confused:

basil2070 11 Jan 2009 16:22

I installed this, but I see no link when I search for any members to login in their username.

VAN 13 Jan 2009 18:56

Installed on 3.8. Logging in as a user works, but switching back does not. I get a white screen that says "You have no permission to use this function!".

I've cleared cookies already. Ideas?

Falon 13 Jan 2009 20:07

Is it works on 3.7x ?

Golzarion 13 Jan 2009 20:18

The really important notice : the last version of this plugin causes the security conflict with vbseo ! Of course it depended on your vbseo setting.... but vbseo user should be more careful to use this plugin. Just an advise not offensive words...

Bulldog Stang 14 Jan 2009 05:54

Quote:

Originally Posted by VAN (Post 1711216)
Installed on 3.8. Logging in as a user works, but switching back does not. I get a white screen that says "You have no permission to use this function!".

I've cleared cookies already. Ideas?

Same problem on my end as well .. any fixes ???

SnowBot 14 Jan 2009 06:20

works fine here, try reinstalling and disabling some of your other mods, just incase they are messing it up. Like i say it works great here on both my test forum and live board.

VAN 15 Jan 2009 16:17

Quote:

Originally Posted by SnowBot (Post 1711790)
try reinstalling and disabling some of your other mods, just incase they are messing it up.

It's a clean and fresh upgrade to 3.8 - no other mods installed. I removed and re-installed and I'm still having the same problem, so this one has to go for now.


All times are GMT. The time now is 17:31.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.