TCE Killa
03-16-2008, 10:00 PM
As Requested (https://vborg.vbsupport.ru/showpost.php?p=1462025&postcount=2)
This little modification gives you the chance to add a second row of links as a navbar for each forum.
Example, you have a forum called Sports.... With this modification, you can add different navbar links to that forum.
So it will be called Sports, you enter the Sports forum area, then a new navbar will be displayed underneith the original navbar, you can add all topics to sports such as - Football, Baseball, Boxing, MMA etc... with a link of your choice when you click on it.
Simply find in Forum Display:
$navbar
Add below:
<if condition="$forumid == XX">
<!-- nav buttons bar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="1" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_option"><a href="CUSTOMLINK.php$session[sessionurl]"><b>CUSTOM TITLE</b></td></a></table></tr></if></if><br />
Change the forumid (XX) to the forums ID you want the navbar row to work in, and change the CUSTOMLINK to the links you want the text to go to... The CUSTOM TITLE can be called whatever you want for it.
If you would like more custom links on your navbar row, repeat the CUSTOMLINK & vbmenu_option code for how many you actually want.
If you want a different row of navbars for multiple forums, just repeat the whole code underneith, changing the forumid (XX) to a another forum.
Enjoy! Please mark installed if you use, thankyou:up:
This little modification gives you the chance to add a second row of links as a navbar for each forum.
Example, you have a forum called Sports.... With this modification, you can add different navbar links to that forum.
So it will be called Sports, you enter the Sports forum area, then a new navbar will be displayed underneith the original navbar, you can add all topics to sports such as - Football, Baseball, Boxing, MMA etc... with a link of your choice when you click on it.
Simply find in Forum Display:
$navbar
Add below:
<if condition="$forumid == XX">
<!-- nav buttons bar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="1" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_option"><a href="CUSTOMLINK.php$session[sessionurl]"><b>CUSTOM TITLE</b></td></a></table></tr></if></if><br />
Change the forumid (XX) to the forums ID you want the navbar row to work in, and change the CUSTOMLINK to the links you want the text to go to... The CUSTOM TITLE can be called whatever you want for it.
If you would like more custom links on your navbar row, repeat the CUSTOMLINK & vbmenu_option code for how many you actually want.
If you want a different row of navbars for multiple forums, just repeat the whole code underneith, changing the forumid (XX) to a another forum.
Enjoy! Please mark installed if you use, thankyou:up: