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
  #62  
Old 10-25-2006, 12:44 PM
Luke Brown256 Luke Brown256 is offline
 
Join Date: Jun 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #63  
Old 10-25-2006, 02:50 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It does not work for me.

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
Reply With Quote
  #64  
Old 10-25-2006, 02:56 PM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by StarBuG
It does not work for me.

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?
Reply With Quote
  #65  
Old 10-25-2006, 03:08 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

I have no clue why not
Reply With Quote
  #66  
Old 10-30-2006, 08:26 PM
tank14 tank14 is offline
 
Join Date: Oct 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need to get some help changeing go back to admin, U have vBadvanced and it goes to the index, not index2
Reply With Quote
  #67  
Old 11-01-2006, 02:22 AM
wjkids wjkids is offline
 
Join Date: Oct 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?

Thanks in advance
Reply With Quote
  #68  
Old 11-01-2006, 06:43 PM
tank14 tank14 is offline
 
Join Date: Oct 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is blocked in abes script, but abes doesnt work for me...=(
Reply With Quote
  #69  
Old 11-26-2006, 08:49 PM
AWJunkies AWJunkies is offline
 
Join Date: Jan 2005
Location: San Diego
Posts: 947
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #70  
Old 12-25-2006, 04:24 PM
jgommel's Avatar
jgommel jgommel is offline
 
Join Date: Jun 2005
Location: Ohio
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
See the attached screenshot.

Any help would be greatly appreciated!
Reply With Quote
  #71  
Old 12-25-2006, 11:40 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Download latest XML and import it.

Be sure hack's templates are not customized.

Be sure you have enabled cookies in your browser.
Reply With Quote
  #72  
Old 12-26-2006, 10:03 AM
Sol_Invictus Sol_Invictus is offline
 
Join Date: Jun 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice plugin, but I wouldn't use it. I feel that it is an invasion of users' privacy.
Reply With Quote
  #73  
Old 12-26-2006, 07:21 PM
jgommel's Avatar
jgommel jgommel is offline
 
Join Date: Jun 2005
Location: Ohio
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybernetec View Post
Download latest XML and import it.

Be sure hack's templates are not customized.

Be sure you have enabled cookies in your browser.

Okay, I just downloaded and imported the latest XML, checked my cookie settings etc..., and I still have the same problem: See my prior post: #69

I even went as far as checking multiple browsers...
Reply With Quote
  #74  
Old 12-26-2006, 07:38 PM
cbiweb cbiweb is offline
 
Join Date: May 2004
Location: Nova Scotia, Canada
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sol_Invictus View Post
Nice plugin, but I wouldn't use it. I feel that it is an invasion of users' privacy.
Only if you use it for that reason. It's an excellent way to solve problems with a user's account without having to get their password from them and all that. Just make sure they know what you're up to, and don't do things like read their PMs while you're there.

Be responsible with it, and no one gets hurts.
Reply With Quote
  #75  
Old 12-26-2006, 08:18 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you make it so that moderators can't see that the user has the same IP adress for postings as the admin. in other words: when an admin login as the user, it keeps the IP from the user, not the one from the admin. Hopefully you understand this
Reply With Quote
  #76  
Old 12-26-2006, 08:30 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is one of the best hacks ever
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:19 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.05184 seconds
  • Memory Usage 2,367KB
  • 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
  • (1)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
  • (1)pagenav_pagelinkrel
  • (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