View Full Version : Navbar addon for vBadvanced CMPS?
SeanThomps
11-29-2004, 06:17 AM
It would be cool if the homepage portal actually followed suit as far as the navigation goes. In other words:
Homepage=>Forums=>Catagory=>Forum=>Topic
etc....
That way users could readily use the portal page more...
Know what I mean? So when you're on the rest of the site you can still get to the frontpage via the folders.
Oh and by the way, I just got my vbulletin installed, and did the portal right away. I think it looks hot :) http://www.volconvo.com
Not sure if this is what you mean: https://vborg.vbsupport.ru/showthread.php?t=65198
Its what I use so folks can get back to the home page. And also on the CMPS forum itself, there is info about adding just the Home link to the nav bar.
Jason McConnell
11-29-2004, 09:36 AM
Not sure if this is what you mean: https://vborg.vbsupport.ru/showthread.php?t=65198
Its what I use so folks can get back to the home page. And also on the CMPS forum itself, there is info about adding just the Home link to the nav bar.
How about just using a conditional statement in the $navbar template?
Find:
<!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
And replace it with 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>
This way, on your portal you have a link to the forums, and then on the forum you have a link back home. I have this on my own site, if you need to see what I'm talking about. http://www.unifiedx.com
Sean, what you have in mind, I think is using Custom Pages on the portal. Check this page out: vBadvanced CMPS User's Manual for Adding Custom Pages (http://www.vbadvanced.com/membersarea.php?do=viewmanual&productid=4&pageid=3). Good Luck :)
SeanThomps
11-29-2004, 03:18 PM
hey thanks guys! Looks great Jason...just what I need.
Hey Jason, since it sounds like you know a bit about the code. Do you know how I can change the logo on the portal from linking to the portal (when on the portal page), to changing it to link to the forums? I would love if my users could just click that logo, and go into the index.
here's my site to see the logo example: http://www.volconvo.com
Andrew
11-29-2004, 05:15 PM
hey thanks guys! Looks great Jason...just what I need.
Hey Jason, since it sounds like you know a bit about the code. Do you know how I can change the logo on the portal from linking to the portal (when on the portal page), to changing it to link to the forums? I would love if my users could just click that logo, and go into the index.
here's my site to see the logo example: http://www.volconvo.com
The easiest way would just be to modify the url in the header template. I just hardcoded mine to point directly to my forum index page. If you're just using the default header template this should help you out.
Find in Header :
---------------
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
Then just modify the "$vboptions[forumhome].php?$session[sessionurl]" part to point directly to your forum index page.
SeanThomps
11-29-2004, 08:29 PM
EXCELLENT! :D Thanks :D
Bison
11-29-2004, 09:04 PM
Now where is that "Thank You" button? :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.