The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Addling link to navbar
How do i add a link to the navbar with out effecting my navbar skin? I want to add a forum link to the navbar, but i dont know how to keep the same design as i currently have. url (www.racersweb.com)
|
#2
|
||||
|
||||
What is the code in your navbar?
|
#3
|
||||
|
||||
You might want to check out the Articles forum here. How To Add Additional Links To Your Navbar
|
#4
|
|||
|
|||
here is the coding
<div id="navigation"> <ul> <li><a href="http://racersweb.com/index.php">Home</a></li> <if condition="$show['member']"> <li><a href="http://racersweb.com/forums/usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></li> </if> <if condition="$show['registerbutton']"> <li><a href="http://racersweb.com/forums/register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></li> </if> <li><a href="http://racersweb.com/forums/faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></li> <li><a href="http://racersweb.com/forums/memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></li> <li><a href="http://racersweb.com/forums/calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></li> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <li><a href="http://racersweb.com/forums/search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></li> <else /> |
#5
|
||||
|
||||
Code:
<div id="navigation"> <ul> <li><a href="http://racersweb.com/index.php">Home</a></li> <if condition="$show['member']"> <li><a href="http://racersweb.com/forums/usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></li> </if> <if condition="$show['registerbutton']"> <li><a href="http://racersweb.com/forums/register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></li> </if> <li><a href="http://racersweb.com/forums/faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></li> <li><a href="http://racersweb.com/forums/memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></li> <li><a href="http://racersweb.com/forums/calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></li> <LI><A HREF="HTTP://SOMECOOLSITE.COM/">SOME COOL WORDS</A></LI><if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <li><a href="http://racersweb.com/forums/search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></li> <else /> |
#6
|
|||
|
|||
Good advise. You coding is rather simple so it should be hard to mess up.
Have fun. |
#7
|
|||
|
|||
Use your common sense, surely you notice a pattern between these?
Code:
<li><a href="http://racersweb.com/forums/faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></li> <li><a href="http://racersweb.com/forums/memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></li> <li><a href="http://racersweb.com/forums/calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></li> Its always best to try and figure things out yourself before you ask. At least you will learn better that way. |
#8
|
|||
|
|||
Opserty, Yes i did notice the pattern. What happens is when i edit the html and add the text that should make the button it doesnt. It does 1 of 2 things one it gives me a button that doesnt look like my current buttons, or i get an <if> error. I wouldnt ask a question that i could answer my self.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|