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)

carrlos 02-14-2009 06:38 PM

Definitely works in 3.8.1. But this is the code you must search for in MEMBERINFO (it doesn't use "can_moderate()"):
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>

;)

DobieGillis? 02-23-2009 07:29 PM

Noice! Installed and working fine.

Teresa 02-24-2009 08:20 PM

The main reason I installed this one was to try to login as one my admins/mods to check to make sure what they could and couldn't do in admin.

I don't think that worked. When I clicked into admin, I believe I was still logged in as me.

Is that possible?

pappocapo 03-01-2009 04:24 AM

installed

Thanks! :)

smirkley 03-13-2009 08:43 PM

Love this hack.

Great when needing to log into dummy accounts with different usergroups to verify proper operation of features while not an admin.


I have a (appearing) small problem though as I get an error I have verified as a result of this mod being installed, and problem goes away if I disable this mod, and comes back when re-enabled. All other mods I am using do not provide this fault in my testing.

I see this while NOT logged in as another user, as of course I am accessing the admin cp using my admin account.

With this mod (ver.3.10) installed and enabled, and using vb3.8.1 PL1, go to the admin CP and click on "Add New User" under the "Users" sidebar menu.

The Add New User page is rendered ok, but at the top this is shown...
Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/admincp/user.php(544) : eval()'d code on line 11

Any help appreciated.
Thanks.

smirkley 03-30-2009 02:13 AM

Quote:

Originally Posted by smirkley (Post 1767449)
I have a (appearing) small problem though as I get an error I have verified as a result of this mod being installed, and problem goes away if I disable this mod, and comes back when re-enabled. All other mods I am using do not provide this fault in my testing.

I see this while NOT logged in as another user, as of course I am accessing the admin cp using my admin account.

With this mod (ver.3.10) installed and enabled, and using vb3.8.1 PL1, go to the admin CP and click on "Add New User" under the "Users" sidebar menu.

The Add New User page is rendered ok, but at the top this is shown...
Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/admincp/user.php(544) : eval()'d code on line 11


Anybody else with this problem too?
I notice the error reproduces itself in admincp as well as modcp.

falconKing 03-30-2009 02:35 AM

Quote:

Originally Posted by smirkley (Post 1767449)
Love this hack.

Great when needing to log into dummy accounts with different usergroups to verify proper operation of features while not an admin.


I have a (appearing) small problem though as I get an error I have verified as a result of this mod being installed, and problem goes away if I disable this mod, and comes back when re-enabled. All other mods I am using do not provide this fault in my testing.

I see this while NOT logged in as another user, as of course I am accessing the admin cp using my admin account.

With this mod (ver.3.10) installed and enabled, and using vb3.8.1 PL1, go to the admin CP and click on "Add New User" under the "Users" sidebar menu.

The Add New User page is rendered ok, but at the top this is shown...
Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/admincp/user.php(544) : eval()'d code on line 11

Any help appreciated.
Thanks.

Quote:

Originally Posted by smirkley (Post 1780115)
Anybody else with this problem too?
I notice the error reproduces itself in admincp as well as modcp.

Same problem with 3.8.1 PL1 here.
FYI, the full error code, in my case, is:

Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/admincp/user.php(544) : eval()'d code on line 11

I visited this thread thinking that a fix for this bug is readily available, but alas :(
Hoping Abe1 reads our posts, we await for salvation in agony :( :p

Sweeks 03-30-2009 11:33 AM

Please update ASAP :)
________
Public Amateur

Raptor 03-30-2009 09:54 PM

works great in vb 3.8.1 pl1 - thanks :)

falconKing 03-31-2009 03:21 AM

Quote:

Originally Posted by Raptor (Post 1780658)
works great in vb 3.8.1 pl1 - thanks :)

Just try to add a new user from your CP, and see what happens ;)


All times are GMT. The time now is 06:00 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.01523 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_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