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
  #32  
Old 06-15-2002, 10:32 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Before :

PHP Code:
if ($action=="loginas"){ 
IMO, This Hack is great for helping newer users - Some new users want to upload Custom Avatars etc, but dont have a clue as to how...

I know you can do it via the CP, but it is bland and boring that way

It can also be useful, because with one hack, you can read ALL the User's PMs, and delete their messages etc...

It isnt very reassuring to know that an Admin can login as you, so thats why I would only give access to this to Userid=1 (me)...Most likely I would never use it for practical reasons, but at least I have the chance to, and users dont have to worry about other admins doing it...

Satan
Reply With Quote
  #33  
Old 06-15-2002, 12:08 PM
Hotte Hotte is offline
 
Join Date: Oct 2001
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When the users don´t trust the admin, why are they still registered at your board? This hack helps much, if you use the vbulletin-permission system with own 3rd party scripts but with standard errorreportings from users too. In my case i´ve over 190 forums in my vbulletin with many permission-settings. If I change something there, it is very usefull to check the perms if they are working as intended. And yes, my users know about that and they have nothing against it.
(hope the translationservice has done acceptable work with this post.... )
Reply With Quote
  #34  
Old 06-15-2002, 02:11 PM
plattopus plattopus is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It could be good to test hacks etc with other members' settings without having to demote yourself to Registered and changing your own settings.

Good job.
Reply With Quote
  #35  
Old 06-15-2002, 03:18 PM
Lovaboye Lovaboye is offline
 
Join Date: Apr 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Hotte

This error seems to occur, if a board doesn?t use gzip.
YES i have to enable gzip! Thx it works perfectly!
Reply With Quote
  #36  
Old 06-15-2002, 07:41 PM
malc malc is offline
 
Join Date: Oct 2001
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Hotte

Do you have copied the complete "if ($action=="loginas"){"-Part before cpheader();?
Make sure that you move
PHP Code:
if ($action=="loginas"){
    
$user=$DB_site->query_first("SELECT password FROM user WHERE userid='$userid'");
    
vbsetcookie("bbuserid","",1);
      
vbsetcookie("bbpassword","",1);
    
vbsetcookie("sessionhash","",1);
    
vbsetcookie("bbuserid",$userid);
    
vbsetcookie("bbpassword",$user[password]);
    
Header("Location: ../index.php");

before cpheader();
This error seems to occur, if a board doesn?t use gzip.
thanks works finely
Reply With Quote
  #37  
Old 06-15-2002, 08:55 PM
Lovaboye Lovaboye is offline
 
Join Date: Apr 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok it seems that that probs fixed, but its time for the only allow a certain admin feat ure to be fixed. Did anyone test it with success? Cause i did, and bummer! No luck?????????
Reply With Quote
  #38  
Old 06-16-2002, 12:42 AM
DRnetman86 DRnetman86 is offline
 
Join Date: Dec 2001
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does it work with 2.2.5?
Reply With Quote
  #39  
Old 06-16-2002, 10:17 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by DRnetman86
does it work with 2.2.5?

yes as long as you enable GZIP (found in vbulletin options part of the CP)
Reply With Quote
  #40  
Old 06-16-2002, 12:11 PM
sphinx sphinx is offline
 
Join Date: Dec 2001
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I nstalled and works fine,it I had a problem where my mods couldn't see the staff and used this hack to check everything nice hack m8
Reply With Quote
  #41  
Old 06-16-2002, 02:06 PM
Lovaboye Lovaboye is offline
 
Join Date: Apr 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok it seems that that probs fixed, but its time for the only allow a certain admin feature to be fixed. Did anyone test it with success? Cause i did, and bummer! No luck?????????
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:27 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.04691 seconds
  • Memory Usage 2,307KB
  • 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_php
  • (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
  • (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