Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Cyb - Login To User Account Details »
Cyb - Login To User Account
Mod Version: 2.3, by Valter (Coder) Valter is offline
Developer Last Online: May 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (63 votes - 4.89 average) Installs: 951
Released: 10 Jan 2009 Last Update: 11 Apr 2009 Downloads: 4868
Not Supported DB Changes Uses Plugins Auto-Template  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	loginasuser.jpg
Views:	3497
Size:	25.0 KB
ID:	92196   Click image for larger version

Name:	edituser.jpg
Views:	2501
Size:	101.0 KB
ID:	92197   Click image for larger version

Name:	alert.jpg
Views:	2190
Size:	16.5 KB
ID:	92198   Click image for larger version

Name:	adminset.jpg
Views:	2197
Size:	32.6 KB
ID:	92199  

Click image for larger version

Name:	acp.jpg
Views:	1770
Size:	60.1 KB
ID:	92200  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Cyb - Login To User Account Valter vBulletin 3.7 Add-ons 158 13 Aug 2014 14:54
Add-On Releases Cyb - Login To User Account Valter vBulletin 3.6 Add-ons 244 29 Nov 2009 13:14
Cyb - Login To User Account Valter vBulletin 3.5 Add-ons 23 14 Apr 2009 19:10

  #76  
Old 14 Apr 2009, 22:04
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
nice man!
Reply With Quote
  #77  
Old 16 Apr 2009, 09:06
Sweeks's Avatar
Sweeks Sweeks is offline
 
Join Date: Jul 2008
The update is working fine now Thank you. The only problem is when manually placing the link in MEMBERINFO everyone can see it unless you wrap it in a conditional like the following.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

They cant use it though even as a guest but the link certainly needs a conditional around it before it is hidden to everyone else.
________
Halfbaked

Last edited by Sweeks; 06 Apr 2011 at 13:02.
Reply With Quote
  #78  
Old 24 Apr 2009, 07:12
tommyturnage's Avatar
tommyturnage tommyturnage is offline
 
Join Date: Nov 2007
Works perfect

Thanks!
Reply With Quote
  #79  
Old 24 Apr 2009, 15:54
jaredwilli's Avatar
jaredwilli jaredwilli is offline
 
Join Date: Aug 2008
When I click on Set Admins, it loads misc.php in that frame, and no where can I set the admins that can use this.
It seems this link isnt working

misc.php?do=cybltua_set
__________________
Tweeaks Forum
Reply With Quote
  #80  
Old 02 May 2009, 19:31
Skyrider Skyrider is offline
 
Join Date: Feb 2006
It doesn't matter who I "log in to" I always get:

FF|SkyPirate, You are currently using FF|SkyPirate's account. Click here to go back to your admin account.
Is this right? Always logging in to myself? I checked the link, and the UserID when it logs in to the account on the end is always different.
Reply With Quote
  #81  
Old 02 May 2009, 21:46
Valter Valter is offline
 
Join Date: Aug 2005
Clear browser cache and forum cookies, then try again. Target user name should be displayed in message box.

FF|SkyPirate, You are currently using Cybernetec's account. Click here to go back to your admin account.
Reply With Quote
  #82  
Old 04 May 2009, 15:00
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
I just found a bug:
in modcp when super moderator go to view user's profile he gets this error:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/modcp/user.php(348) : eval()'d code on line 29

this error appear when viewing this page:
http://www.yoursite.com/forum/modcp/user.php?do=viewuser&u=xxx
were xxx is the user id

or by going - in modcp - Users -> Search for Users -> then type user name -> [View Profile] and there it is.

hope you could fix that ASAP.

thanks -Cyp for all your great work
Reply With Quote
  #83  
Old 05 May 2009, 00:29
Valter Valter is offline
 
Join Date: Aug 2005
This has nothing with the ModCP.

Try disabling your installed hacks one by one to find which one causes errors.
Reply With Quote
  #84  
