Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Admin Log In As User Details »
Admin Log In As User
Mod Version: 3.0, by Abe1 (Coder) Abe1 is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.x Rating: (69 votes - 4.80 average) Installs: 988
Released: 03 Aug 2006 Last Update: 28 Oct 2007 Downloads: 3434
Not Supported Uses Plugins Template Edits  

Admin Log In As User 3.0


PLEASE CLICK ON THIS LINK TO DOWNLOAD AND FOR SUPPORT FOR THIS HACK: http://www.vbulletin.org/forum/showthread.php?t=168819

Version 3.0 was created for both vb3.6 and vb3.7. I will no longer give support in this thread for this hack. Please click 'install' in the vb3.7 section for notifications about updates.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Admin Log In As User Abe1 vBulletin 3.5 Add-ons 154 31 Dec 2009 12:09
Only Show IP:Logged if user is admin or supermod, and disable Post report by user Fallout2man vBulletin 2.x Full Releases 32 30 Jul 2002 01:20

  #31  
Old 27 Aug 2006, 03:06
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Originally Posted by Abe1
One of the teplate edits.
Sorry Abe1

Admin Log In As User version 2.0

FOR UPGRADE AND FRESH INSTALLATIONS!

1) Import product-abe1_admin_log_as_user.xml into PRODUCTS. Allow Overwrite "YES" (admincp -> Plugin System -> Manage Products -> [Add/Import Product])

2) Do the template edits

in header:

find:
--------------------------------------------------------------------
<!-- logo -->
--------------------------------------------------------------------

BEFORE place this:
--------------------------------------------------------------------
<!-- Start Admin Log In As User -->
<if condition="$_REQUEST['admin_log_in_as_user'] OR $_COOKIE[COOKIE_PREFIX . 'admin_log_in_as_user']">
<div align="center" style="color: red; background-color: white; border: 1px solid black; padding:2px"><a href="$vboptions[forumhome].php$session?[sessionurl]&amp;log_out_admin_log_in_as_user=true">$vbphrase[admin_log_out_as_user]</a></div>
</if>
<!-- End Admin Log In As User -->
--------------------------------------------------------------------



in MEMBERINFO:

find:
--------------------------------------------------------------------
<td class="vbmenu_control"><a href="infraction.php?$session[sessionurl]do=report&amp;u=$userinfo[userid]">$vbphrase[give_infraction]</a></td>
--------------------------------------------------------------------

AFTER place this:
--------------------------------------------------------------------
<!-- Start Admin Log In As User -->
</if>
<if condition="$show_admin_log_as_user_link">
<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]u=$userinfo[userid]&amp;admin_log_in_as_user=$userinfo[userid]">$vbphrase[log_in_as_user]</a></td>
<!-- End Admin Log In As User -->
--------------------------------------------------------------------

Done.
None sessionid


Regards, Stoebi
Reply With Quote
  #32  
Old 27 Aug 2006, 03:15
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
sorry, sessionurl in the header.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #33  
Old 27 Aug 2006, 05:00
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Originally Posted by Abe1
sorry, sessionurl in the header.
Thx a lot Abe1

Originally Posted by Ninth Dimension
When I log in as a user, and try to view someone elses member profile page, it only shows the page of the person you're logged into. I realise this might not be the most important thing that needs fixing, but I figured I'd let you know anyway.
I can't reproduce it. I've logged in as testuser for example and i can see the member profile page from the other registered user (blabla, stoebi, tester) on my test forum.

Edit:
I can reproduce it only if i want to see the profile pages from admins.

For example:
Webmaster = Admin
Webmaster logged in as Stoebi
As Stoebi i want to see the profile page from me (Webmaster), and i see my own profile page (Stoebi not the page from Webmaster)

Another example:
Stoebi is now Superadministrator and is logged in as user blabla, but as user blabla now i can't view the profile page from Stoebi and Webmaster.
I see my own profile page (blabla)


Regards, Stoebi

Last edited by Stoebi; 27 Aug 2006 at 05:34.
Reply With Quote
  #34  
Old 27 Aug 2006, 13:11
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by Stoebi
Thx a lot Abe1



I can't reproduce it. I've logged in as testuser for example and i can see the member profile page from the other registered user (blabla, stoebi, tester) on my test forum.

Edit:
I can reproduce it only if i want to see the profile pages from admins.

