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)

TheFrienzNet 01-12-2007 04:03 PM

Wow thanks.

Takamine334 01-15-2007 05:45 PM

Hey, very cool add-on! Thank you abe1 :)

dennysperez 01-16-2007 03:42 PM

This is not working for me on v3.6.3. When I click the option "Log in as this user" on the user management page, in my admin cp, I just get a login window to my forum. I enter my login info, but it doesn't take it. :( I would really appreciate how to fix this, since I'm having some issues with a mod that I need to correct.

Abe1 01-16-2007 04:02 PM

I would have to check on your forum. I dont know why. It should work. Are you using a diff url then you have set in you acp?

Comp 01-16-2007 07:34 PM

Quote:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/user.php(464) : eval()'d code on line 9
I have this problem .. What can I do ?

Abe1 01-16-2007 07:59 PM

Quote:

Originally Posted by Comp (Post 1160873)
I have this problem .. What can I do ?

Problem with PHP5. I have to come up with a new version to fix it.

Spank 02-01-2007 04:46 PM

Great hack, I can see this coming in useful if a member reports something wrong we can check if it's there user account. Of course we'd never dream of using this to play nasty jokes. =D

One issue though if I login as Member A and then click on my Admin username it takes me to Member A's profile. Probably won't cause a problem, just thought I'd let you know.

StrifeX 02-01-2007 08:14 PM

Looking good, an extremely similar version of Cyb's login as user then right? :)

Abe1 02-02-2007 01:42 AM

Quote:

Originally Posted by Spank (Post 1172248)
Great hack, I can see this coming in useful if a member reports something wrong we can check if it's there user account. Of course we'd never dream of using this to play nasty jokes. =D

One issue though if I login as Member A and then click on my Admin username it takes me to Member A's profile. Probably won't cause a problem, just thought I'd let you know.

I know about that. Didn't think it was worth trying to fix.

Abe1 02-02-2007 01:44 AM

Quote:

Originally Posted by StrifeX (Post 1172461)
Looking good, an extremely similar version of Cyb's login as user then right? :)

I think I released this first. Also, I think there is a little more security here.

Nathan2006 02-02-2007 07:44 AM

Thank you for the 3.6x update Abe :)

Install

rnmcd 02-05-2007 01:11 PM

So, is it possible that the actual user will notice that someone else logged into their account?

Abe1 02-12-2007 12:09 PM

Quote:

Originally Posted by rnmcd (Post 1175200)
So, is it possible that the actual user will notice that someone else logged into their account?

No.

princeedward 02-12-2007 07:59 PM

clicked install bro....great hack... thanks for this... ;)

bagfullofrice 03-05-2007 08:56 PM

For some reason this mod doesn't work for me. I've added the template modifications, and I've installed the product, with overwrite on. The option to login as a user is just not there. :(

Deimos 03-05-2007 09:25 PM

I'm getting the same thing, I think it's since the upgrade to the latest version of VB

Abe1 03-05-2007 09:45 PM

You have to make sure you are a super admin. Check your config file.

blind-eddie 03-06-2007 02:26 AM

oops

JakeS 03-06-2007 09:45 AM

Anyone else get this after installing hack and going to add new user?

Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/user.php(464) : eval()'d code on line 9
Because it appears to be this mod which is causing this for me.

Abe1 03-06-2007 11:10 AM

Quote:

Originally Posted by JakeS (Post 1197002)
Anyone else get this after installing hack and going to add new user?

Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/user.php(464) : eval()'d code on line 9
Because it appears to be this mod which is causing this for me.

This is because you have PHP5. I keep forgetting to release an update. I'll try ASAP.

JakeS 03-06-2007 11:13 AM

Quote:

Originally Posted by Abe1 (Post 1197031)
This is because you have PHP5. I keep forgetting to release an update. I'll try ASAP.

:eek: how did you know I had php 5.2.0?

Abe1 03-06-2007 11:46 AM

Quote:

Originally Posted by JakeS (Post 1197032)
:eek: how did you know I had php 5.2.0?

Your not the first with this problem.

drew010 03-07-2007 08:55 AM

i found this one bug by accident, but if i log in as a user and then delete them from the admin cp, if i go back to the forum without logging out everything is backwards (right to left reading) and lots of things don't show up. no big deal but just thought id post it. not sure if this was mentioned earlier, if so sorry, i just read the last few pages.

Abe1 03-07-2007 01:08 PM

Quote:

Originally Posted by drew010 (Post 1197819)
i found this one bug by accident, but if i log in as a user and then delete them from the admin cp, if i go back to the forum without logging out everything is backwards (right to left reading) and lots of things don't show up. no big deal but just thought id post it. not sure if this was mentioned earlier, if so sorry, i just read the last few pages.

Is it really worth trying to fix??

Does it effect anything really in the long run?

JakeS 03-13-2007 08:27 AM

Quote:

Originally Posted by Abe1 (Post 1197031)
This is because you have PHP5. I keep forgetting to release an update. I'll try ASAP.

You remembered yet :D?

Distance 03-13-2007 09:50 AM

I had to recently downgrade my php back to 4.4.4

causing lots of problems.

