vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Admin Log In As User (https://vborg.vbsupport.ru/showthread.php?t=122939)

Howell 12-27-2007 09:16 PM

This is working on vB 3.7.0_beta_3 however I changed the template edit for the user profile page to show up on the new version

In MEMBERINFO

FIND:
PHP Code:

<if condition="can_moderate()">
                        <
li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
                    </if> 

AFTER ADD:
PHP Code:

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


Chimpie 12-27-2007 11:23 PM

Nice. Worked perfectly!

bollie 12-28-2007 08:41 AM

Quote:

Originally Posted by Howell (Post 1410341)
This is working on vB 3.7.0_beta_3 however I changed the template edit for the user profile page to show up on the new version

In MEMBERINFO

FIND:
PHP Code:

<if condition="can_moderate()">
                        <
li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
                    </if> 

AFTER ADD:
PHP Code:

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


Quote:

Originally Posted by Rageem (Post 1410127)
Yes, it's working in 3.7.

I used it in my forum;)

thanks ;)

thefullmaza 12-30-2007 06:25 PM

thank you

Alibass 12-30-2007 07:19 PM

Quote:

Originally Posted by Howell (Post 1410341)
This is working on vB 3.7.0_beta_3 however I changed the template edit for the user profile page to show up on the new version

Thanks for sharing, works great on 3.7b3 :)

cajunboy2208 01-17-2008 08:23 PM

Very nice mod
Thank you

Kinneas 01-22-2008 01:07 PM

Quote:

Originally Posted by Howell (Post 1410341)
This is working on vB 3.7.0_beta_3 however I changed the template edit for the user profile page to show up on the new version

In MEMBERINFO

FIND:
PHP Code:

<if condition="can_moderate()">
                        <
li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
                    </if> 

AFTER ADD:
PHP Code:

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


Haha, I'd just done that myself and was on my way here to share the info. Looks like you beat me to it :)

stwilson 01-23-2008 02:34 AM

It doesn't appear that this is working on 3.7B4. The on/off option does not appear in Usergroups, nor does it show in a User Manager panel.

Kinneas 01-23-2008 06:32 AM

Quote:

Originally Posted by stwilson (Post 1427043)
It doesn't appear that this is working on 3.7B4. The on/off option does not appear in Usergroups, nor does it show in a User Manager panel.

All the options are there for me. I upgraded from 3.6.8 to 3.7B4.

Howell 01-23-2008 05:54 PM

Quote:

Originally Posted by stwilson (Post 1427043)
It doesn't appear that this is working on 3.7B4. The on/off option does not appear in Usergroups, nor does it show in a User Manager panel.

It doesn't appear in 'Usergroups'

This option is in AdminCP -> Usergroups -> Administrator Permissions -> Can Log in as Another User yes/no

You need to have permissions to see it in User manager panel don't forget.

:cool:


All times are GMT. The time now is 11:08 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.01535 seconds
  • Memory Usage 1,769KB
  • 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
  • (6)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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