![]() |
Add the link manually in the nav manager, no need for a plugin.
|
Quote:
Quote:
|
Ahhh, yeah so the link is dynamic, well then yeah, the plugin idea is the only way. :(
|
It'll require template edits, and possibly an edit to the plugin itself. I don't have this installed on my site anymore, but I might be able to help you out. What is your site URL?
|
Quote:
|
Hey everyone, thanks for all the help you gave me earlier. I ended up modifying the navbar to make QAS a navtab rather than a sublink and I thought I'd share the code if you guys want to do something similar.
Here's what it looks like: http://www.althanas.com/world/attach...5&d=1387559194 Here's the code: Edit ---> QAS_navbar_link template Code:
<vb:if condition="$show['qas_switch']"> Thanks again for all of your help! EDIT: I should also note I changed the QAS rawphrase to say "Accounts" rather than "Quick Account Switch." Sorry, I'm terrible at being helpful. |
Works on vBulletin 4.2.4. However, it will have an annoying space between "quick links" and "Quick Account Switch". I tried all the above suggestions, nothing worked.
In the end, I fixed it from "Styles and Templates" - Replacement Variable Manager" - "Add Replacement Variable". It required two replacements. 1. Add Replacement Variable At "Search for text" write: <a href=""> Replace with text: leave it blank. Save 2. Add replacement variable At "Search for text" write: <li id="qas_switch"><a href=""> Replace with text: leave it blank. Save Works perfectly even on custom themes. No other things needed :D |
Does anyone know why I get this on my forum home page and how I can fix it? Happens when I install the mod.
"syntax error, unexpected 'new' (T_NEW) on line 74 in /home/thepoke7/public_html/global.php(29) : eval()'d code #0 /home/thepoke7/public_html/forum.php(67): require_once() #1 {main} Fatal User Error: syntax error, unexpected 'new' (T_NEW) on line 74 in ..../global.php(29) : eval()'d code in ..../vb/vb.php on line 286 Trace Data: #1 : vbstop() called in ..../includes/class_core.php on line 6089 #2 : vbulletin_error_handler() called in on line #3 : trigger_error() called in ..../vb/vb.php on line 286 #4 : vB::handleException() called in on line Var Type: [ NULL ] Var Data: null" |
Quote:
Open xml file product-psi_qas with editor and in about line 161, find Code:
$vbulletin->session =& new vB_Session($vbulletin, '', $getuserdata['userid'], '', $getuserdata['styleid']); Code:
$vbulletin->session =new vB_Session($vbulletin, '', $getuserdata['userid'], '', $getuserdata['styleid']); Actually this is the change we make, as my specialist friend @MarkFL said to other deprecated codes "change "=&" to this "=" |
Thanks for the fast response! Appreciate the help and thanks to @MarkFL as well for his support on everything.
EDIT: The edit or add settings dont show in the acp under the options for the qas and I don't have the switch account button in the navbar. Any ideas? |
All times are GMT. The time now is 09:26 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:
|