The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to add dropdown menus to my additional navbar
Hi,i want a top second navbar and want all dropdown menues...is there a mod for this
Thanks Peter or is there a easer way as i am a bit newbieish |
#2
|
|||
|
|||
you can do this via template edits.
to place a navbar above your welcome/breadcrumbs, copy everything within the <!-- nav buttons bar --> and <!-- /nav buttons bar --> it'll look something similar to: Code:
<!-- nav buttons bar --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> <if condition="$show['member']"> <td id="usercpoptions" class="vbmenu_control"><a href="$vboptions[bburl]/usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a> <script type="text/javascript"> vbmenu_register("usercpoptions"); </script></td> </if> <if condition="$show['registerbutton']"> <td class="vbmenu_control"><a href="$vboptions[bburl]/register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> <td class="vbmenu_control"><a href="$vboptions[bburl]/misc.php?$session[sessionurl_q]do=cfrules">Forum Rules</a></td> <td class="vbmenu_control"><a href="$vboptions[bburl]/misc.php?$session[sessionurl_q]do=csrules">Server Rules</a></td> <td class="vbmenu_control"><a href="$vboptions[bburl]/downloads.php?$session[sessionurl]">$vbphrase[ecdownloads_downloads]</a></td> <td class="vbmenu_control"><a href="$vboptions[bburl]/arcade.php$session[sessionurl_q]">Arcade</a></td> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <td class="vbmenu_control"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <td id="navbar_search" class="vbmenu_control"><a href="$vboptions[bburl]/search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td> </if> <if condition="$show['member']"> <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td> </if> <else /> <if condition="$show['searchbuttons']"> <td class="vbmenu_control"><a href="$vboptions[bburl]/search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <td class="vbmenu_control"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> </if> <td class="vbmenu_control"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td> <if condition="$show['member']"> <td class="vbmenu_control"><a href="#" onclick="window.open('http://forums.rkccs.com/misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td> </if> </if> <if condition="$show['member']"> <td class="vbmenu_control"><a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td> </if> </tr> </table> </div> <!-- / nav buttons bar --> Code:
<!-- USERCP POPUP --> <if condition="$show['popups'] AND $show['member']"> <div class="vbmenu_popup" id="usercpoptions_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead" align="$stylevar[left]"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr> <if condition="$show['pmstats']"><tr><td class="vbmenu_option" align="$stylevar[left]"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr> <if condition="$show['siglink']"><tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr> <tr><td class="thead" align="$stylevar[left]">$vbphrase[miscellaneous]</td></tr> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr> </table> </div> </if> <!-- /USERCP POPUP --> <!-- PM POPUP --> <if condition="$show['popups'] AND $show['member']"> <div class="vbmenu_popup" id="pmoptions_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead" align="$stylevar[left]">$vbphrase[private_messages]</td></tr> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="private.php?$session[sessionurl_q]folderid=0" rel="nofollow">$vbphrase[inbox]</a></td></tr> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="private.php?$session[sessionurl_q]folderid=-1" rel="nofollow">$vbphrase[sent_items]</a></td></tr> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="private.php?$session[sessionurl]do=newpm">Compose Message</a></td></tr> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></td></tr> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr> </table> </div> </if> <!-- /PM POPUP --> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|