vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Cyb - Login To User Account (https://vborg.vbsupport.ru/showthread.php?t=177947)

Valter 05-02-2008 10:00 PM

Cyb - Login To User Account
 
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.

Deepdog009 05-03-2008 12:44 PM

Keep the ball rolling...

meolangthang 05-03-2008 01:18 PM

Thank you

Mrdby 05-03-2008 05:52 PM

I notice when i log back into my account it still has the message at the top stating i'm still log in the other's person account. But i'm back in my own account and the message is still showing at the top of my forum. Can you help me?

samraz972 05-03-2008 07:08 PM

Is there any way I can remove this feature from showing in the moderator log?

Mrdby 05-03-2008 07:24 PM

I will disable for now.

Andyrew 05-03-2008 07:53 PM

Quote:

Originally Posted by Mrdby (Post 1507121)
I notice when i log back into my account it still has the message at the top stating i'm still log in the other's person account. But i'm back in my own account and the message is still showing at the top of my forum. Can you help me?


Did you uninstall the old version prior to installing this version.

Mrdby 05-03-2008 07:55 PM

Quote:

Originally Posted by Andyrew (Post 1507230)
Did you uninstall the old version prior to installing this version.

yeah...how can i remove everything prior to it?

ssslippy 05-03-2008 09:47 PM

Does this hook onto the new profile hooks?

Webby24 05-03-2008 09:52 PM

Hi,

I have the problem, the "Log in As User" wont be show. Even I installed the $cyb_ltoua_link_mi by myself. What I have to do?
I have the 3.7 Version. And i deleted the old Version, after I deleted I reinstalled the xml. BUt there is no effect.

Thanks for help

André

Chimpie 05-03-2008 11:36 PM

When I try to click and log back into my account I get this...
Quote:

You have no permissions to use this function!

Click here if your browser does not automatically redirect you.

digicom 05-04-2008 12:56 AM

I have excatly same problem

Quote:

Originally Posted by Chimpie (Post 1507485)
When I try to click and log back into my account I get this...


samraz972 05-04-2008 02:38 AM

I really dont like it being shown in the mod log. other mods and admins can read it any time the ones that dont have acess. I think im going back to the old one

abulean 05-04-2008 03:31 AM

Thank you ;)

Valter 05-04-2008 07:56 AM

Updated screenshots / install info - step 2.

Mrdby 05-04-2008 12:07 PM

this thing still is having the same problem.

*Mrdby, You are currently using mrdby's account. Click here to go back to your admin account.*

i'm already in my account. But I just signed in under another user online and it still shows me logged in with the admin message at the top.

veenuisthebest 05-04-2008 12:57 PM

as always... amazing work cyb !!

d2sector 05-05-2008 07:08 AM

No matter what user i select i get "You are currently using Unregistered's account. Click here to go back to your admin account."

shlomot 05-05-2008 11:42 AM

Thanks for a cool administrative tool that works flawlessly (on my site) and so easy to maintain.

blind-eddie 05-05-2008 01:12 PM

Works Flawlessly, Thanks for yet another Great Mod!

SauravG 05-05-2008 03:22 PM

Great Modification! Installed.

But found a bug.
Everytime I log into a users account Currently Active Users: resets itself.
Any idea why?

Thanks.

storpappa 05-06-2008 10:51 AM

Worked on 3.6, updated, working. Thanks for the updates

Mrdby 05-08-2008 10:54 PM

uninstalled

TCB 05-09-2008 06:16 PM

works fantastic. It is so extremely handy in those rare occasions. Thanks a lot (Y)

Gersfan 05-13-2008 08:39 AM

Somtimes when I go into a user account and want to go back to my own, I get this..

Redirecting...
You have no permissions to use this function!

SauravG 05-14-2008 08:13 AM

Uninstalled due to that bug and lack of support.
Found a new one which was bug free :)

tom212 05-14-2008 03:01 PM

After install the Log-In link didn't appear so I followed step 2. Then when I viewed a member profile page the format was all trashed. I checked and double checked that I had the extra code in the right place. I could log in, and the alert message appeared fine. Any idea what's up?

Thanks!

alexsinev 05-15-2008 10:02 AM

On my board (3.7.0) it works fine except that I have 2 warning message bars at the top. Look at the screenshots.

billt928 05-15-2008 10:32 AM

Thanks for yet another Great Mod!

Valter 05-15-2008 05:21 PM

alexsinev, if you have two instances of this hack in Product Manager, then uninstall both of them. Then install latest version and update settings.

Mrdby 05-15-2008 07:04 PM

i know i uninstalled and it still was the same problem.

Valter 05-15-2008 09:04 PM

Ensure that "header" or "navbar" or "forumhome" templates does NOT contain "$cyb_ltoua_alert" variable.

alexsinev 05-18-2008 03:35 AM

Quote:

Originally Posted by Cybernetec (Post 1520768)
alexsinev, if you have two instances of this hack in Product Manager, then uninstall both of them. Then install latest version and update settings.

Cybernetec, you were right. I didn't notice (to my shame :)) two copies of the product on my board: the previous version and the latest one.

Thanks a lot for your help! All your products are great! :)

CarterMarkham 05-18-2008 07:05 AM

Isnt this an invasion of privacy? I can read all their messages!

numsi 05-18-2008 07:16 AM

Quote:

Originally Posted by CarterMarkham (Post 1523205)
Isnt this an invasion of privacy? I can read all their messages!

If you are Super Administrator of your Forum, then we don't talk about Privacy.
We talk about Forum Security and System Administration.

;)

cheers
numsi

CarterMarkham 05-18-2008 11:32 PM

I am the Admin, but you do you read their private messages and all!?

Mrdby 05-19-2008 01:39 AM

Quote:

Originally Posted by CarterMarkham (Post 1524197)
I am the Admin, but you do you read their private messages and all!?

you can..but is it that serious? not like u running a top secret gov site..lol

Valter 05-19-2008 05:27 AM

This is to test functions, fix problems with user accounts, etc... not to read messages or abuse other members. :p

Super Jinni 05-21-2008 08:03 PM

I think this one is better

thanks for the nice job

installed

Britmovie 05-22-2008 06:06 PM

When enabled it doesnt show in 'quick links'?


All times are GMT. The time now is 06:11 PM.

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.01246 seconds
  • Memory Usage 1,809KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete