PDA

View Full Version : Mini Mods - Adding links in the navbar


ultimatearco
12-23-2008, 10:00 PM
I also got inspirated by someone to make a double navbar, il make it and ask for his permission
Adding links in the navbar

Demo 1: http://forums.colzdragon.com/forums
Demo 2: Unavaible

Before installing please check the Installed button
ALSO: This version has been taken out of beta stage
Thanks to StuntFactoryX'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:


Code:
<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:




Code:
<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!!!

If there is ANY bug in, please tell me
I will support but i do not pay any damage

ultimatearco
12-24-2008, 06:53 AM
Reserved

veenuisthebest
12-24-2008, 02:04 PM
very nice arco, thanks a lot.

so when does it come out of beta, any plans of releasing the final version. :p

MacroPhotoPro
04-02-2012, 11:59 PM
Does this work in 4.1.11?

I can't find <if condition="$show['registerbutton']">