PDA

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


ultimatearco
10-08-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!!!




It also includes a README file

glennybee
10-09-2008, 02:38 PM
Some other guides that might be helpful.

How to add a link to the navbar (http://www.vbulletin.com/forum/showthread.php?t=196667)
How to add dropdown menus to the navbar (http://www.vbulletin.com/forum/showthread.php?t=224641)

wwolf27
10-09-2008, 04:15 PM
EXACTLY what I needed!!
THANK YOU!!

ultimatearco
10-09-2008, 05:00 PM
No problem, renember to show your support and klick installed!

iogames
10-09-2008, 10:38 PM
why don't u put images on navbar???

ultimatearco
10-10-2008, 01:39 PM
That would be a really nice idea! Thanks! :)

Renember: Help me by klicking installed!!

ultimatearco
10-15-2008, 10:02 AM
bumped...

24 hours over i guess...

RGVFMod
10-16-2008, 07:32 PM
I am trying to get the navabar link to point to a site that is not on the vbulletin forums. I keep getting redirected to the my forums as the default. How can I get it to point to a site other than the forums?

RGVFMod
10-17-2008, 01:44 PM
Got it. Marked as Installed.

the stig
10-23-2008, 05:25 AM
Interested to install it. Do you know how I can put "albums" link in the navbar? Can I use this to add that?

ultimatearco
10-23-2008, 01:59 PM
I am trying to get the navabar link to point to a site that is not on the vbulletin forums. I keep getting redirected to the my forums as the default. How can I get it to point to a site other than the forums?
If you want to make a link to another site make sure you include http:// before the rest :)

Got it. Marked as Installed.
Thank-you

Interested to install it. Do you know how I can put "albums" link in the navbar? Can I use this to add that?
Of course!

find
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>

Add unther:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="PUT THE LINK TO YOUR ALBUMS HERE">Albums</a></td></if>
Now if you want to make it plublic then use this:
<td class="vbmenu_control"><a href="PUT THE LINK TO YOUR ALBUMS HERE">Albums</a></td>

~Ulti

the stig
10-23-2008, 08:55 PM
nice.. I am gonna try it now. 1 more Q, what's my link for all albums? i looked in admincp and couldn't find it. thanks for your help so far.

the stig
10-24-2008, 05:22 PM
nice.. I am gonna try it now. 1 more Q, what's my link for all albums? i looked in admincp and couldn't find it. thanks for your help so far.
Bump for answer.

Answer found. :D

ultimatearco
10-27-2008, 10:38 AM
Sorry it took so long.

What do you mean with link to all of my albums?

raznaran
10-27-2008, 08:50 PM
Man. you so rock! Thank you, thank you, thank you. I wish more people would post things written just idiot simple. I'm playing catch up and I really appreciate it.

ultimatearco
10-28-2008, 08:47 AM
No problem, I allways want to help people.
Eventually i will make harder and harder mods (but still easy to install :))

the stig
10-28-2008, 01:34 PM
Man. you so rock! Thank you, thank you, thank you. I wish more people would post things written just idiot simple. I'm playing catch up and I really appreciate it.

Def. agreed. Not many people are "code savvy" ..gonna give this a try today.

Just a question, I am adding a 2nd navbar to the original navbar. Am I still going to be OK with this mod?

Swapnil
11-05-2008, 01:59 PM
Thx friend i greatly needed this......

UKBusinessLive
11-09-2008, 03:24 PM
Just added My Amazon Bookstore to my Navbar, Thanks :D

ultimatearco
11-11-2008, 05:43 AM
No problem, guys,

Glad to have helped you ;)

ultimatearco
11-21-2008, 01:45 PM
Def. agreed. Not many people are "code savvy" ..gonna give this a try today.

Just a question, I am adding a 2nd navbar to the original navbar. Am I still going to be OK with this mod?


Yes you will just look up the (i guess >_< ) Double Navbar template

momo2
11-23-2008, 12:16 AM
This is very useful for those, who hate to install products etc..

ultimatearco
11-28-2008, 05:49 AM
Thanks for your support :)

CPOWA
12-06-2008, 08:17 PM
Installed. Thanks Arco :)

ultimatearco
12-08-2008, 08:49 AM
No problem, glad to have helped you :)