vb.org Archive

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

zatzy 11-08-2008 01:42 PM

There is no
<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>

in the templates on vb 3.7.4

Abe1 11-12-2008 01:36 AM

Quote:

Originally Posted by htscpl (Post 1661108)
I really liked this mod and it was working on 3.7.2 but I've just moved to an new server with PHP 5.26 and it quit working. I have now upgraded to 3.7.3 but others say it works with the newer version so I don't think that is the problem.

I get this error code when I try to switch over to another user:
Code:

Unable to add cookies, header already sent.
File: /home/***/public_html/***/vbulletin/includes/class_core.php
Line: 3243

Any ideas as to the cause and fix?

Nope. I would need to to check your acp.

Abe1 11-12-2008 01:37 AM

Quote:

Originally Posted by zatzy (Post 1661784)
There is no
<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>

in the templates on vb 3.7.4

Look for something similar.

Hitterman 11-12-2008 11:05 AM

When we login in as any user, why does the last online data not updated? Can you fix this?

newtsys 11-28-2008 04:42 PM

Quote:

Originally Posted by zatzy (Post 1661784)
There is no
<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>

in the templates on vb 3.7.4



use this:
Find in MEMBERINFO:
Code:

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

and replace with this:

Code:

<if condition="$show['edit_profile']">
                                                        <li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
                                                </if>
<!-- Start Admin Log In As User -->
$admin_log_in_as_user_link
<!-- End Admin Log In As User -->
                                        </ul>
                                </if>


Jinovich 12-08-2008 10:45 PM

2 things,

Needs to be made so it can bypass the password expiry message on other peoples accounts, and on the same screen (your password has expired....) the logout link is missing.

dismas 12-24-2008 04:11 AM

Quote:

Originally Posted by newtsys (Post 1674640)
use this:
Find in MEMBERINFO:
Code:

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

and replace with this:

Code:

<if condition="$show['edit_profile']">
                                                        <li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
                                                </if>
<!-- Start Admin Log In As User -->
$admin_log_in_as_user_link
<!-- End Admin Log In As User -->
                                        </ul>
                                </if>


Thanks for that! :):up:

Merrit 12-31-2008 02:13 PM

I am using vB 3.7.4 with USFTech Style. Mod install worked well and I can login as a user, but I don't see the link ob top of the forum "You are currently logged in as another user...."

I seems to be an issue with the style I use, any idea how to fix this?

Thx in advance!

OK I am blind ...and stupid. There is a link, but it is white on white background... I need to figure out how to change colour?

sateurope 01-11-2009 09:10 AM

This wil not work with 3.8 version Option to activate admin is not showing

phsycical 01-12-2009 12:32 AM

Does this work with vBulletin 3.8?


All times are GMT. The time now is 11:21 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.01337 seconds
  • Memory Usage 1,751KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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