Is this usual behaviour.. I am logged in as another user, i browse to a page but when i click log back in as admin it taks me back to index.php with

index.php?[sessionurl]&log_out_admin_log_in_as_user=true at the end of my domain in the URL bar.

Josh

Abe1 03-13-2007 12:27 PM

Quote:

Originally Posted by Distance (Post 1202368)
I had to recently downgrade my php back to 4.4.4

causing lots of problems.


Is this usual behaviour.. I am logged in as another user, i browse to a page but when i click log back in as admin it taks me back to index.php with

index.php?[sessionurl]&log_out_admin_log_in_as_user=true at the end of my domain in the URL bar.

Josh

wont effect anything.

Black Tiger 03-14-2007 04:44 PM

Ah nice, I had used such hack in 3.0.x and I'm glad you made it for 3.6.x too, thanks!

groeken 03-17-2007 10:13 PM

Hello Abe1,
i've got a question to your great mod.
Well, I want to use this hack for support issues like 'i cant change my signature" or "there is no link, really". I thought it would be great if I or a other admin could see what the user see.
So I made some changes in the php-code (i hope it's okay?) to allow the user group "admins" to use the mod.

Now I've got a question. In Germany their are so many laws... their forbid a lot of things like to dirsturb the privacy of other poeple.. When i want to use the Hack as a support-feature i need something like agreement with the user that allows a admin to use the mod.

So my idea was to change the link in the memberinfo and in the ACP user profile to "Get Authorization".. When the admin uses this link the user will get a question at the top of the forum where he allows the admin to use the hack. After the user give his agreement in the ACP the link will change from "Get Authorization" to "log in as user".. maybe their could else be a little info at the ACP start-page.

I know their are a few changes needed to realize it, but would it be possible to realize it with your hack?

groeken

Abe1 03-17-2007 11:43 PM

Quote:

Originally Posted by groeken (Post 1205884)
Hello Abe1,
i've got a question to your great mod.
Well, I want to use this hack for support issues like 'i cant change my signature" or "there is no link, really". I thought it would be great if I or a other admin could see what the user see.
So I made some changes in the php-code (i hope it's okay?) to allow the user group "admins" to use the mod.

Now I've got a question. In Germany their are so many laws... their forbid a lot of things like to dirsturb the privacy of other poeple.. When i want to use the Hack as a support-feature i need something like agreement with the user that allows a admin to use the mod.

So my idea was to change the link in the memberinfo and in the ACP user profile to "Get Authorization".. When the admin uses this link the user will get a question at the top of the forum where he allows the admin to use the hack. After the user give his agreement in the ACP the link will change from "Get Authorization" to "log in as user".. maybe their could else be a little info at the ACP start-page.

I know their are a few changes needed to realize it, but would it be possible to realize it with your hack?

groeken

I'll think about it.

Za4a Tuner 03-30-2007 05:13 PM

Quote:

Originally Posted by groeken (Post 1205884)
I want to use this hack for support issues like 'i cant change my signature" or "there is no link, really".
Now I've got a question. In Germany their are so many laws... their forbid a lot of things like to dirsturb the privacy of other poeple.. When i want to use the Hack as a support-feature i need something like agreement with the user that allows a admin to use the mod.

Why do it by so a hard way?
Ask the User for his password -> log in with the correct password -> and if evrything is done ... send a pn to the user to change his password.


another question to this "law-problem"
What's about an option, wich will send a PN to the user, that an admin has logged into his account?
for example (A -> Admin / U -> User)
A loge into the account of U =>
nothing will happen =>
A log out -> send a PN to U ==> A has logged into your account
Can this be realized? Maybe with an option to set this option ON or OFF?

Doctor Death 04-01-2007 09:41 PM

What a great mod, works perfectly.

foulplay 04-04-2007 08:33 AM

Any Fix yet for PHP5?? Those arrays keep coming up when trying to add new users.

Abe1 04-06-2007 02:16 PM

Version 2.1 (04/06/07):
  • Fixed header template edit.
  • array_merge problem for php5 users fixed

aj8690 04-06-2007 02:23 PM

Thanks for the update. :)

RS_Jelle 04-06-2007 02:35 PM

Nice update :)

Maybe a suggestion for a future release: don't show the login link in your own profile.

BANDiT600 04-06-2007 02:52 PM

Quote:

Originally Posted by Abe1 (Post 1221093)
Version 2.1 (04/06/07):
  • array_merge problem for php5 users fixed

What was the problem, could you explain lil' bit more?

Abe1 04-06-2007 02:58 PM

Quote:

Originally Posted by BANDiT600 (Post 1221118)
What was the problem, could you explain lil' bit more?

Some error users were getting when creating a new user.

Abe1 04-06-2007 02:59 PM

Quote:

Originally Posted by RS_Jelle (Post 1221101)
Nice update :)

Maybe a suggestion for a future release: don't show the login link in your own profile.

Does it really make a diff?

foulplay 04-07-2007 10:51 PM

Awesome! THanks for the PHP5 fix! Works perfect now!:)


All times are GMT. The time now is 07:48 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.01496 seconds
  • Memory Usage 1,824KB
  • 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
  • (2)bbcode_code_printable
  • (16)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
  • (40)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