Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Admin Log In As User Details »»
Admin Log In As User
Version: 3.10, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.7.x Rating:
Released: 01-26-2008 Last Update: 01-17-2009 Installs: 1508
Uses Plugins Auto-Templates
Translations  
No support by the author.

Admin Log In As User 3.10


About this hack:
This hack allows any admin that you set in admin permissions, to log in as any user. You have to go to the user's profile page and there will be a link to 'Log In As This User'. Also, there is a link the drop down menu in the ACP User Manager. If you are logged in as another user, you will get a message on top of the forum saying, 'You are currently logged in as another user. Click here to log back into your account.'

This hack is very easy to install. This hack has only the admin yes/no option. Just install and it's ready to be used!

Enjoy!

Installation information on hack:
  • Files edited: 0
  • Templates edited: 1 (optional)
  • Files to upload: 1 (via ACP)
  • Time to install: 1 minute

Updates:

Version 3.0 (01/26/08):
  • Released for vb 3.7
  • RECOMMEND UNINSTALL THEN REINSTALL. (including any template edits you made.)
  • Version works with vb 3.6.0 and greater.

Version 3.10 (01/17/09):
  • Released for vb 3.8

Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #262  
Old 04-14-2009, 08:47 AM
RocCityDad RocCityDad is offline
 
Join Date: Jan 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks... sweeks for posting the link to this.
Reply With Quote
  #263  
Old 04-15-2009, 05:51 PM
smirkley smirkley is offline
 
Join Date: Apr 2008
Posts: 627
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smirkley View Post
I am in the process of trying to track down any conflicts that may be causing or conflicting here, and I hope to have more info soon as possible. I will post here if I find something out.
Well, I have on my production forum tested with ALL hacks disabled individually as well as all at once, with exception to this one, and the problem persists.

I am at wits end, and do not find any conflicts, etc.

Dont know what else to do.
Reply With Quote
  #264  
Old 04-28-2009, 12:19 PM
Classico Classico is offline
 
Join Date: Dec 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smirkley View Post
Love this hack.

Great when needing to log into dummy accounts with different usergroups to verify proper operation of features while not an admin.


I have a (appearing) small problem though as I get an error I have verified as a result of this mod being installed, and problem goes away if I disable this mod, and comes back when re-enabled. All other mods I am using do not provide this fault in my testing.

I see this while NOT logged in as another user, as of course I am accessing the admin cp using my admin account.

With this mod (ver.3.10) installed and enabled, and using vb3.8.1 PL1, go to the admin CP and click on "Add New User" under the "Users" sidebar menu.

The Add New User page is rendered ok, but at the top this is shown...
Code:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/admincp/user.php(544) : eval()'d code on line 11

Any help appreciated.
Thanks.
Quote:
Originally Posted by smirkley View Post
Anybody else with this problem too?
I notice the error reproduces itself in admincp as well as modcp.
Same problem here with 3.8.2! I have the same message error when i try to create a new user.

That is a problem with this mod.

Any solution?
Reply With Quote
  #265  
Old 05-04-2009, 02:35 AM
carmichael1973's Avatar
carmichael1973 carmichael1973 is offline
 
Join Date: Aug 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Classico View Post
Same problem here with 3.8.2! I have the same message error when i try to create a new user.

That is a problem with this mod.

Any solution?
I'm right there with everyone else. I've used similar hacks for a long time and use it regularly. I'll look into it myself tomorrow.

Nice work though!!
Reply With Quote
  #266  
Old 05-04-2009, 02:44 AM
carmichael1973's Avatar
carmichael1973 carmichael1973 is offline
 
Join Date: Aug 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok... the problem is inside this plugin code!

PHP Code:
$admin_log_in_as_userinfo $vbulletin->db->query_first("SELECT admin_log_in_as_user FROM " TABLE_PREFIX "administrator WHERE userid = '" $vbulletin->userinfo['userid'] . "'");

if (
$admin_log_in_as_userinfo['admin_log_in_as_user'])
{
    
$quicklinks array_merge(
        
$quicklinks,
        array(
            
"../member.php?" $vbulletin->session->vars['sessionurl'] . "do=getinfo&u=" $vbulletin->GPC['userid'] . "&admin_log_in_as_user=" $vbulletin->GPC['userid']
                => 
$vbphrase['log_in_as_user']
        )
    );

I'll get into it tomorrow and see what the issue is!

But here is a work around for now... "This will only remove the ability to login as member from admincp"

Disable the plugin for the admincp link - (see attached image)
Reply With Quote
  #267  
Old 05-04-2009, 07:47 PM
Classico Classico is offline
 
Join Date: Dec 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by carmichael1973 View Post
Disable the plugin for the admincp link - (see attached image)
Just did it and the error is gone "with the wind".

Thanks for the help and i?ll be wainting for the upgrade when you have the time. :up:

This is a great mod!
Reply With Quote
  #268  
Old 05-07-2009, 02:18 PM
chrisbeau chrisbeau is offline
 
Join Date: May 2007
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working good for me, but can it be altered to stop admin using it on other admin, or supermods using it on admin ?
Reply With Quote
  #269  
Old 05-10-2009, 05:25 PM
islamicvd islamicvd is offline
 
Join Date: Feb 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

really great update
Reply With Quote
  #270  
Old 05-22-2009, 10:10 PM
djvj djvj is offline
 
Join Date: May 2009
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used this on vb 3.6.4 and worked great. Upgraded forum to 3.8.2 and upgraded this plugin to latest.

I found selection in the user page in the admin cp (and works fine) but I can't find the option to 'login as user' in the user's profile page on 3.8.2. Is it still there?
Reply With Quote
  #271  
Old 05-23-2009, 07:08 PM
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Location: MSK-RU
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djvj View Post
I found selection in the user page in the admin cp (and works fine) but I can't find the option to 'login as user' in the user's profile page on 3.8.2. Is it still there?
Check the product's options. There is such setting there.
Reply With Quote
Reply

Thread Tools

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 09:23 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.05109 seconds
  • Memory Usage 2,314KB
  • Queries Executed 28 (?)
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
  • (1)bbcode_php
  • (6)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_postinfo_query
  • fetch_postinfo
  • 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