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 - VSa - Login To User Account (https://vborg.vbsupport.ru/showthread.php?t=233350)

zipperty 05-29-2010 04:52 PM

Working fine here on vBulletin 4.0.3 Patch Level 1 - thanks for such a useful Mod a++

Wajdan 06-08-2010 03:49 PM

Agree, works great on 4.0.3PL1

odln018 06-24-2010 09:15 PM

Exactly what I was looking for, thank you!!!

100 06-25-2010 05:20 AM

Hello

I got a fatal error and I could not enter again until the Member files after you delete the MOD also

Please help me

my vBulletin Version 4.0.4

Code:

Checking if a package is enabled for an invalid package '3' on line 392 in /home/*****/public_html/vb/vb/types.php
#0 /home/*****/public_html/vb/vb/router.php(503): vB_Types->packageEnabled('3')
#1 /home/*****/public_html/vb/vb/router.php(566): vB_Router::assertRoutes()
#2 /home/*****/public_html/vb/vb/route.php(231): vB_Router::getRouteSegmentFromClass('vBCms_Route_Lis...')
#3 /home/*****/public_html/vb/packages/vbcms/route/list.php(92): vB_Route->__construct()
#4 /home/*****/public_html/vb/member.php(567): vBCms_Route_List::getURL(Array)
#5 {main}


Fatal error: Checking if a package is enabled for an invalid package '3' on line 392 in [path]/vb/types.php in [path]/vb/vb.php on line 287

#0 vb_error_handler(256, Checking if a package is enabled for an invalid package '3' on line 392 in /home/*****/public_html/vb/vb/types.php , /home/*****/public_html/vb/vb/vb.php, 287, Array ([exception] => vB_Exception_Warning Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Checking if a package is enabled for an invalid package '3',[] => ,[] => 0,[]


and more

100 06-25-2010 06:02 AM

Quote:

Originally Posted by 100 (Post 2059215)
Hello

I got a fatal error and I could not enter again until the Member files after you delete the MOD also

Please help me

my vBulletin Version 4.0.4

Code:

Checking if a package is enabled for an invalid package '3' on line 392 in /home/*****/public_html/vb/vb/types.php
#0 /home/*****/public_html/vb/vb/router.php(503): vB_Types->packageEnabled('3')
#1 /home/*****/public_html/vb/vb/router.php(566): vB_Router::assertRoutes()
#2 /home/*****/public_html/vb/vb/route.php(231): vB_Router::getRouteSegmentFromClass('vBCms_Route_Lis...')
#3 /home/*****/public_html/vb/packages/vbcms/route/list.php(92): vB_Route->__construct()
#4 /home/*****/public_html/vb/member.php(567): vBCms_Route_List::getURL(Array)
#5 {main}


Fatal error: Checking if a package is enabled for an invalid package '3' on line 392 in [path]/vb/types.php in [path]/vb/vb.php on line 287

#0 vb_error_handler(256, Checking if a package is enabled for an invalid package '3' on line 392 in /home/*****/public_html/vb/vb/types.php , /home/*****/public_html/vb/vb/vb.php, 287, Array ([exception] => vB_Exception_Warning Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Checking if a package is enabled for an invalid package '3',[] => ,[] => 0,[]


and more

Quote:

Originally Posted by sgfish (Post 2059220)
why do we want to login as members account? i dont understand..

for reports about spams and bad users

behnam 07-04-2010 01:16 PM

it worked for me after installation but after couple of days, when i click on Log In As User link it comes back to page but im still in my self account
please guide me, its really useful for me

behnam 07-04-2010 01:42 PM

Quote:

Originally Posted by sgfish (Post 2059220)
why do we want to login as members account? i dont understand..

first of all, we asked q for answer so please if you reply, just talk about this topic & dont topic off

2nd: i have a commercial forum & there are some users who joined the forum for commercial use (something like a +++++ in satellite equipment) so i really need to check them continually.

i hope it will be enough to understand the reason!

tcarr9 07-06-2010 08:32 PM

I find this quite useful when testing a new skin, because I can log on as somebody who hasn't logged on in ages so that I can see the "unread posts" icons.

SUGGESTION: Would it be possible to have something similar for "not logged in at all"? I'm currently fighting a bug with the header and the remember_me checkbox, which means I'm constantly having to log in to the admincp to try a tweak, then go to the forum and log out then go to the main forum page, to check to see if my latest tweak had any effect at all.

fulviods 07-08-2010 07:30 AM

works perfectly on 4.0.4 :) thanks!!!!!!! A question: could it be used by moderators?

Valter 07-08-2010 04:53 PM

Just add their IDs...

promet 07-15-2010 01:08 PM

nice one installed and voted.

nci 08-06-2010 04:24 AM

Quote:

Originally Posted by sgfish (Post 2059220)
why do we want to login as members account? i dont understand..

One of the way to checkmate spammers.

I once have one that created 86 secret albums and some send unsolicited p.m to other members.

surfer2124 08-06-2010 12:29 PM

This works great via firefox, but I am having issues in IE8. I have tried clearing the cahe and still have an issue.

Once I click login as user I have to close IE and reopen my site to be logged in as the user. Once I do that I see the green bar at the top stating I am logged in as USER-X. If I do a refresh nothing happens and if I reload the page via bookmark I get an error.

Any siggestions?

Thanks for an awesome hack

Bunni U 08-10-2010 06:31 PM

Does this mod introduce any new security holes as a result of the integrated assume user permission system?

DirkD 08-22-2010 08:30 PM

Tested in 4.0.6. Works great for me ! Thanks, this makes my life easier.

ShadowStalker 08-22-2010 08:35 PM

Experiencing this error whenever I try editing a members information I remember it being a problem in 3.8 so I will go take a look through that thread.

Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/modcp/user.php(348) : eval()'d code on line 30
Just to confirm that it is this mod I disabled it and I don't get the error, whenever it is enabled I do.

adg44 10-08-2010 01:23 PM

Perfect - just what I was looking for.

Thanks,

- Anthony

biggazillakilla 11-09-2010 05:26 PM

This is great! Extremely helpful. It's pretty annoying not being able to answer questions from members about why they can't post, download, etc.; this hack makes it much easier to troubleshoot.

Minor (?) thing--I was able to use this mod with Chrome yesterday on a different (XP) machine; on this (Windows 7) machine, nothing happens in Chrome when I click Log In As User. It works fine in Firefox, though (even on this machine).

Thanks! I have a couple of your hacks installed, and they are extremely helpful and practical.

biggazillakilla 11-09-2010 05:28 PM

Quote:

Originally Posted by sgfish (Post 2059220)
why do we want to login as members account? i dont understand..

