View Full Version : Seeking help with navbar.
jaykresge
06-18-2006, 01:36 AM
I did a full forum search and came across a few topics related tothis, but none that worked on the current version(s) I am using.
I am using VB 3.5.4 and VBAdvance 2.1.0.
Here's what I'm looking for. I'd like the nav bar on the Portal to say "Forums User CP FAQ etc." and the nav bar on the Forums to say "Home User CP FAQ etc." just like this site.
Does anyone know how to do this? I know it's been asked before, and I apologize for bringing it up again, but I was unable to find something that worked for these versions.
Thank you for your time.
jaykresge
06-18-2006, 02:39 AM
I just wanted to add some more info before calling it a night. I used information from here:
http://www.vbadvanced.com/forum/showthread.php?t=9689&highlight=navbar
But it wasn't working for me. So, I copied his work, and then changed it from the paths used to straight HTML links. Well, it works. However, the folder to the left of the forum name still has the same problem. To better illustrate this:
www.mediononline.com/forum
The Home/Forum buttons now work, but the folder still does not.
VBadvance has been renamed to index.php, and the forum index was changed to forum.php. I made both of these changes in the admin CP as well.
If there is any other information that you might find useful, I'll be happy to supply it.
Thanks again for your time.
attroll
06-23-2006, 03:00 AM
This will give you a link to the forums on vBa pages and a link to vBa on the forum pages.
Find:
<!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
Replace with:
<td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]?$session[sessionurl]"> Forums <else /> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </if></a></td>
DarkSoul
07-07-2006, 01:27 PM
i cannot find that ANYWHERE in the navbar template.
Ive been trying to get this to work but it wont work for me :(
attroll
07-07-2006, 04:20 PM
If you can not find it then try this.
Find:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
After that put this:
<td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]?$session[sessionurl]"> Forums <else /> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </if></a></td>
tpzone
08-07-2006, 04:35 AM
attroll,
thanks.. it works with 2.2.0 and vb3.6 just dandy.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.