Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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

Version: 3.5.4 Rating:
Released: 05-11-2006 Last Update: 05-14-2006 Installs: 250
Uses Plugins Template Edits
 
No support by the author.

Admin Log In As User 1.2


About this hack:
This hack allows a SUPER ADMIN (settings in your config file) 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 NO options. Just install and it's ready to be used!

Enjoy!

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

Version 1.0 (05/12/06):
  • Release

Version 1.1 (05/12/06):
  • [ADDED] Link added to the drop down menu in ACP User Manager

Version 1.2 (05/15/06):
  • [CHANGED] This hack does not effect the ACP
  • [CHANGED] Session does not update (so will not show up online location)
  • [FIXED] Made a template edit so hack is compatible with 'vbSEO'
  • [CHANGED] Last activity time does not update now

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.


This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.

Supporters / CoAuthors

Show Your Support

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

Comments
  #52  
Old 05-14-2006, 04:42 AM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I found a fix for vbseo people, since Abe1 doesn't really care nor has the time to find a fix himself, no offence or anything Abe1. I love the mod you made and well hopefully this will help all people who use vbSEO

When you use this mod, it will say
"This user has not registered and therefore does not have a profile"

Simply ignore it and click on your forum home button and you will be logged in as them.

All I did was add this in my memberinfo template, instead of the code Abe1 had in the instructions.

Quote:
<!-- Start Admin Log In As User -->
</if>
<if condition="$show_admin_log_as_user_link">
<td class="vbmenu_control"><a href="member.php?admin_log_in_as_user=$userinfo[userid]">$vbphrase[log_in_as_user]</a></td>
<!-- End Admin Log In As User -->
I hope that helps all vbseo people
Reply With Quote
  #53  
Old 05-14-2006, 04:58 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
You can add the following by hand to ANY link. These are GLOBAL commands.

To log in as a user:
?admin_log_in_as_user=$useridofuseryouwanttologina s

To log out:
?log_out_admin_log_in_as_user=true

I added ?admin_log_in_as_user=$xxx (where xxx is the userid) after several links, but each time, all it did was log me out and that was it.

Or was I meant to do it differently?
Reply With Quote
  #54  
Old 05-14-2006, 12:20 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like the concept but its open to abuse and a trusting admin.

Can the mod be changed so that when a admin is logged in as another user, the user in question username says something like "Admin Logged in as - username" and if a admin makes a post as this user it says the username as well.

This was there is no confusion on who's posts are who's and shows online who is who when logged in.

Laters
Reply With Quote
  #55  
Old 05-14-2006, 12:27 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337
I added ?admin_log_in_as_user=$xxx (where xxx is the userid) after several links, but each time, all it did was log me out and that was it.

Or was I meant to do it differently?
Sounds like you did it right. Not sure why it wouldn't work.
Reply With Quote
  #56  
Old 05-14-2006, 02:15 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FreshFroot
Well I found a fix for vbseo people, since Abe1 doesn't really care nor has the time to find a fix himself, no offence or anything Abe1. I love the mod you made and well hopefully this will help all people who use vbSEO
I don't know why you say 'doesn't really care'. I actully do care and it's on the list to try to figure out what was wrong. The way I see you did this fix, looks like I have a solution. Try this though. Instead of it going to member.php change that to index.php. What do you get then?

For thoughs of you who would like to know a status update on the next release, it will so far include 1) Hack only applies for forum. The ACP does not get affected. 2) The sesstions are no longer updated.

I'm working hard to get the online not to update but there are some problems. This is what is holding me back from and update. I've been working on it for hour already.
Reply With Quote
  #57  
Old 05-14-2006, 09:34 PM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
I don't know why you say 'doesn't really care'. I actully do care and it's on the list to try to figure out what was wrong. The way I see you did this fix, looks like I have a solution. Try this though. Instead of it going to member.php change that to index.php. What do you get then?

For thoughs of you who would like to know a status update on the next release, it will so far include 1) Hack only applies for forum. The ACP does not get affected. 2) The sesstions are no longer updated.

I'm working hard to get the online not to update but there are some problems. This is what is holding me back from and update. I've been working on it for hour already.
Thanks for the update Abe1 and again thanks for making this mod. I wasn't trying to insult you and if I did I am sorry about it. Please take your time on the update, no rush here

Thanks.
Reply With Quote
  #58  
Old 05-14-2006, 09:45 PM
corn dog's Avatar
corn dog corn dog is offline
 
Join Date: Oct 2005
Location: Sydney, Australia
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This has to be the best modification I have ever installed
Reply With Quote
  #59  
Old 05-14-2006, 10:04 PM
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Location: Germany, Berlin
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

thx for this hack. *installed*

It is possible to hide the "Log In As This User" in MEMBERINFO if I look my own profile?

Regards, Stoebi
Reply With Quote
  #60  
Old 05-15-2006, 12:14 AM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BIG BIG Thank you Abe

This will be very useful for sorting out members problems that they are having around the board.

Now I can easily login as them and find out whats wrong

Install
Reply With Quote
  #61  
Old 05-15-2006, 02:45 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 1.2 (05/15/06):
  • [CHANGED] This hack does not effect the ACP
  • [CHANGED] Session does not update (so will not show up online location)
  • [FIXED] Made a template edit so hack is compatible with 'vbSEO'
  • [CHANGED] Last activity time does not update now
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:26 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.10319 seconds
  • Memory Usage 2,314KB
  • Queries Executed 26 (?)
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
  • (5)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