vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Admin Log In As User (https://vborg.vbsupport.ru/showthread.php?t=115351)

FreshFroot 05-14-2006 04:42 AM

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 :D

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 ;)

Hornstar 05-14-2006 04:58 AM

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?

The Realist 05-14-2006 12:20 PM

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

Abe1 05-14-2006 12:27 PM

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.

Abe1 05-14-2006 02:15 PM

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 :D

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.

FreshFroot 05-14-2006 09:34 PM

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.

corn dog 05-14-2006 09:45 PM

This has to be the best modification I have ever installed :)

Stoebi 05-14-2006 10:04 PM

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

Nathan2006 05-15-2006 12:14 AM

BIG BIG Thank you Abe:D

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:cool:

Install

Abe1 05-15-2006 02:45 AM

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


All times are GMT. The time now is 08:17 AM.

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.01205 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete