Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Login as User Details »»
Login as User
Version: 1.00, by Hotte Hotte is offline
Developer Last Online: Jan 2006 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-02-2004 Last Update: Never Installs: 180
 
No support by the author.

what it does:
this hack allows you to login as any user from the admincp.

files to edit:
1 (admincp/user.php)

installation time:
< 5 minutes

Edit: added an option to restrict this hack to certain userids

Show Your Support

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

Comments
  #162  
Old 03-24-2006, 08:28 PM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A ha I found it, thanks Paul!

Now I tried it but it says i dont have permission, and Im the administrator!

Sorry, you don't have permission to access the administrative controls on this page.

If you need to access this page, ask your lead administrator to enable your permissions for this page using the Administrator Permissions section of the control panel.

Doug

Update... I did not know about having to enter the user id to be allowed to use this feature, now i know.
Reply With Quote
  #163  
Old 03-24-2006, 08:31 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<removed, no longer relevant>
Reply With Quote
  #164  
Old 03-24-2006, 08:33 PM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul,

Your too quick for me, please see my previous reply with the edited information.

I figure out the dont have permissions things as well.

I wasnt aware that I had to enter in the user id numbers for the users i want to allow to use this feature.

Doug
Reply With Quote
  #165  
Old 03-24-2006, 09:00 PM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Amy,

Is there anyway to code this feature to allow me to login as a specific user where it will NOT show the user logged in?

Id like to be able to login as a user without it effecting their cookies, last visit, read messages, and etc.

I dont want it to leave any evidence that I was ever in their account if this is possible to do.

Thanks

Doug
Reply With Quote
  #166  
Old 03-25-2006, 05:13 AM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Id like to make a suggestion for this feature.

How about instead of this feature restricting access by user id, how about have this feature HIDDEN from certain user id's or by user groups? Either or both?

I think that that would be better. Out of sight out of mind if you know what I mean?

Anyone who doesnt have the privelage of using this feature shouldnt even be able to see it or know about it in the first place.

Doug
Reply With Quote
  #167  
Old 04-11-2006, 07:21 PM
bobc973 bobc973 is offline
 
Join Date: Jan 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having this problem after install, everything seemed ok until I went to log in as a user and get this error :

Fatal error: Call to a member function on a non-object in /home/xxxxxx/public_html/forum/admincp/user.php on line 56

which appears to be this line (but maybe it isn't this line) :
$user = $DB_site->query_first("SELECT userid,password,usergroupid FROM " . TABLE_PREFIX . "user WHERE userid='".$_REQUEST['userid']."'");

Logged in as admin when running and the lic# is correct.
Reply With Quote
  #168  
Old 05-01-2006, 11:30 AM
Parker Clack Parker Clack is offline
 
Join Date: Oct 2001
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting the same error message.

Parker
Reply With Quote
  #169  
Old 05-17-2006, 01:03 AM
Mikecp421's Avatar
Mikecp421 Mikecp421 is offline
 
Join Date: Sep 2005
Location: NY
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I got it to work but now it doesn't automatically sign in with the users password. it goes to the sign in screen
Reply With Quote
  #170  
Old 05-28-2006, 12:34 PM
wertis wertis is offline
 
Join Date: Dec 2005
Location: lithuania
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

notice: license number - not a customer number or customer password. we can find license number on top of vb file (eg. user.php)
Reply With Quote
  #171  
Old 05-28-2006, 07:01 PM
TehPetl's Avatar
TehPetl TehPetl is offline
 
Join Date: Feb 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im broke...

Fatal error: Call to a member function on a non-object in ...\admincp\user.php on line 48

:S
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 05:43 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.04508 seconds
  • Memory Usage 2,299KB
  • Queries Executed 27 (?)
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)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
  • (2)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