For example:
Webmaster = Admin
Webmaster logged in as Stoebi
As Stoebi i want to see the profile page from me (Webmaster), and i see my own profile page (Stoebi not the page from Webmaster)

Another example:
Stoebi is now Superadministrator and is logged in as user blabla, but as user blabla now i can't view the profile page from Stoebi and Webmaster.
I see my own profile page (blabla)


Regards, Stoebi
Do you need to log in as another user just to see your profile page?
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #35  
Old 27 Aug 2006, 13:30
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Real name: Daniel Hollands
I've tred adding a $ to the start of [sessionurl], but it then just shows $[sessionurl] in the URL. Are you sure it's not meant to be something like $something[sessionurl], maybe $_SESSION[sessionurl] or something like that?
__________________
Daniel Hollands - http://theworldofdan.co.uk/
Interactive Story Site - http://unknowntales.net/
TheICE.co.uk Network - http://theice.co.uk/
Arathor Realm Forums - http://arathor.net/
Reply With Quote
  #36  
Old 27 Aug 2006, 14:21
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Originally Posted by Abe1
Do you need to log in as another user just to see your profile page?
You need to logged in as Abe1 for example to your ACP.
Then log in as another User, for example Testuser and try to look at your (Abe1) profile.


Originally Posted by Ninth Dimension
I've tred adding a $ to the start of [sessionurl], but it then just shows $[sessionurl] in the URL. Are you sure it's not meant to be something like $something[sessionurl], maybe $_SESSION[sessionurl] or something like that?
My HEADER, it works fine now:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Regards, Stoebi

Last edited by Stoebi; 27 Aug 2006 at 14:30.
Reply With Quote
  #37  
Old 27 Aug 2006, 15:00
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Real name: Daniel Hollands
Stoebi, much better, thank you
__________________
Daniel Hollands - http://theworldofdan.co.uk/
Interactive Story Site - http://unknowntales.net/
TheICE.co.uk Network - http://theice.co.uk/
Arathor Realm Forums - http://arathor.net/
Reply With Quote
  #38  
Old 28 Aug 2006, 16:47
darksoulz darksoulz is offline
 
Join Date: Jul 2005
Location: Lochbuie, CO
I'm not sure what's not working right, but in our case when you click the link to login as a different user, we get the header line saying we are logged in as the other user and click to log back in to our account. But everything else is showing up like we're not logged in at all most of the time. It seems to randomly show it as logged in as that user sometimes, but most of the time not. The only thing I can think of is maybe a conflict with another addon? Cant think of what it could be though.
Reply With Quote
  #39  
Old 30 Aug 2006, 23:03
PassLab.net's Avatar
PassLab.net PassLab.net is offline
 
Join Date: Aug 2006
Real name: Findukcu
perfect, installed
Reply With Quote
  #40  
Old 31 Aug 2006, 07:26
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Real name: André
It does still not work - and i have updated today. I can use a other Account but if i click on "Private Messages" the System wants me to log in. :/
Reply With Quote
  #41  
Old 31 Aug 2006, 08:13
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Originally Posted by redlabour
It does still not work - and i have updated today. I can use a other Account but if i click on "Private Messages" the System wants me to log in. :/
I can't reproduce it, tested with php 4 and php 5. Cookies are cleared before testing? It sometimes helps with such strange behavior.


Regards, Stoebi
Reply With Quote
  #42  
Old 31 Aug 2006, 13:49
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Real name: André
Originally Posted by Stoebi
I can't reproduce it, tested with php 4 and php 5. Cookies are cleared before testing? It sometimes helps with such strange behavior.


Regards, Stoebi
Yes, Problem appears with IE6 and IE7 and FF.

And as is see now it allways happens and not only after klicking on the PM.
Reply With Quote
  #43  
Old 31 Aug 2006, 20:55
NeonG NeonG is offline
 
Join Date: Apr 2006
Can Admins see the Links (like "Login as X) ?
Reply With Quote
  #44  
Old 16 Sep 2006, 20:43
The-Ensemble's Avatar
The-Ensemble The-Ensemble is offline
 
Join Date: Jul 2006
Real name: Jaymes
Does this give you free reign in their account? so you can use their account post, read pm etc?
Reply With Quote
  #45  
Old 17 Sep 2006, 03:59
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by NeonG
Can Admins see the Links (like "Login as X) ?
Only super admins.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 19:06.

Layout Options | Width: Wide Color: