![]() |
Clear browser cache and forum cookies, then try again. Target user name should be displayed in message box.
FF|SkyPirate, You are currently using Cybernetec's account. Click here to go back to your admin account. |
I just found a bug:
in modcp when super moderator go to view user's profile he gets this error: Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/modcp/user.php(348) : eval()'d code on line 29 this error appear when viewing this page: http://www.yoursite.com/forum/modcp/user.php?do=viewuser&u=xxx were xxx is the user id or by going - in modcp - Users -> Search for Users -> then type user name -> [View Profile] and there it is. hope you could fix that ASAP. thanks -Cyp for all your great work :) |
This has nothing with the ModCP.
Try disabling your installed hacks one by one to find which one causes errors. |
I did, they I disabled them all one by one and it was this hack.
I even disabled them all and enabled only this hack and got the error. if I disable it everything is normal and no error appears. I'm sure it's from this hack because I installed this hack in my test forum and the error occurred after I installed it, when I disable it the error is gone. I even installed it in another fresh forum in my localhost with no other hack beside it (only this hack installed in the fresh forum) maybe this hack has nothing to do with the ModCP, but it definitely has something to do with useradmin_edit_start hook. the line 348 in the user.php file is: PHP Code:
NOTE: this error appears only if I look for another user than me (the admin I mean) if I view my profile as an admin via modcp nothing appears and everything is normal. but if I view another users profile, the error is there. does anyone else has this error in this way? can anyone confirm please? |
if I on a user acc to log in want come myself the message: Kottos, You are currently using Kottos's account. Click here to go back to your admin account. . which wrong I make
cu kottos |
Quote:
work arond: go in to plugins and disable the cyb - log in to user account EU - useradmin_edit_start i have no issue with this mod so unsure if that will work |
Quote:
for your work around, I'm afraid if I disable the cyb - log in to user account EU - useradmin_edit_start the mod won't work properly. although I don't use this mod much, but it's really great one. and now I have it disabled till Cybernetec come up with a fix if possible. |
thanks a lot..
its awesome plugin |
Quote:
|
A Few problems I'm running into.
1 - If I login to an account it will give me a redirect loop error. (I'm Using VBSEO) Pressing back page will then have me log into the user account. 2 - While using the user account, if I log into the admincp I will then be logged in the site as my name with the option of going back to the admin account. 3 - Lastly, trying to go back to the admin account will have the same error as #1. |
installed this on 3.8.3 and doesn't seem to be any issues and set up admin permissions BUT.... when going to a user's settings the "log in as user" option is not in the drop down? suggestions?
|
nvm got it; I had to change the userid of my admin acct. it was set by default to 1 which i thought i was but had remembered i changed my username at some point which changed my id #
|
Firstly, An absolutely excellent mod!
Secondly, is it possible to add the "Login as User" option to the Postbit (postbit_legacy in this case) popup menu that you get when you click on a users name when viewing a thread? If so, what do I need to do? I can see the section in the postbit_legacy template where the other popup options are, but I'm unsure as to exactly what to put in there to log the user in. |
Every time i have this mod enabled i get a white screen that says "Flood" how can i fix this?
|
CYB:
I have been using this mod with no problem for months, but i have since started a new board, on the same server added this mod, and it doesnt appear to work now..... I log in as the user without a problem, it displays the you are currently logged in as userX click here to return to your account.... but when i click here it somehoe logs me in as that user and i can not log out again without manually clicking the log out link and manually logging myself in again I am now using 3.8.3 and any help would be greatly appreciated ..... thanks in advanced dave |
Clear all forum cookies, then re-login and try it again.
|
This has a problem. If I have my forums set to ask a user to change their password after a certain amount of days, it will not let me log in and them and get past "changing their password" which presents a problem.
Anyway, take care |
And after I have logged in as a user and gone back to me
, it will not let me log out as myself. I don't even know what to do. |
install the mod, but I see no option anywhere. nor in the admin-panel or the front-panel
sorry for my bad English |
First set admins, then option will be shown.
Check screenshot 5, then screenshot 4. |
is it fix secure or what
|
All seems to be working just groovy. Thanks! :D
|
I'm wondering the same thing. Is it secure now?
|
vBulletin 3.8.2
AddOn 2.3 In AdminCP we have a quicklink "Login as User". It is from a hook "useradmin_edit_start" in admincp/user.cp. There ist a array $quicklinks. But the same hook is in modcp/user.cp but there ist no array $quicklinks, So i got en error in ModCP/user search/show profil. I have removed the hook on line 348 ($hook = vBulletinHook::fetch_hook('useradmin_edit_start')) ? eval($hook) : false; |
I have change the plugin Cyb - Login To User Account - EU Hook useradmin_edit_start
The change is in the first/last line first line PHP Code:
PHP Code:
PHP Code:
change PHP Code:
|
I've it installed and it's great but after I installed Cyb - Advanced Forum Rules I loose the button to log as the users
|
Quote:
|
Quote:
Worth noting is that another similar (but not as good) mod called Admin login as user also produces exactly the same error. So I think this error must occur with any mod currently designed to log a mod/admin in as another user. I hope you can find a fix for this. It doesn't stop either mod from working, just shows the error at the top of this search user mp page. So it can be lived with. |
There are bug with the vb 3.8.4 can you please resolve them?
|
Quote:
Upon editing postbit_legacy look for: $template_hook[postbit_user_popup] then after copy and paste the following: Code:
<if condition="is_member_of($vbulletin->userinfo, array( 6))"> I've been using this for a little while and it works like a charm. |
Quote:
Still, thanks for sharing. |
Quote:
I'm using the Matahari style by sultan themes, and it does differ, in terms of where items are located, to the default style. For example, the navbar items are not in the same location as in Default Style. Therefore it is possible that putting the code in postbit_legacy might not be where it should go, but it would make sense that it is, regardless of style being used. |
Quote:
|
doesn't seem to be working for 3.8.4 won't let you log in
to the users account do you have a fix?thanks |
Ok I found and fix the troubles about "Cyb - Advanced Forum Rules" and "Cyb - Login To User Account", to fix it you must edit "Cyb - Login To User Account - MI" and:
Find: Code:
$cyb_ltoua_link_mi = "<li class=\"thead\" style=\"float:$stylevar[right]\"><a href=\"member.php?$session[sessionurl]do=cyb_loginasuser&u=$userinfo[userid]\">$vbphrase[cyb_ltua_title]</a></li>"; Code:
$cyb_ltoua_link_mi = "<table cellpadding=\"4\" width=\"100%\" cellspacing=\"1\" border=\"0\"><tr valign=\"top\"><td class=\"thead\">$vbphrase[cybltua_hackname]</td></tr><tr valign=\"top\"><td class=\"vbmenu_option\"><a href=\"member.php?$session[sessionurl]do=cyb_loginasuser&u=$userinfo[userid]\">$vbphrase[cyb_ltua_title]</a></td></tr></table>"; |
on my 3.8.4 boards to get it working again all i did was uninstalled it and re-instilled
it should work fine.. |
Installed on www.ukcigarforums.com, along with most over Cyb mods! Thanks bud!
|
Quote:
https://vborg.vbsupport.ru/showthread.php?t=177947 |
Amazing collection of mods on my forums now but this is the best one buy far
|
Love it !! Thanks for the great mod !!
|
All times are GMT. The time now is 02:38 AM. |
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:
|