There are MANY situations. A simple example--yesterday, a member said that he could not send PMs. I installed this hack to troubleshoot the error. Turned out that there was nothing wrong with the forum or his account. (I actually don't know why the problem occurred, but I was at least able to verify for myself that he could use the PM system.)

Basically, vBulletin, especially if you add hacks, has myriad combinations of permissions that make it difficult to know exactly what will happen on the users' side of things. With this hack, you can test various accounts to see whether they can use the various functions of the forum.

Frondy 12-04-2010 07:41 AM

There is many minor bugs, so I diseble it, and enable it only when need it. (as biggazillakilla use it)
(One of it: opening someons profile, there is no avatar nor custom picture, can see it only in own profile)
It works on VB4.1.0 PL2

Martini-man 12-04-2010 05:26 PM

I think this Mod doesn't work on v4.1, at least for me. When I try to put the users ID in the permissions, they aren't saved.

Giray 12-07-2010 08:50 AM

Stopped working on 4.1 :eek: Shame. Very useful to check permissions. Hope to see a fix :o

DustyJoe 12-07-2010 03:36 PM

Installed on 4.1.0 PL2 and works great..

THANKS!!

Frondy 12-07-2010 03:50 PM

Quote:

Originally Posted by DustyJoe (Post 2130476)
Installed on 4.1.0 PL2 and works great..

THANKS!!

Can you see now meber`s avatar in User Profile? (not yours)

chrisdaman 12-08-2010 08:14 PM

For me it works in 4.1, but when you view a user profile it doesn't show their avatar or profile pic. Had to uninstall.

Dr.osamA 12-15-2010 11:40 PM

not working on vb 4.1.0

where is update bro ???

waiting ........

OldSchoolDSL 12-17-2010 10:07 PM

Installed on 4.1 PL2

1) I didn't see the little notice above telling me I was logged in as someone else

2) Clicking the "Set Admins" link, inside the AdminCP option... seems to point no where.

But other then that, it did work. The only way I could find away to log out of being the other user... Was to log out of the site, then back in as myself.

But it still does its job.

GeorgeB85 12-17-2010 10:11 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2135596)
Installed on 4.1 PL2

1) I didn't see the little notice above telling me I was logged in as someone else

2) Clicking the "Set Admins" link, inside the AdminCP option... seems to point no where.

But other then that, it did work. The only way I could find away to log out of being the other user... Was to log out of the site, then back in as myself.

But it still does its job.

Don't know what but something is wrong some where, as I don't have any of the issues you are describing.

OldSchoolDSL 12-17-2010 11:00 PM

Quote:

Originally Posted by GeorgeB85 (Post 2135599)
Don't know what but something is wrong some where, as I don't have any of the issues you are describing.

https://vborg.vbsupport.ru/attachmen...3&d=1267146274

For me, the link there which reads "Set Admins"

Points to

forums/misc.php?do=vsaltua_set

Clicking that link give me a BLANK page

And I do not see this....

https://vborg.vbsupport.ru/attachmen...0&d=1267146251

Everything else seems to work. So I'm not worried about it.

OldSchoolDSL 12-17-2010 11:14 PM

Nevermind.... Seems that the little notice bar does work. But it was the theme which was preventing it from showing.

However the "Set Admins" link there still points no place.

MISTER2 12-18-2010 05:39 PM

Having issues with some users, and usergroups not working. However can't pinpoint the issue...it is across multiple usergroups, but not all users from those usergroups.

Edit: Found that once I was given the ability to "log in to admin users" it was working.
However prior to having this access the users that it wasn't working on were 100% NOT admin users.

Seems like a bug with the limit of access to login to admin usergroups, for usergroups that are NOT really admins.

3.0.5 installed
vB 4.0.8

SOSkr 12-18-2010 06:56 PM

To fix go to plugin "VSa - Login To User Account - AS" and remplace

PHP Code:

    eval('$vsaltua_canset = in_array($vbulletin->userinfo[userid], array(' $vbulletin->config['SpecialUsers']['superadministrators'] . '));'); 

for

PHP Code:

    eval('$vsaltua_canset = in_array($vbulletin->userinfo[userid], explode(","' $vbulletin->config['SpecialUsers']['superadministrators'] . '));'); 


Peter Cook 01-20-2011 03:46 PM

Valter is probably the best addon creator here :) good Job :)

horussjr 01-20-2011 07:30 PM

can you make this work for usergroup not users?

MrD 01-26-2011 08:55 AM

Hi,
i think, that if an Admin is logged in as User, they are not show on whoĆ­s online and not Logged in the Profil as last visit.
I mean Abe1 Addon do this.

slipkot 01-26-2011 02:09 PM

I am using vb 4.1.1 and when this addon is active and i am at forum/misc.php i take this error:

Code:

Parse error: syntax error, unexpected T_LNUMBER in /path_to_forum/forum/misc.php(89) : eval()'d code(958) : eval()'d code on line 1
This is also happening with "VSa - Visitors In Last X Hours." and "VSa - ChatBox (AJAX)." Any updates?

Boofo 02-08-2011 09:20 AM

I am getting the following error when I edit a signature in the modcp. It shows up after the click to save the signature. If I disable the useradmin_edit_start hook code then the error goes away. Any ideas on how to fix this?

Quote:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/modcp/user.php(348) : eval()'d code on line 29
I figured out the fix for this error. This line:

Code:

$quicklinks = array_merge($quicklinks, array("../member.php?" . $vbulletin->session->vars['sessionurl'] . "do=vsa_loginasuser&u=" . $vbulletin->GPC['userid'] => $vbphrase['vsa_ltua_title'],));
needs to be changed to this since there is only one entry:

Code:

$quicklinks[
        "../member.php?" . $vbulletin->session->vars['sessionurl'] . "do=vsa_loginasuser&u=" . $vbulletin->GPC['userid']
] = $vbphrase['vsa_ltua_title'];


Laurent42 02-24-2011 12:38 PM

Quote:

Originally Posted by slipkot (Post 2154874)
I am using vb 4.1.1 and when this addon is active and i am at forum/misc.php i take this error:

Code:

Parse error: syntax error, unexpected T_LNUMBER in /path_to_forum/forum/misc.php(89) : eval()'d code(958) : eval()'d code on line 1
This is also happening with "VSa - Visitors In Last X Hours." and "VSa - ChatBox (AJAX)." Any updates?

I have the same problem on vb 4.1.2 :(
Is there a fix?

(btw installed and nominated)

vitrag24 02-24-2011 12:55 PM

"Admins able to use product " in this option i need to write userid or no of admin?

Valter 02-25-2011 08:18 PM

UserID.


All times are GMT. The time now is 05: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
  • Page Generation 0.01528 seconds
  • Memory Usage 1,836KB
  • 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
  • (7)bbcode_code_printable
  • (2)bbcode_php_printable
  • (10)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