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)
-   -   Profile Enhancements - Quick Account Switch (https://vborg.vbsupport.ru/showthread.php?t=237286)

BigY 10-09-2013 08:52 AM

1 Attachment(s)
I have updated to 4.2.2 but this script gives me the following error:

Quote:

Warning: Assigning the return value of new by reference is deprecated in ..../global.php(29) : eval()'d code on line 43
Apparently it has something to do with the new PHP version i already use on my new server (PHP 5.3.27). But i have found the problem and found a solution for it.

- Go to admin panel
- Go to Plugin & Products
- Go to Manage Products and disable the Quick Account Switch
- Go to Plugin manager
- Scroll in the list to QAS: Handle Switch (global_start) and edit the file
- Find in the PHP code the following:

Quote:

$vbulletin->session =& new vB_Session($vbulletin, '', $getuserdata['userid'], '', $getuserdata['styleid']);
and replace it with

Quote:

$vbulletin->session =new vB_Session($vbulletin, '', $getuserdata['userid'], '', $getuserdata['styleid']);
Enable the product again and it's gone.

Rebecca217 10-22-2013 09:30 PM

I just wanted to say a quick thanks to all of you who have helped keep this mod updated. I just used this mod on my role playing site, and really appreciate all the help offered here. :)

Kirauni 10-28-2013 10:14 AM

I totally agree with Rebecca. I updated to vB 4.2.1 and without the help of the users here (Alan and Tankkiller) I wouldn't be able to use this addon.

So thank you very much for keeping the addon up to date so we can use it or for offering help :)

Rckcrwlr 11-19-2013 02:44 PM

I have uploaded the new version...but still no link on the NavBar...

Am I missing something?

Max Taxable 11-19-2013 03:28 PM

Quote:

Originally Posted by Rckcrwlr (Post 2462090)
I have uploaded the new version...but still no link on the NavBar...

Am I missing something?

The file upload is key. The ticker clicky should be just to the right of your username in the "Welcome..." bit. This is ONLY IF you have linked any other accounts, to your own.

Rckcrwlr 11-19-2013 04:55 PM

Quote:

Originally Posted by Max Taxable (Post 2462097)
This is ONLY IF you have linked any other accounts, to your own.

Oops....Got it now. Thanks

interfx 07-18-2014 11:57 AM

Quick question, I have renamed in the 4.2.x Navigation Manager menu from "Quick Account Switch" to "Account". However, it does not change the menu title in my navigation?

Any ideas on how to do this?

iNate19 11-19-2014 12:02 AM

I need this but it's not working for me.

I have the accounts linked in AdminCP but can't find it on the forum.

Raw Sugar 01-21-2015 03:08 AM

Forgive me if I missed it, but I literally read all 9 pages of this thread and a couple of people asked this same thing, but I don't think it was ever answered.

I would love to move the link out of the navbar and into the header template. How might I go about doing this?

Thank you in advance! :)

Alan_SP 01-21-2015 09:38 PM

Well, you need to create template hook association for this mod with existing template hook in header (I don't know if there exist one), or create association for new hook that you'll place in header in position you like.

I described procedure here and here.

Missing image in second post is because imageshack deleted it. :( I still use this system for quick change of accounts.


All times are GMT. The time now is 10:29 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
  • Page Generation 0.01249 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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