vb.org Archive

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

Toxic2 12-16-2009 01:41 PM

Downloaded and installed to test on RC-4.

Vaupell 12-17-2009 12:59 PM

Redownloaded installed, and runs fine on rc 4 with all hook locations back.

Delilahs 12-17-2009 07:10 PM

just re-installed the product, overwriting the old one and it works again.

elwachiman 12-17-2009 08:34 PM

Quote:

Originally Posted by MikalMirkas (Post 1929500)
This mod doesn't work on vBulletin Release Candidate 2.

CONFIRMED THIS MOD DOES NOT WORK IN RC2 AND NOT SEE THE LINK OF THIS YOU log in as user,, USER PROFILES ..

sebaldus 12-18-2009 07:43 AM

Quote:

Originally Posted by bart6767 (Post 1931474)
This works ok on vBulletin? Version 4.0.0 Release Candidate 4

Happy Days

Yepp, It works just fine..
Thanks..
Sebaldus..:up:

fariborz khan 12-20-2009 01:22 PM

Thanks , this works fine on vBulletin Release Candidate 4

bart6767 12-21-2009 10:38 PM

Update .

This works well with VB4 GOLD

Gnoll 12-25-2009 01:10 PM

This is against privacy , isnt this ? if not 5 star from me :)

Nadeemjp 12-26-2009 12:36 AM

i have read the instructions, but i cant find the option to set myself as the user of this hack in the admin usergroup permissions.

what should be done?

Nadeemjp 12-26-2009 12:38 AM

ok my bad, found those in edit admin permissions list.

kf4eok 12-26-2009 02:04 AM

great idea
installed thanks

grahamsmythe 12-26-2009 02:14 AM

I've installed this, and the option to log in as someone else shows up on ACP, but not in their profile on the 'normal' forum as per the instructions.

I'm running Gold v4 PL1.

Anyone else suffering this problem?

Tize. 12-27-2009 10:21 AM

Installed work 100% in vB 4.0 gold.
Thank you very much mate.

kylek 12-28-2009 01:58 AM

Installed on 4.00 Patch level 1 - can log in as user but when you click on text to log out as the user, nothing happens. Have to hit log out button and then log back in as myself.

fayax 12-28-2009 02:28 AM

This could be the best mod written so far. Thanks Abe.

MOTM nomination as well. ;)

SemperFideles 12-31-2009 09:20 PM

Quote:

Originally Posted by kylek (Post 1939923)
Installed on 4.00 Patch level 1 - can log in as user but when you click on text to log out as the user, nothing happens. Have to hit log out button and then log back in as myself.

I'm having the same problem.

KevinGupta 01-03-2010 03:07 AM

Quote:

Originally Posted by SemperFideles (Post 1943616)
I'm having the same problem.

No I just installed it and it's working fine for me :)

Toxic2 01-03-2010 04:37 AM

Abel, can you explain what I need to do here? Once I see this Error, it auto disables the Mod.
I am using a Sytyle (Simple Black as default, would that make a difference, or there are 3 Admins but I only tried to give my self Permission and in config PhP I am the Only #1 and no added admins to the config.php. any Ideas?

I get this error when I give myself permission in the edit admin then save. and then the below error.

Code:

Database error in vBulletin 4.0.0:

Invalid SQL:
SELECT admin_log_in_as_user FROM administrator WHERE userid = '1';
Database error in vBulletin 4.0.0:

Invalid SQL:
UPDATE administrator SET
        ### Bitfield: administrator.adminpermissions ###
                adminpermissions = IF(adminpermissions & 4, adminpermissions, adminpermissions + 4),
                adminpermissions = IF(adminpermissions & 8, adminpermissions, adminpermissions + 8),
                adminpermissions = IF(adminpermissions & 16, adminpermissions, adminpermissions + 16),
                adminpermissions = IF(adminpermissions & 32, adminpermissions, adminpermissions + 32),
                adminpermissions = IF(adminpermissions & 64, adminpermissions, adminpermissions + 64),
                adminpermissions = IF(adminpermissions & 128, adminpermissions, adminpermissions + 128),
                adminpermissions = IF(adminpermissions & 256, adminpermissions, adminpermissions + 256),
                adminpermissions = IF(adminpermissions & 512, adminpermissions, adminpermissions + 512),
                adminpermissions = IF(adminpermissions & 1024, adminpermissions, adminpermissions + 1024),
                adminpermissions = IF(adminpermissions & 2048, adminpermissions, adminpermissions + 2048),
                adminpermissions = IF(adminpermissions & 4096, adminpermissions, adminpermissions + 4096),
                adminpermissions = IF(adminpermissions & 8192, adminpermissions, adminpermissions + 8192),
                adminpermissions = IF(adminpermissions & 16384, adminpermissions, adminpermissions + 16384),
                adminpermissions = IF(adminpermissions & 65536, adminpermissions, adminpermissions + 65536),
                adminpermissions = IF(adminpermissions & 131072, adminpermissions, adminpermissions + 131072),
                adminpermissions = IF(adminpermissions & 262144, adminpermissions, adminpermissions + 262144),
                adminpermissions = IF(adminpermissions & 524288, adminpermissions, adminpermissions + 524288),
                adminpermissions = IF(adminpermissions & 1048576, adminpermissions, adminpermissions + 1048576),
        blogpermissions = 3,
        vbcmspermissions = 3,
        admin_log_in_as_user = 1,
        cssprefs = 'vBulletin_3_Silver',
        dismissednews = '70,74,79,81,83,84,86,88,90,91'
WHERE userid = 1;

MySQL Error  : Unknown column 'admin_log_in_as_user' in 'field list'
Error Number  : 1054

Thanks for your help in Advance

UpFriends 01-05-2010 01:27 AM

I'm a big fan of this mod. Thank you.

albibak 01-05-2010 06:22 PM

1 Attachment(s)
Abe1,

Thanks for the mod
Please, find in attachment the french translation
You can find the french topic for this mod here: http://forum.vbulletin-fr.org/modifi...te-utilisateur

kylek 01-08-2010 08:57 PM

Well just tried this again reinstalling and the link to log in as user in the profile does nothing, but going through the admincp works. But once logged on as user the only way to log out is to use the forums log out and not by clicking on the text that says click to log out. Using 4.0 PL1

ShadowStalker 01-09-2010 06:06 PM

Installed on Test Site, works perfectly. Once I am sure it works with all my other add-ons and I put this on my live site I will click installed.

kersti 01-10-2010 11:01 AM

Quote:

Originally Posted by Gnoll (Post 1937957)
This is against privacy , isnt this ? if not 5 star from me :)

It's much better than the previous option which was to get your user to give you their password. I use it when a user wants help with something or is complaining about something that I just can't see. Guns don't kill people, people kill people.

kersti 01-10-2010 11:17 AM

Works perfectly on 4.0 PL1

SemperFideles 01-10-2010 06:14 PM

Quote:

Originally Posted by kylek (Post 1939923)
Installed on 4.00 Patch level 1 - can log in as user but when you click on text to log out as the user, nothing happens. Have to hit log out button and then log back in as myself.

Quote:

Originally Posted by SemperFideles (Post 1943616)
I'm having the same problem.

I suspect I might be like other users who are experiencing this problem and use vBSEO. It turns out that the two Mods interfere with one another. In this case. vBSEO is re-writing the URL in the Member Profile and Header Template changes.

The workaround is as follows:

1. Make a copy of your member.php file and call is admember.php
2. Go in to your vBSEO control panel (General Settings -> vBSEO Options) and place admember.php in the Excluded Pages block.
3. Edit the templates added by this Mod to call admember.php instead of member.php. (The easiest way to find these templates is to install the Advanced Product Management product and this will allow you to modify the Master Templates).

kylek 01-10-2010 06:53 PM

Thank you!!!

It works fine now, never thought of a conflict between vbseo and this.

Followed your directions and all is fine and the log out links work like they should.

Thanks again!

iacas 01-10-2010 07:24 PM

Been using this successfully for a week or so. One problem: I logged in as someone who was sending some spam, and then in another browser tab deleted that user before I was able to log out of that account.

Successive attempts to view the forum at all resulted in errors. I was finally able to re-set things by copying a log out URL from another computer (I probably also could have deleted browser cookies), but it may be prudent to auto-log-out of a user if they're logged in as a user that doesn't exist.

tazattitude 01-10-2010 10:51 PM

I'm sure this will be very handy to have.
Thank you!!!!
Marked installed and voted

KEKforce 01-12-2010 09:14 PM

This mod isnt compatible with 4.0.1 I just discovered.
No more link in profile page.

Alibass 01-13-2010 01:07 AM

Mod still works with 4.0.1, access via admincp/users/search for users if you need to login in as a user until Able1 can make a fix.

Neptun 01-13-2010 02:45 PM

i have a problem with this hack in vb 4.0.1

when i have installed the hack its there in the ACP wenn i do the user search - i can login in from there - but i can not log out again - or also the problem in the forum i can not login to the user because the link is not in the profil

all the rights are okay for my admin user - where is the problem ?!

please update this hack ! because it is very usefull and great !

LifesGreatestGift 01-13-2010 04:18 PM

Ive noticed a few issues with the upgrade.

https://vborg.vbsupport.ru/showthread.php?t=232957

Deirdre 01-13-2010 09:21 PM

No problems except for the link not appearing on the profile (only in the admin panel)

Alibass 01-13-2010 09:23 PM

Quote:

Originally Posted by Neptun (Post 1954493)
i have a problem with this hack in vb 4.0.1

when i have installed the hack its there in the ACP wenn i do the user search - i can login in from there - but i can not log out again - or also the problem in the forum i can not login to the user because the link is not in the profil

all the rights are okay for my admin user - where is the problem ?!



please update this hack ! because it is very usefull and great !

I am running 4.0.1 and cannot confirm your issue. It works like it is suppose to from the admincp for me. Are you sure a second window is not opening when you login in as a different user?

LifesGreatestGift 01-13-2010 09:50 PM

1 Attachment(s)
vBulletin 4.0.1 Fix

Manual Fix

Go to Plugin Manager
Open plugin Admin Login As User member_complete

https://vborg.vbsupport.ru/external/2012/06/5.png

Find:
PHP Code:

$template_hook['profile_right_first'] .= $tab_html


Replace With:
PHP Code:

$template_hook['profile_sidebar_first'] .= $tab_html


Save and enjoy!

OR

Automatic Fix

Download Attachment
Extract
Import Product (Be sure to select Yes for Allow Overwrite)

Enjoy!

Vaupell 01-13-2010 10:45 PM

tx win7site. :D

Deirdre 01-14-2010 02:06 AM

Thanks a bunch!

carrlos 01-14-2010 02:44 AM

Thanks for the fix, TheWindows7Site! :up:

ti07shadow 01-14-2010 02:57 AM

umm after I upgraded to 4.0.1 it stopped showing the link and I even reinstalled it and gave myself the permission to use it....

LifesGreatestGift 01-14-2010 04:31 AM

4.0.1 fix on previous page :)


All times are GMT. The time now is 11:52 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.01585 seconds
  • Memory Usage 1,825KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (8)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
  • (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