Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Cyb - Login To User Account Details »»
Cyb - Login To User Account
Version: 2.3, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

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.

Comments
  #122  
Old 04-24-2007, 04:37 PM
Naco's Avatar
Naco Naco is offline
 
Join Date: Jan 2004
Location: China
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v1.9 Simplified Chinese language version for chinese user.
Reply With Quote
  #123  
Old 04-25-2007, 06:16 AM
Majest Majest is offline
 
Join Date: Apr 2006
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, thanks for posting it up.

Installed.
Reply With Quote
  #124  
Old 04-26-2007, 01:35 AM
morpheusXIIX morpheusXIIX is offline
 
Join Date: Jul 2002
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the hack installed, I noticed I can log into users accounts just fine. The problem is logging back into the admin account.

Half the time it says it is logging back in, and then just leaves me logged in as the user.

Do you think this is a cookie issue?
Reply With Quote
  #125  
Old 04-26-2007, 04:34 AM
audis3 audis3 is offline
 
Join Date: Oct 2006
Location: Athens,Greece...
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfect now!Great!
Reply With Quote
  #126  
Old 04-26-2007, 12:21 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cyb, today i found an error on your hack

when i try to edit an user account (in ACP) i've got this:

Code:
Database error in vBulletin 3.6.5:

Invalid SQL:

				SELECT id, cybltouaadmins, cybltouaadminsb, cybltoualastadmin
				FROM vBcybltoua AS cybltoua
				WHERE id = '1';

MySQL Error  : Unknown column 'cybltoualastadmin' in 'field list'
Error Number : 1054
Date         : Thursday, April 26th 2007 @ 03:18:22 PM
Script       : http://www.XXX.com/board/XXXcp/user.php?do=edit&u=1
Referrer     : http://www.XXX.com/board/XXXcp/user.php?do=find&orderby=posts&direction=DESC&limitnumber=30
IP Address   : XXX.XXX.XXX
Username     : KURTZ
Classname    : vb_database
i changed in my FTP the name of the ACP folder for security reasons ... maybe the error is for this?

obviously if i uninstall or disable your hack all runs correctly
Reply With Quote
  #127  
Old 05-03-2007, 12:59 PM
encryption's Avatar
encryption encryption is offline
 
Join Date: Sep 2005
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

couple of issues with this mod after the update

- When I log in to some user accounts, I get this notification on top

Quote:
You are currently using Unregistered's account. Click here to go back to your admin account.

- When I log in to a user account who is banned, I see no way to return to my admin account, nor do I see the menu bar and no logout button so I can at least log back into my own account. The only way to do it is delete all cookies, hit refresh and log back into my own account.

Any fixes ?
Reply With Quote
  #128  
Old 05-04-2007, 05:48 PM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack..thanks for this cyb....cheerszzzzz
Reply With Quote
  #129  
Old 05-12-2007, 01:09 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Magnific Add-On!! :up:

Works Ok With vBulletin 3.6.6!! :up:

Reply With Quote
  #130  
Old 05-15-2007, 11:08 PM
parabat parabat is offline
 
Join Date: Apr 2006
Location: South Africa
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KURTZ View Post
Cyb, today i found an error on your hack

when i try to edit an user account (in ACP) i've got this:

Code:
Database error in vBulletin 3.6.5:

Invalid SQL:

				SELECT id, cybltouaadmins, cybltouaadminsb, cybltoualastadmin
				FROM vBcybltoua AS cybltoua
				WHERE id = '1';

MySQL Error  : Unknown column 'cybltoualastadmin' in 'field list'
Error Number : 1054
Date         : Thursday, April 26th 2007 @ 03:18:22 PM
Script       : http://www.XXX.com/board/XXXcp/user.php?do=edit&u=1
Referrer     : http://www.XXX.com/board/XXXcp/user.php?do=find&orderby=posts&direction=DESC&limitnumber=30
IP Address   : XXX.XXX.XXX
Username     : KURTZ
Classname    : vb_database
i changed in my FTP the name of the ACP folder for security reasons ... maybe the error is for this?

obviously if i uninstall or disable your hack all runs correctly
I get the same error as above and when I disable the hack, the error dissappears.
It also won't allow me to add users to the Super Admins option. When I add them, nothing is carried thru.
Solutions anyone?

**EDIT** I had to uninstall the hack completely and re-install it before it would work. So never mind.


-PB
Reply With Quote
  #131  
Old 05-21-2007, 06:23 PM
UbiqPhoton UbiqPhoton is offline
 
Join Date: Jan 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same here - I was just going to stress - WHEN YOU UPGRADE THIS HACK, UNINSTALL THE OLD VERSION FIRST, otherwise you get sql errors when attempting to access a users profile data.
Reply With Quote
  #132  
Old 06-01-2007, 06:37 PM
713JunctionP 713JunctionP is offline
 
Join Date: Mar 2007
Location: Houston, TX
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by encryption View Post
couple of issues with this mod after the update

- When I log in to some user accounts, I get this notification on top




- When I log in to a user account who is banned, I see no way to return to my admin account, nor do I see the menu bar and no logout button so I can at least log back into my own account. The only way to do it is delete all cookies, hit refresh and log back into my own account.

Any fixes ?
I get the same thing.

I should have just kept the old mod.
Reply With Quote
  #133  
Old 06-02-2007, 06:53 AM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can only recommend you to uninstall hack, then re-install it, then clear browser cache and forum cookies, then re-start browser, then try to login to user account and see how it works.

So problem can be bad installation or browser (cookies).
Reply With Quote
  #134  
Old 06-06-2007, 06:31 PM
713JunctionP 713JunctionP is offline
 
Join Date: Mar 2007
Location: Houston, TX
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AWESOME HACK! VERY USEFUL! THANKS! :up:
Reply With Quote
  #135  
Old 06-06-2007, 11:43 PM
713JunctionP 713JunctionP is offline
 
Join Date: Mar 2007
Location: Houston, TX
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found out something very interesting today.

If you click a username in the "Last Post" category of your forum home it will take you to their profile. Now, if you look in their profile, it will have a link saying "Log In As User." Yeah, that's what it's supposed to do. But if you got to the member's profile through a "Last Post" link and then tried clicking "Log In As User" in their profile, it will take you to a "You're viewing unregistered users account."

In order for this hack to work you need to go to the member's profile either through the MEMBERLIST part or by actually clicking the users name in the postbit and clicking "View Public Profile."

For some reason, the "Log In As User" link does NOT work correctly if the link that got you to the users profile looks something like this:

http://www.houstonup.com/forums/memb...astposter&f=32

It HAS to look something like this:

http://www.houstonup.com/forums/member.php?u=15

Is there any way you can fix this? Sometimes it's easier to go to the users profile and login by just clicking on their name in the "Last Post" category from the forum home.

I hope I've made myself clear enough to you all.
Reply With Quote
  #136  
Old 06-07-2007, 07:10 AM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is known issue.

Wait until next update.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:22 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05535 seconds
  • Memory Usage 2,370KB
  • Queries Executed 30 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete