The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Icon Navbar with dropdown menus Details »» | |||||||||||||||||||||||||||
This is a spin on a friend of mines code, I have permission to reuse this code found here, https://vborg.vbsupport.ru/showthread.php?t=231368
Screenshot In your Navbar template find. Code:
{vb:raw ad_location.global_below_navbar} Code:
<!-- Navbar Icon Links --> <div align="center"> <table class="body" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> <td class="vbmenu_control"> <li class="popupmenu"><a href="Catergory Link Goes Here"><center><img src="Image Link Goes Here" alt="Alt Description Goes Here"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Catergory Name Goes Here</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="Link 1">Forum Name 1</a></li> <li><a href="Link 2">Forum Name 2</a></li> <li><a href="Link 3">Forum Name 3</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="Catergory Link Goes Here"><center><img src="Image Link Goes Here" alt="Alt Description Goes Here"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Catergory Name Goes Here</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="Link 1">Forum Name 1</a></li> <li><a href="Link 2">Forum Name 2</a></li> <li><a href="Link 3">Forum Name 3</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="Catergory Link Goes Here"><center><img src="Image Link Goes Here" alt="Alt Description Goes Here"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Catergory Name Goes Here</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="Link 1">Forum Name 1</a></li> <li><a href="Link 2">Forum Name 2</a></li> <li><a href="Link 3">Forum Name 3</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="Catergory Link Goes Here"><center><img src="Image Link Goes Here" alt="Alt Description Goes Here"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Catergory Name Goes Here</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="Link 1">Forum Name 1</a></li> <li><a href="Link 2">Forum Name 2</a></li> <li><a href="Link 3">Forum Name 3</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="Catergory Link Goes Here"><center><img src="Image Link Goes Here" alt="Alt Description Goes Here"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Catergory Name Goes Here</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="Link 1">Forum Name 1</a></li> <li><a href="Link 2">Forum Name 2</a></li> <li><a href="Link 3">Forum Name 3</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="Catergory Link Goes Here"><center><img src="Image Link Goes Here" alt="Alt Description Goes Here"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Catergory Name Goes Here</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="Link 1">Forum Name 1</a></li> <li><a href="Link 2">Forum Name 2</a></li> <li><a href="Link 3">Forum Name 3</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="Catergory Link Goes Here"><center><img src="Image Link Goes Here" alt="Alt Description Goes Here"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Catergory Name Goes Here</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="Link 1">Forum Name 1</a></li> <li><a href="Link 2">Forum Name 2</a></li> <li><a href="Link 3">Forum Name 3</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="Catergory Link Goes Here"><center><img src="Image Link Goes Here" alt="Alt Description Goes Here"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Catergory Name Goes Here</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="Link 1">Forum Name 1</a></li> <li><a href="Link 2">Forum Name 2</a></li> <li><a href="Link 3">Forum Name 3</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="Catergory Link Goes Here"><center><img src="Image Link Goes Here" alt="Alt Description Goes Here"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Catergory Name Goes Here</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="Link 1">Forum Name 1</a></li> <li><a href="Link 2">Forum Name 2</a></li> <li><a href="Link 3">Forum Name 3</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="Catergory Link Goes Here"><center><img src="Image Link Goes Here" alt="Alt Description Goes Here"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Catergory Name Goes Here</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="Link 1">Forum Name 1</a></li> <li><a href="Link 2">Forum Name 2</a></li> <li><a href="Link 3">Forum Name 3</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="Catergory Link Goes Here"><center><img src="Image Link Goes Here" alt="Alt Description Goes Here"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Catergory Name Goes Here</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="Link 1">Forum Name 1</a></li> <li><a href="Link 2">Forum Name 2</a></li> <li><a href="Link 3">Forum Name 3</a></li></td> </tr> </table> </div> <!-- / Navbar Icon Links --> If you like this mod please click INSTALL This mod is not XHTML compliant but I am learning CSS and will hopefully get it fully XHTML compliant very soon. However it does works well. Screenshots
Supporters / CoAuthors Show Your Support
|
Благодарность от: | ||
FTG LIQUID CL |
Comments |
#12
|
|||
|
|||
I have a problem with his mod onlywhen I go to read a post or thread. the menu just move to the right and makes forum go bad. (sorry for my english)
Please look at picture below How can i fix that? |
#13
|
|||
|
|||
Hmm not sure about that, could you paste the code you've used, as I noticed you've given the table a background colour, maybe you've changed something with the code, the method above works perfectly on my site with all styles and on all pages.
Me and RobbieZ have been working on a fully CSS driven version of this and will hopefully be able to release a much better version very soon. |
#14
|
||||
|
||||
Who has a site so that I can see a demo of this in action?
|
#15
|
||||
|
||||
Nevermind I got it working now. http://the8thlegion.com/forum.php
|
#16
|
|||
|
|||
I have a problem with this modification template edit. This [problem only happen away from forumHome. If I go to showthread ect... the icons or menu will moved to the right making the forum scroll to the right.
Any ideas what can it be wrong? |
#17
|
|||
|
|||
Quote:
Like I say, I'd need to see your code to determine the problem. |
#18
|
|||
|
|||
Thank you for the responce. Below is the code from my Navbar
Code:
<div id="navbar" class="navbar"> <div class="navbarLeft"><div class="navbarRight"> <ul id="navtabs" class="navtabs floatcontainer<vb:if condition="$show['member'] AND $notifications_total"> notify</vb:if>"> {vb:raw template_hook.navtab_start} <vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'"> <li class="selected"><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a> <ul class="floatcontainer"> {vb:raw template_hook.navbar_start} <vb:if condition="$show['searchbuttons']"> <vb:if condition="$show['member']"> <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li> <vb:else /> <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li> </vb:if> </vb:if> {vb:raw template_hook.navbar_after_getnew} <vb:if condition="$show['pmmainlink']"> <li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li> </vb:if> {vb:raw template_hook.navbar_after_pm} <li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}" accesskey="5">{vb:rawphrase faq}</a></li> {vb:raw template_hook.navbar_after_faq} <li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li> {vb:raw template_hook.navbar_after_calendar} <vb:if condition="$show['communitylink']"> <li class="popupmenu"> <a href="javascript://" class="popupctrl" accesskey="6">{vb:rawphrase community}</a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <vb:if condition="$show['quick_links_groups']"> <li><a href="group.php{vb:raw session.sessionurl_q}">{vb:rawphrase social_groups}</a></li> </vb:if> <vb:if condition="$show['quick_links_albums']"> <li><a href="album.php{vb:raw session.sessionurl_q}">{vb:rawphrase pictures_and_albums}</a></li> </vb:if> <vb:if condition="$bbuserinfo['userid']"> <li><a href="profile.php?{vb:raw session.sessionurl}do=buddylist"><vb:if condition="$show['friends_and_contacts']">{vb:rawphrase contacts_and_friends}<vb:else />{vb:rawphrase contacts}</vb:if></a></li> </vb:if> <vb:if condition="$show['memberslist']"> <li><a href="memberlist.php{vb:raw session.sessionurl_q}">{vb:rawphrase members_list}</a></li> </vb:if> {vb:raw template_hook.navbar_community_menu_end} </ul> </li> </vb:if> {vb:raw template_hook.navbar_after_community} <li class="popupmenu"> <a href="javascript://" class="popupctrl">{vb:rawphrase forum_actions}</a> <ul class="popupbody popuphover"> <li> <a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&markreadhash={vb:raw bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a> </li> <vb:if condition="$show['member']"> <li> <a href="profile.php?{vb:raw session.sessionurl}do=editoptions">{vb:rawphrase edit_options}</a> </li> <li> <a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a> </li> </vb:if> </ul> </li> <li class="popupmenu"> <a href="javascript://" class="popupctrl" accesskey="3">{vb:rawphrase quick_links}</a> <ul class="popupbody popuphover"> <vb:if condition="$show['member']"> <li><a href="search.php?do=getdaily&contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li> <li><a href="http://myfreeneeds.com/forums/spy.php">Spy Forum Live</a></li> <li><a href="subscription.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li> <li><a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">{vb:rawphrase open_contacts}</a></li> </vb:if> <vb:if condition="$vboptions['forumleaders']"> <li><a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow"> <vb:if condition="$vb_suite_installed"> {vb:rawphrase view_site_leaders} <vb:else /> {vb:rawphrase view_forum_leaders} </vb:if> </a></li> </vb:if> {vb:raw template_hook.navbar_quick_links_menu_pos1} {vb:raw template_hook.navbar_quick_links_menu_pos2} {vb:raw template_hook.navbar_quick_links_menu_pos3} <vb:if condition="$show['wollink']"> <li><a href="online.php{vb:raw session.sessionurl_q}">{vb:rawphrase whos_online}</a></li> </vb:if> {vb:raw template_hook.navbar_quick_links_menu_pos4} </ul> </li> {vb:raw template_hook.navbar_end} </ul> </li> <vb:else /> <li><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a></li> </vb:if> {vb:raw template_hook.navtab_middle} <vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT == 'search'"> <vb:if condition="$show['member']"> <li class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a> <ul class="floatcontainer"> <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li> <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_SocialGroupMessage">{vb:rawphrase new_group_messages_nav}</a></li> <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Event">{vb:rawphrase new_events_nav}</a></li> {vb:raw template_hook.navbar_getnew_menu} <li><a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&markreadhash={vb:raw bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a></li> </ul> </li> <vb:else /> <li class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a> <ul class="floatcontainer"> <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li> <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_SocialGroupMessage">{vb:rawphrase daily_group_message}</a></li> <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Event">{vb:rawphrase daily_events}</a></li> {vb:raw template_hook.navbar_getdaily_menu} <li><a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&markreadhash={vb:raw bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a></li> </ul> </li> </vb:if> <vb:elseif condition="$show['member']" /> <li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a></li> <vb:else /> <li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a></li> </vb:if> {vb:raw template_hook.navtab_end} </ul> <vb:if condition="$vboptions['enablesearches']"> <div id="searchBox" class="searchBox"> <form action="search.php?do=process" method="post"> <input type="hidden" name="s" value="{vb:raw session.sessionurl}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="process" /> <span class="searchBox_container"><input type="text" value="" class="textbox" name="query" tabindex="99"/></span> <span class="searchBox_button"><input type="image" src="images/styles/TwistedDark/style/searchButton.gif" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span> </form> <ul class="searchBox_advanced_search"> <li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li> </ul> </div> </vb:if> </div></div> </div> <!-- Custom Content Wrap --> <div id="contentMain"> <!-- Custom Content Wrap End --> <div class="body_wrapper"> <div id="breadcrumb" class="breadcrumb"> <div class="bcLeft"><div class="bcRight"> <ul class="floatcontainer"> <li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li> {vb:raw navbits.breadcrumb} {vb:raw navbits.lastelement} </ul> <hr /> </div> </div> </div> {vb:raw ad_location.ad_navbar_below} {vb:raw ad_location.global_below_navbar} <!-- Navbar Icon Links --> <div align="center"> <table class="body" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> <td class="vbmenu_control"> <li class="popupmenu"><a href="http://www.myfreeneeds.com/forums/#welcome-area"><center><img src="http://i51.tinypic.com/jkj6o9.png" alt="Forum Home"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Welcome Area</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="http://www.myfreeneeds.com/forums/f795/">General Topics</a></li> <li><a href="http://www.myfreeneeds.com/forums/f3/">Welcome Station</a></li> <li><a href="http://www.myfreeneeds.com/forums/f472/">Giveaways & Contests </a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="http://www.myfreeneeds.com/forums/#fta-spot"><center><img src="http://aux.iconpedia.net/uploads/498399838370696196.png" alt="FTA Forums"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>FTA Spot</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="http://www.myfreeneeds.com/forums/pages.php?pageid=5">FTA Encyclopedia</a></li> <li><a href="http://www.myfreeneeds.com/forums/f136/">FTA Receivers</a></li> <li><a href="http://www.myfreeneeds.com/forums/f229/">FTA Hardware</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="http://www.myfreeneeds.com/forums/#direct-downloads"><center><img src="http://aux.iconpedia.net/uploads/1392015350.png" alt="Downloads"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Downloads</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="http://www.myfreeneeds.com/forums/f757/">Movies</a></li> <li><a href="http://www.myfreeneeds.com/forums/f778/">Music</a></li> <li><a href="http://www.myfreeneeds.com/forums/f106/">Software</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="http://www.myfreeneeds.com/forums/#electronics-more"><center><img src="http://aux.iconpedia.net/uploads/1177712742.png" alt="Electronics"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Electronics</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="http://www.myfreeneeds.com/forums/f95/">PC World</a></li> <li><a href="http://www.myfreeneeds.com/forums/f307/">Cellulars</a></li> <li><a href="http://www.myfreeneeds.com/forums/f786/">Gaming</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="http://www.myfreeneeds.com/forums/#sports-free-gambling"><center><img src="http://aux.iconpedia.net/uploads/19683931261867364917.png" alt="Sports"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Sports</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="http://www.myfreeneeds.com/forums/f852/">Sport Books</a></li> <li><a href="http://www.myfreeneeds.com/forums/f485/">Discussion</a></li> <li><a href="http://www.myfreeneeds.com/forums/f856/">Betting Line</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="http://www.myfreeneeds.com/forums/"><center><img src="http://i51.tinypic.com/5pnew4.png" alt="Navigation"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Switch Forums</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="http://www.myfreeneeds.com/forums/">English Board</a></li> <li><a href="http://espanol.myfreeneeds.com/forums/">Foro Latino</a></li></td> </tr> </table> </div> <!-- / Navbar Icon Links --> <br> <vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'"> <form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices"> <input type="hidden" name="do" value="dismissnotice" /> <input type="hidden" name="s" value="{vb:raw session.sessionurl}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" /> <input type="hidden" name="url" value="{vb:raw return_link}" /> <ol> {vb:raw notices} </ol> </form> </vb:if> |
#19
|
|||
|
|||
I can't seem to recreate the problem, in fact when I go to your forum on the vBookie page I get this.
I suspect the problem may be the Navbar Icons are on the same line as the description. So try this, copy all of the code below and replace your entire Navbar template with it. Code:
<div id="navbar" class="navbar"> <div class="navbarLeft"><div class="navbarRight"> <ul id="navtabs" class="navtabs floatcontainer<vb:if condition="$show['member'] AND $notifications_total"> notify</vb:if>"> {vb:raw template_hook.navtab_start} <vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'"> <li class="selected"><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a> <ul class="floatcontainer"> {vb:raw template_hook.navbar_start} <vb:if condition="$show['searchbuttons']"> <vb:if condition="$show['member']"> <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li> <vb:else /> <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li> </vb:if> </vb:if> {vb:raw template_hook.navbar_after_getnew} <vb:if condition="$show['pmmainlink']"> <li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li> </vb:if> {vb:raw template_hook.navbar_after_pm} <li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}" accesskey="5">{vb:rawphrase faq}</a></li> {vb:raw template_hook.navbar_after_faq} <li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li> {vb:raw template_hook.navbar_after_calendar} <vb:if condition="$show['communitylink']"> <li class="popupmenu"> <a href="javascript://" class="popupctrl" accesskey="6">{vb:rawphrase community}</a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <vb:if condition="$show['quick_links_groups']"> <li><a href="group.php{vb:raw session.sessionurl_q}">{vb:rawphrase social_groups}</a></li> </vb:if> <vb:if condition="$show['quick_links_albums']"> <li><a href="album.php{vb:raw session.sessionurl_q}">{vb:rawphrase pictures_and_albums}</a></li> </vb:if> <vb:if condition="$bbuserinfo['userid']"> <li><a href="profile.php?{vb:raw session.sessionurl}do=buddylist"><vb:if condition="$show['friends_and_contacts']">{vb:rawphrase contacts_and_friends}<vb:else />{vb:rawphrase contacts}</vb:if></a></li> </vb:if> <vb:if condition="$show['memberslist']"> <li><a href="memberlist.php{vb:raw session.sessionurl_q}">{vb:rawphrase members_list}</a></li> </vb:if> {vb:raw template_hook.navbar_community_menu_end} </ul> </li> </vb:if> {vb:raw template_hook.navbar_after_community} <li class="popupmenu"> <a href="javascript://" class="popupctrl">{vb:rawphrase forum_actions}</a> <ul class="popupbody popuphover"> <li> <a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&markreadhash={vb:raw bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a> </li> <vb:if condition="$show['member']"> <li> <a href="profile.php?{vb:raw session.sessionurl}do=editoptions">{vb:rawphrase edit_options}</a> </li> <li> <a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a> </li> </vb:if> </ul> </li> <li class="popupmenu"> <a href="javascript://" class="popupctrl" accesskey="3">{vb:rawphrase quick_links}</a> <ul class="popupbody popuphover"> <vb:if condition="$show['member']"> <li><a href="search.php?do=getdaily&contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li> <li><a href="http://myfreeneeds.com/forums/spy.php">Spy Forum Live</a></li> <li><a href="subscription.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li> <li><a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">{vb:rawphrase open_contacts}</a></li> </vb:if> <vb:if condition="$vboptions['forumleaders']"> <li><a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow"> <vb:if condition="$vb_suite_installed"> {vb:rawphrase view_site_leaders} <vb:else /> {vb:rawphrase view_forum_leaders} </vb:if> </a></li> </vb:if> {vb:raw template_hook.navbar_quick_links_menu_pos1} {vb:raw template_hook.navbar_quick_links_menu_pos2} {vb:raw template_hook.navbar_quick_links_menu_pos3} <vb:if condition="$show['wollink']"> <li><a href="online.php{vb:raw session.sessionurl_q}">{vb:rawphrase whos_online}</a></li> </vb:if> {vb:raw template_hook.navbar_quick_links_menu_pos4} </ul> </li> {vb:raw template_hook.navbar_end} </ul> </li> <vb:else /> <li><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a></li> </vb:if> {vb:raw template_hook.navtab_middle} <vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT == 'search'"> <vb:if condition="$show['member']"> <li class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a> <ul class="floatcontainer"> <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li> <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_SocialGroupMessage">{vb:rawphrase new_group_messages_nav}</a></li> <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Event">{vb:rawphrase new_events_nav}</a></li> {vb:raw template_hook.navbar_getnew_menu} <li><a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&markreadhash={vb:raw bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a></li> </ul> </li> <vb:else /> <li class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a> <ul class="floatcontainer"> <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li> <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_SocialGroupMessage">{vb:rawphrase daily_group_message}</a></li> <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Event">{vb:rawphrase daily_events}</a></li> {vb:raw template_hook.navbar_getdaily_menu} <li><a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&markreadhash={vb:raw bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a></li> </ul> </li> </vb:if> <vb:elseif condition="$show['member']" /> <li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a></li> <vb:else /> <li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a></li> </vb:if> {vb:raw template_hook.navtab_end} </ul> <vb:if condition="$vboptions['enablesearches']"> <div id="searchBox" class="searchBox"> <form action="search.php?do=process" method="post"> <input type="hidden" name="s" value="{vb:raw session.sessionurl}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="process" /> <span class="searchBox_container"><input type="text" value="" class="textbox" name="query" tabindex="99"/></span> <span class="searchBox_button"><input type="image" src="images/styles/TwistedDark/style/searchButton.gif" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span> </form> <ul class="searchBox_advanced_search"> <li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li> </ul> </div> </vb:if> </div></div> </div> <!-- Custom Content Wrap --> <div id="contentMain"> <!-- Custom Content Wrap End --> <div class="body_wrapper"> <div id="breadcrumb" class="breadcrumb"> <div class="bcLeft"><div class="bcRight"> <ul class="floatcontainer"> <li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li> {vb:raw navbits.breadcrumb} {vb:raw navbits.lastelement} </ul> <hr /> </div> </div> </div> {vb:raw ad_location.ad_navbar_below} {vb:raw ad_location.global_below_navbar} <vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'"> <form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices"> <input type="hidden" name="do" value="dismissnotice" /> <input type="hidden" name="s" value="{vb:raw session.sessionurl}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" /> <input type="hidden" name="url" value="{vb:raw return_link}" /> <ol> {vb:raw notices} </ol> </form> </vb:if> <!-- Navbar Icon Links --> <div align="center"> <table class="body" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> <td class="vbmenu_control"> <li class="popupmenu"><a href="http://www.myfreeneeds.com/forums/#welcome-area"><center><img src="http://i51.tinypic.com/jkj6o9.png" alt="Forum Home"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Welcome Area</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="http://www.myfreeneeds.com/forums/f795/">General Topics</a></li> <li><a href="http://www.myfreeneeds.com/forums/f3/">Welcome Station</a></li> <li><a href="http://www.myfreeneeds.com/forums/f472/">Giveaways & Contests </a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="http://www.myfreeneeds.com/forums/#fta-spot"><center><img src="http://aux.iconpedia.net/uploads/498399838370696196.png" alt="FTA Forums"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>FTA Spot</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="http://www.myfreeneeds.com/forums/pages.php?pageid=5">FTA Encyclopedia</a></li> <li><a href="http://www.myfreeneeds.com/forums/f136/">FTA Receivers</a></li> <li><a href="http://www.myfreeneeds.com/forums/f229/">FTA Hardware</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="http://www.myfreeneeds.com/forums/#direct-downloads"><center><img src="http://aux.iconpedia.net/uploads/1392015350.png" alt="Downloads"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Downloads</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="http://www.myfreeneeds.com/forums/f757/">Movies</a></li> <li><a href="http://www.myfreeneeds.com/forums/f778/">Music</a></li> <li><a href="http://www.myfreeneeds.com/forums/f106/">Software</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="http://www.myfreeneeds.com/forums/#electronics-more"><center><img src="http://aux.iconpedia.net/uploads/1177712742.png" alt="Electronics"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Electronics</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="http://www.myfreeneeds.com/forums/f95/">PC World</a></li> <li><a href="http://www.myfreeneeds.com/forums/f307/">Cellulars</a></li> <li><a href="http://www.myfreeneeds.com/forums/f786/">Gaming</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="http://www.myfreeneeds.com/forums/#sports-free-gambling"><center><img src="http://aux.iconpedia.net/uploads/19683931261867364917.png" alt="Sports"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Sports</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="http://www.myfreeneeds.com/forums/f852/">Sport Books</a></li> <li><a href="http://www.myfreeneeds.com/forums/f485/">Discussion</a></li> <li><a href="http://www.myfreeneeds.com/forums/f856/">Betting Line</a></li></td> <td class="vbmenu_control"> <li class="popupmenu"><a href="http://www.myfreeneeds.com/forums/"><center><img src="http://i51.tinypic.com/5pnew4.png" alt="Navigation"></center></a><p><center><a href="javascript://" class="popupctrl" accesskey="6"><b>Switch Forums</b></center></p></a> <ul class="popupbody popuphover"> {vb:raw template_hook.navbar_community_menu_start} <li><a href="http://www.myfreeneeds.com/forums/">English Board</a></li> <li><a href="http://espanol.myfreeneeds.com/forums/">Foro Latino</a></li></td> </tr> </table> </div> <!-- / Navbar Icon Links --> <br> |
#20
|
|||
|
|||
Just to let you know, the multi level menu is finished and I'll be releasing tomorrow as a separate mod as it's quite a bit different to this one, here's the screenshot.
|
#21
|
|||
|
|||
Thank you for your time mate, your code didnt helped but you gave me an idea, So i went ahead and added a small code before your template edit and it worked just perfect mate.
By the way I added <br> thank you mate and cant wait for the update |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|