Announcement

Collapse
No announcement yet.

How do I change the Nav Bar to include additional links?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I change the Nav Bar to include additional links?

    I'd like to add links to the Quick Links popup to other sites used by my board.

    I know I have to change this in the Nav Bar template, but I'm a relative newbie to coding and am unsure as to how to modify the code to include the my own set of links after the Miscellaneous set:

    Code:
    <tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
    <if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
    <tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
    <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
    <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>
    Can I just use the above as a guide? If so, what would I need to change to accomplish the following?

    I'd like a new Message Bar after the Micellaneous bar and links that says "League Links"

    Then I'd like to add links to the following sites:

    NF-FFL - http://nf-ffl.predsff.com
    Feeding Frenzy - http://frenzy.predsff.com
    Greek Mythology - http://football.myfantasyleague.com/2003/home/89687
    IFFL - http://iffl.150m.com/

    Can anyone help me code this into the Nav Bar under the Quicklinks PopUp?

    Thanks

  • #2
    Looks like you're on the right track... basically you want to open the template "navbar" and find "<!-- user cp tools menu -->" or the table with the id of "usercptools_menu". This contains all of the quick links drop down cells, remove, add or modify as you desire with a format similar to :

    <tr><td class="vbmenu_option"><a href="/gallery/">Photo Gallery</a></td></tr>
    Ted & the Giftery.me Team

    New features released for Product Review Forums 1.3 (4.0)
    Helpful Answers (3.8) (4.0) | Limited Guest Viewing (3.8) (4.0)

    Comment


    • #3
      I know I have to change this in the Nav Bar template, but I'm a relative newbie to coding and am unsure as to how to modify the code to include the my own set of links after the Miscellaneous set. I tried copying the Miscellaneous set and inputing my own code, but the page errors out, even when all I do is change the $vbphrase[miscellaneous] to $vbphrase[League links]. Ideally, I'd like to add another header (like the Miscellaneous header) and then links to other webpages (not vb pages).

      The websites I want to link to are as follows:
      "NF-FFL" http://nf-ffl.predsff.com
      "Feeding Frenzy" http://frenzy.predsff.com
      "Greek Mythology" http://football.myfantasyleague.com/2003/home/89687
      "IFFL" http://iffl.150m.com/

      I know WHERE the code needs to be written, but I have no idea HOW to write the actual code itself. Please help!

      Comment


      • #4
        Can anyone help me out with this?

        Thanks

        Comment


        • #5
          Originally posted by Preds
          Can anyone help me out with this?

          Thanks
          nm, I got this answered via a link from a user at vBulletinTemplates.com for those that might be interested, vBulletin.org had the answer I was looking for, here it is:

          http://www.vbulletin.org/forum/showpost.php?p=462481&postcount=4

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X