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)

Alan_SP 01-04-2012 07:27 PM

1 Attachment(s)
I uploaded modified xml file that enables that (also includes my previous modifications, read what I changed with older version), or you could manually edit your file, or your plugin.

You need to edit plugin: QAS: Handle Switch

At the end of plugin add this line:

PHP Code:

$template_hook['navbar_getnew_menu'] .= $add_string

You should have this:

PHP Code:

    $template_hook['navbar_end'] .= $add_string;
    
$template_hook['navbar_getnew_menu'] .= $add_string;


Now you should have QAS at What's new.

sweetpotato 01-06-2012 10:42 AM

Quote:

Originally Posted by Alan_SP (Post 2283871)
I uploaded modified xml file that enables that (also includes my previous modifications, read what I changed with older version), or you could manually edit your file, or your plugin.

You need to edit plugin: QAS: Handle Switch

At the end of plugin add this line:

PHP Code:

$template_hook['navbar_getnew_menu'] .= $add_string

You should have this:

PHP Code:

    $template_hook['navbar_end'] .= $add_string;
    
$template_hook['navbar_getnew_menu'] .= $add_string;


Now you should have QAS at What's new.

Thank you for your work. It's really useful

Kat-2 01-24-2012 07:52 PM

Works great on 4.1.2 ♥

LLent 04-05-2012 06:06 PM

Quote:

Originally Posted by Alan_SP (Post 2283871)
I uploaded modified xml file that enables that (also includes my previous modifications, read what I changed with older version), or you could manually edit your file, or your plugin.

You need to edit plugin: QAS: Handle Switch

At the end of plugin add this line:

PHP Code:

$template_hook['navbar_getnew_menu'] .= $add_string

You should have this:

PHP Code:

    $template_hook['navbar_end'] .= $add_string;
    
$template_hook['navbar_getnew_menu'] .= $add_string;


Now you should have QAS at What's new.



when i upgraded to 4.1.11 i lost it in the whats new how do i fix this ???thanks in advance

Alan_SP 04-05-2012 06:26 PM

I still don't have 4.1.11, so I couldn't tell. But, you need to find the right hook. You could take a look in template and find out name of the hook now.

DAMINK 04-05-2012 10:24 PM

It does not show up in my navbar but does on other themes.
Anyone know of a way to add this manually to the navbar?
Thanks.

Valter 05-21-2012 04:41 PM

Quick fix for 4.2.0:

Replace in product XML, this:
Code:

$template_hook['navbar_end'] .= $add_string;
with this:
Code:

$template_hook['navbar_after_links'] .= $add_string;

Rckcrwlr 05-25-2012 10:14 AM

Quote:

Originally Posted by Valter (Post 2331308)
Quick fix for 4.2.0:

Replace in product XML, this:
Code:

$template_hook['navbar_end'] .= $add_string;
with this:
Code:

$template_hook['navbar_after_links'] .= $add_string;

Just coming to ask...thanks

Rckcrwlr 05-25-2012 04:07 PM

Quote:

Originally Posted by Valter (Post 2331308)
Quick fix for 4.2.0:

Replace in product XML, this:
Code:

$template_hook['navbar_end'] .= $add_string;
with this:
Code:

$template_hook['navbar_after_links'] .= $add_string;

:o

How do you change it? I have never dealt with XML. I tried to do it in Excel but it didn't work.

Can someone help with it?

Thanks

Alan_SP 05-25-2012 07:51 PM

Open it in text editor you prefer, it is plain text. Find code you want to edit and just edit it. :)


All times are GMT. The time now is 10:46 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.01574 seconds
  • Memory Usage 1,752KB
  • 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
  • (6)bbcode_code_printable
  • (6)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
  • (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