Old 05 May 2009, 05:29
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
I did, they I disabled them all one by one and it was this hack.
I even disabled them all and enabled only this hack and got the error. if I disable it everything is normal and no error appears.

I'm sure it's from this hack because I installed this hack in my test forum and the error occurred after I installed it, when I disable it the error is gone.
I even installed it in another fresh forum in my localhost with no other hack beside it (only this hack installed in the fresh forum)

maybe this hack has nothing to do with the ModCP, but it definitely has something to do with useradmin_edit_start hook.
the line 348 in the user.php file is:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and you are using that hook in this mod.


NOTE: this error appears only if I look for another user than me (the admin I mean)
if I view my profile as an admin via modcp nothing appears and everything is normal. but if I view another users profile, the error is there.

does anyone else has this error in this way? can anyone confirm please?
Reply With Quote
  #85  
Old 12 May 2009, 21:16
Kottos Kottos is offline
 
Join Date: Oct 2007
if I on a user acc to log in want come myself the message: Kottos, You are currently using Kottos's account. Click here to go back to your admin account. . which wrong I make

cu

kottos
Reply With Quote
  #86  
Old 12 May 2009, 21:30
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Real name: scotty
Originally Posted by Super Jinni View Post
I did, they I disabled them all one by one and it was this hack.
I even disabled them all and enabled only this hack and got the error. if I disable it everything is normal and no error appears.

I'm sure it's from this hack because I installed this hack in my test forum and the error occurred after I installed it, when I disable it the error is gone.
I even installed it in another fresh forum in my localhost with no other hack beside it (only this hack installed in the fresh forum)

maybe this hack has nothing to do with the ModCP, but it definitely has something to do with useradmin_edit_start hook.
the line 348 in the user.php file is:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and you are using that hook in this mod.


NOTE: this error appears only if I look for another user than me (the admin I mean)
if I view my profile as an admin via modcp nothing appears and everything is normal. but if I view another users profile, the error is there.

does anyone else has this error in this way? can anyone confirm please?
got the same error on another log in as user mod,

work arond:

go in to plugins and disable the cyb - log in to user account EU - useradmin_edit_start

i have no issue with this mod so unsure if that will work
__________________
Available for help just PM details!
Reply With Quote
  #87  
Old 18 May 2009, 11:59
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
Originally Posted by tipoboy View Post
got the same error on another log in as user mod,

work arond:

go in to plugins and disable the cyb - log in to user account EU - useradmin_edit_start

i have no issue with this mod so unsure if that will work
Thanks tipoboy.

for your work around, I'm afraid if I disable the cyb - log in to user account EU - useradmin_edit_start the mod won't work properly.

although I don't use this mod much, but it's really great one. and now I have it disabled till Cybernetec come up with a fix if possible.
Reply With Quote
  #88  
Old 18 May 2009, 14:13
djaravindth djaravindth is offline
 
Join Date: Mar 2008
thanks a lot..
its awesome plugin
Reply With Quote
  #89  
Old 10 Jun 2009, 11:48
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Real name: scotty
Originally Posted by Super Jinni View Post
Thanks tipoboy.

for your work around, I'm afraid if I disable the cyb - log in to user account EU - useradmin_edit_start the mod won't work properly.

although I don't use this mod much, but it's really great one. and now I have it disabled till Cybernetec come up with a fix if possible.
i had this same error with the mod panel, and i disabled the plugin and it doesnt affct the product, i can still log into users accounts with no problems
__________________
Available for help just PM details!
Reply With Quote
  #90  
Old 12 Jun 2009, 01:56
dancue dancue is offline
 
Join Date: Feb 2008
A Few problems I'm running into.

1 - If I login to an account it will give me a redirect loop error. (I'm Using VBSEO) Pressing back page will then have me log into the user account.

2 - While using the user account, if I log into the admincp I will then be logged in the site as my name with the option of going back to the admin account.

3 - Lastly, trying to go back to the admin account will have the same error as #1.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

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

Layout Options | Width: Wide Color: