![]() |
Admin Log In As User
Admin Log In As User 3.0 PLEASE CLICK ON THIS LINK TO DOWNLOAD AND FOR SUPPORT FOR THIS HACK: https://vborg.vbsupport.ru/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. |
Does this record the IP of the Superadmin as well or will this be 'invisible'?
Will this list / add this user to the active user list? |
Quote:
|
Is it possible to change the color of the text or background for the logged in wording as per center pic please?
|
Quote:
|
Just to let you know you forgot to close a url tag in the header
currently is Code:
<!-- Start Admin Log In As User --> Code:
<!-- Start Admin Log In As User --> |
for those who prefer "manual" way of doing things, here's an idea.
1. duplicate the 'adminstrator' group. don't format your title. just make it look like the registered user group. but give administrative permission. 2. register/make a new nick and put this under the newly created admin group. so it will look as if there is no admin online because u will appear like any other user. there you go. secret, undercover admin. ;) |
Quote:
|
Quote:
|
Quote:
|
When I jump on my test board into the admin panel and want to add a new (test) user I get the following error:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/user.php(461) : eval()'d code on line 9 This is a clean vB3.6.0 fresh install, no hacks, no addons, this is the first one |
Quote:
|
I will be installing this tomorrow, great idea, I often have the problem of members not knowing how to do something, so this will help lots.
Great hack. |
Quote:
it happens with php 5 (here 5.1.1) installed. I've read the function array_merge() goes another way, but which? Regards, Stoebi |
@abe1; Thanks :)
|
Quote:
|
installed, thanks :)
|
Quote:
Replace the content of the hook useradmin_edit_start with: PHP Code:
Regards, Stoebi |
LOL Wow I can see this one getting abused more than a $2 hooker.
|
Quote:
|
Quote:
|
Quote:
Thanks again for this hack, Abe1 :) |
Nice hack, thank you very much, although I think there is a problem with it.
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. /installed Oh, and one more thing, I don't know if this is important or not, but the link you click to log back in as yourself looks like this: index.php?[sessionurl]&log_out_admin_log_in_as_user=true (note: [sessionurl]). It still works as it's meant to (I think), but this didn't look right. |
Quote:
I'm not sure I understand the first problem. |
Quote:
thx Abe1 for a new update, but i can't find any changes. :( Regards, Stoebi |
Quote:
|
Quote:
If I log in as one of my members, then view their profile page (say http://theice.co.uk/member.php?u=77 for example), then it'll show their info. But if I view my own profile page while logged in as one of my members (in this case http://theice.co.uk/member.php?u=1), rather than showing my info, it shows the info of the person I'm logged in as. Anyway, I don't supose its all that important, I thought I'd just let you know. Oh, and if you fix the [sessionid] thing, let me know (or have you already? and if so, do you just import the product and overwrite?) |
Quote:
|
Quote:
Where i can find sessionid, because i didn't find the word sessionid in Instructions.txt and product-abe1_admin_log_as_user.xml, only sessionurl? Regards, Stoebi |
Quote:
|
Quote:
Quote:
Regards, Stoebi |
sorry, sessionurl in the header.
|
Quote:
Quote:
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 |
Quote:
|
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?
|
Quote:
Then log in as another User, for example Testuser and try to look at your (Abe1) profile. Quote:
Code:
find: Regards, Stoebi |
Stoebi, much better, thank you :)
|
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.
|
perfect, installed
|
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. :/
|
All times are GMT. The time now is 06:05 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|