vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Cyb - Login To User Account (https://vborg.vbsupport.ru/showthread.php?t=201286)

Valter 05-02-2009 08:46 PM

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.

Super Jinni 05-04-2009 02:00 PM

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 :)

Valter 05-04-2009 11:29 PM

This has nothing with the ModCP.

Try disabling your installed hacks one by one to find which one causes errors.

Super Jinni 05-05-2009 04:29 AM

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:

    ($hook vBulletinHook::fetch_hook('useradmin_edit_start')) ? eval($hook) : false

and you are using that hook in this mod.


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?

Kottos 05-12-2009 08:16 PM

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

tipoboy 05-12-2009 08:30 PM

Quote:

Originally Posted by Super Jinni (Post 1804813)
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:

    ($hook vBulletinHook::fetch_hook('useradmin_edit_start')) ? eval($hook) : false

and you are using that hook in this mod.


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?

got the same error on another log in as user mod,

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

Super Jinni 05-18-2009 10:59 AM

Quote:

Originally Posted by tipoboy (Post 1809609)
got the same error on another log in as user mod,

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

Thanks tipoboy.

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.

djaravindth 05-18-2009 01:13 PM

thanks a lot..
its awesome plugin

tipoboy 06-10-2009 10:48 AM

Quote:

Originally Posted by Super Jinni (Post 1812866)
Thanks tipoboy.

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.

i had this same error with the mod panel, and i disabled the plugin and it doesnt affct the product, i can still log into users accounts with no problems

dancue 06-12-2009 12:56 AM

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.


All times are GMT. The time now is 01:39 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.01259 seconds
  • Memory Usage 1,751KB
  • 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_php_printable
  • (3)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
  • (10)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