vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Cyb - Login To User Account (https://vborg.vbsupport.ru/showthread.php?t=122989)

Valter 04-24-2007 09:37 AM

Quote:

Originally Posted by rayw (Post 1234520)
This is fixed, but I still can't log into other user accounts via the link in profiles. It only works via the AdminCP.

This can happen if you access member profile through last post info.

Quote:

Originally Posted by Illustrious (Post 1234537)
Can you make this an option in the ACP instead of disabling it altogether?

I'm wondering why you want to disable this function?
You want your users to know that you used their accounts?

rayw 04-24-2007 09:44 AM

Quote:

Originally Posted by Cybernetec (Post 1234541)
This can happen if you access member profile through last post info.

Open user profile regularly in member.php.

Excellent, that works perfectly. Cheers! :)

mktrilogy 04-24-2007 09:46 AM

it works for mod and staff but for user this is what i get

http://xxxx.org/forum/member.php?do=cyb_loginasuser&u=

Valter 04-24-2007 09:46 AM

Quote:

Originally Posted by mktrilogy (Post 1234545)
it works for mod and staff but for user this is what i get

http://xxxx.org/forum/member.php?do=cyb_loginasuser&u=

Look at answer above.

If you acces member profile from last post info then we have no user id which is required.

I'll fix this in the future. Until that open profiles directly when want to use this function.

WiseOne38221 04-24-2007 10:41 AM

Cyb, thanks, but had to revert back to 1.7 from 1.9 as when I would "search for users" via admin, it would give a database error. Just thought I'd let ya know, thanks again.

KURTZ 04-24-2007 11:50 AM

update!

Learning 04-24-2007 11:51 AM

I still have to use my modified 'misc_start' hook as
PHP Code:

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

evaluates to 1 and so
PHP Code:

AND in_array($vbulletin->userinfo['userid'], array($cyb_ltoua_canchg)) 

will only work if your user id is actually 1 which is not always the case.

Mrdby 04-24-2007 12:59 PM

updated~!

inciarco 04-24-2007 01:42 PM

Excelent Add-On and Update Cybernetec!! :up:

Works Great on vb 3.6.5!! :up:

Thank You Very Much!! :up:

:)

The Lord of Dip 04-24-2007 02:32 PM

Thanks!


All times are GMT. The time now is 04:48 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.01453 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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