Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x 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: 2.2.x Rating:
Released: 06-13-2002 Last Update: Never Installs: 99
 
No support by the author.

Hi
this hack allows admins to login as any user they want. In the Adminpanel you´ll have a link in the "edit user"-screen which allows you to login as the user. Good for testing and finding errors that the user reports etc

Only 1 File to edit (admin/user.php)
Installationtime: < 5 minutes

Show Your Support

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

Comments
  #62  
Old 02-26-2003, 12:12 PM
Grunt Grunt is offline
 
Join Date: Aug 2002
Location: TN
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

worked like a champ on 2.27 - no problems whatsoever using just the hack from the posted text file
Reply With Quote
  #63  
Old 03-04-2003, 11:01 AM
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack. Works perfectly. Sure makes my job much simpler at times.
Reply With Quote
  #64  
Old 03-04-2003, 01:41 PM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is great.. thnx man.. I have done it manualy many times when users have problems I reset their password and login as them then they change password.. its just a mess


now I can login with a user's name and still stay on as admin
thats cool


only think if you could explain a little more on how to make it used by admin 1 only not any other admins and that will be great


thanks again ..... INSTALLED
Reply With Quote
  #65  
Old 03-07-2003, 12:12 PM
TranceMaster TranceMaster is offline
 
Join Date: Mar 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works perfect man
thank you
Reply With Quote
  #66  
Old 04-30-2003, 01:12 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was logged in as another admin and tried out the feature again, then when it went to the logout screen it didn't work properly because /admin/ was in the directory.
Reply With Quote
  #67  
Old 05-16-2003, 09:29 PM
Courage Courage is offline
 
Join Date: Feb 2002
Location: Romania
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I canno use this on vb 2.3.0

When I try to login as a user i get a violet vb page..
Reply With Quote
  #68  
Old 05-24-2003, 08:55 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh - me to! Please rebuild it for 2.3!
Reply With Quote
  #69  
Old 06-17-2003, 08:11 PM
reismarktq2 reismarktq2 is offline
 
Join Date: Feb 2003
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me clicks install.

Courage/gmarik: It's working fine on my 2.3.0...
Reply With Quote
  #70  
Old 07-04-2003, 03:25 AM
DannyBoy8406's Avatar
DannyBoy8406 DannyBoy8406 is offline
 
Join Date: Apr 2003
Location: VA
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems to work fine, I had no porblems installing this at all, but when I click the link to login as the user this is the message I get:

Quote:
Warning: Cannot add header information - headers already sent by (output started at /home/wb-devotions.com/html/admin/adminfunctions.php:19) in /home/wb-devotions.com/html/admin/functions.php on line 1667

Warning: Cannot add header information - headers already sent by (output started at /home/wb-devotions.com/html/admin/adminfunctions.php:19) in /home/wb-devotions.com/html/admin/functions.php on line 1667

Warning: Cannot add header information - headers already sent by (output started at /home/wb-devotions.com/html/admin/adminfunctions.php:19) in /home/wb-devotions.com/html/admin/functions.php on line 1667

Warning: Cannot add header information - headers already sent by (output started at /home/wb-devotions.com/html/admin/adminfunctions.php:19) in /home/wb-devotions.com/html/admin/functions.php on line 1667

Warning: Cannot add header information - headers already sent by (output started at /home/wb-devotions.com/html/admin/adminfunctions.php:19) in /home/wb-devotions.com/html/admin/functions.php on line 1667
Reply With Quote
  #71  
Old 07-04-2003, 03:53 AM
DannyBoy8406's Avatar
DannyBoy8406 DannyBoy8406 is offline
 
Join Date: Apr 2003
Location: VA
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nevermind.....

Quote:
Try adding the "if ($action=="loginas"){" - Code before "cpheader();" at the beginning of the file (near line 42)
thx Hotte
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 11:18 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.06733 seconds
  • Memory Usage 2,297KB
  • Queries Executed 25 (?)
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_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
  • (3)pagenav_pagelink
  • (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_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