ultimatearco
09-09-2008, 10:00 PM
Adding links in the navbar
Before installing please check the Installed button :)
ALSO: This version has been taken out of beta stage :D
Thanks to StuntFactoryX (https://vborg.vbsupport.ru/member.php?u=143771)'s idea we now have the code for guests!
Version 2 relased and taken out of beta!
Okay, iv'e seen some mods that did not edit the navbar for some reason
Please dont flame me couse of the basic stuff, this is for people who dont have the knowledge of HTML
This has been tested on the Default style. It should work on templates WITHOUT a image navbar!
This hasent been tested on the Fox styles, so use it on your own risk there :)
Go to your Panel and select Styles & Templates then select Style Manager
go to the Navbar template
Find:
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
Under that add:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="[link]">text</a></td></if>
If you want to make it avaible to guests add that below the code above:
<td class="vbmenu_control"><a href="index.php">portal</a></td>
Note: adding the <if> code could couse your forum style to fail completely!
Thank-you StuntFactoryX
Please dont flame me becouse its so simple!!!
It also includes a README file
Before installing please check the Installed button :)
ALSO: This version has been taken out of beta stage :D
Thanks to StuntFactoryX (https://vborg.vbsupport.ru/member.php?u=143771)'s idea we now have the code for guests!
Version 2 relased and taken out of beta!
Okay, iv'e seen some mods that did not edit the navbar for some reason
Please dont flame me couse of the basic stuff, this is for people who dont have the knowledge of HTML
This has been tested on the Default style. It should work on templates WITHOUT a image navbar!
This hasent been tested on the Fox styles, so use it on your own risk there :)
Go to your Panel and select Styles & Templates then select Style Manager
go to the Navbar template
Find:
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
Under that add:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="[link]">text</a></td></if>
If you want to make it avaible to guests add that below the code above:
<td class="vbmenu_control"><a href="index.php">portal</a></td>
Note: adding the <if> code could couse your forum style to fail completely!
Thank-you StuntFactoryX
Please dont flame me becouse its so simple!!!
It also includes a README file