Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Top NavBar With Drop Down Menus Details »»
Top NavBar With Drop Down Menus
Version: 1.00, by MadKad MadKad is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Version: 3.6.8 Rating:
Released: 10-13-2006 Last Update: 10-17-2006 Installs: 139
Template Edits
Code Changes  
No support by the author.

This mod is a top nav bar mod with drop down menus; it is the same as the standard vb one, the new navbar is in its own template.

This mod is easy to install there are to things you need to do to install this mod:

1) Upload product file
2) Edit navbar template

The mod comes with:

1 xml file
1 read me text file
1 html help file to show how to add links and drop down menus

FAQ:
Q: Nav bar not showing in other mods.
A: Click here thank you

Q: What mods will this show in
A: please read above why they might not, here are the lists of what I tested them in click here

This mod is supported here and at MK PitStop Webmaster Forum, please click install if you use this mod, thank you.

Demo Here = http://www.mkpitstop.co.uk/forum

Hope you like

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #132  
Old 07-26-2007, 06:31 PM
MadKad's Avatar
MadKad MadKad is offline
 
Join Date: Mar 2006
Location: UK
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This will work on the newist version (should do as its only template change)

As for vbadvanced I cant help as I dont use vbadvanced sorry
Reply With Quote
  #133  
Old 07-26-2007, 09:18 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this upgrade have to be done before the 3.6.8 upgrade?
Reply With Quote
  #134  
Old 07-26-2007, 09:40 PM
MadKad's Avatar
MadKad MadKad is offline
 
Join Date: Mar 2006
Location: UK
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiesellMinded View Post
does this upgrade have to be done before the 3.6.8 upgrade?
nope its a template edit so it can be done on all 3.6.x
Reply With Quote
  #135  
Old 07-26-2007, 11:48 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What Is this Template Edit for Anyway?
Reply With Quote
  #136  
Old 07-26-2007, 11:51 PM
MadKad's Avatar
MadKad MadKad is offline
 
Join Date: Mar 2006
Location: UK
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To add the template name in where needed so that the nav shows up.
Reply With Quote
  #137  
Old 07-27-2007, 12:19 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mine works Fine Now But it wont when i Upgrade to 3.6.8 unless i Upgrade this Mod First Correct

DM
Reply With Quote
  #138  
Old 07-27-2007, 09:39 AM
MadKad's Avatar
MadKad MadKad is offline
 
Join Date: Mar 2006
Location: UK
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry no there has been to change to this mod, we no it will work with the new version this is why we have said it will work with the new version, I didnt explain my self correctly sorry.
Reply With Quote
  #139  
Old 07-27-2007, 08:53 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Me No Understand your speakings
Reply With Quote
  #140  
Old 07-31-2007, 08:27 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting w3 validation errors on this menu.

Quote:
Line 742, Column 10: value of attribute "id" invalid: "2" cannot start a name. <td id="2" class="nav_menu_control" style="width: 81px"><a href="#1">Info</a>
It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
In regards to unique ID names, I am having a strange problem.

I have custom drop down menus in navbar and they look like this:

<td id="1" class="nav_menu_control" style="width: 81px">
(in header template)

<div class="vbmenu_popup" id="1_menu" style="display:none">
(in navbar template)

The above is default (showing errors in w3 validation) yet they work fine.

IF I change the ID each to something like below, it shows the menu title but no longer drops down the sub menu, nor shows the down arrow icon (indicating drop down menu)

<td id="menu1" class="nav_menu_control" style="width: 81px">
<div class="vbmenu_popup" id="menu1_menu" style="display:none">
Reply With Quote
  #141  
Old 08-01-2007, 06:57 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having problems since upgrading to 3.6.8 could you please take a quick look at the code below and see if you can find anything wrong:

Code:
<!--######## start of navbar2 ########-->

<!-- nav2 buttons bar --> 
<div align="center"> 
  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px"> 
    <tr align="center"> 

<!-- Fun Stuff -->
  <td id="FunStuff" class="vbmenu_control"><a href="$show[nojs_link]#FunStuff">Fun Stuff</a> <script type="text/javascript"> vbmenu_register("FunStuff"); </script></td>
<!-- /Fun Stuff -->
      
<!-- Donations -->
<td class="vbmenu_control"><a href="http://www.gamerzneeds.net/forums/donate.php$session[sessionurl_q]">Donate</a></td>
<!-- /Donations -->

<!-- Downloads menu -->
<td class="vbmenu_control"><a href="http://www.gamerzneeds.net/forums/downloads.php">Downloads</a></td>
<!-- /Downloads menu -->

<!-- Newsletter -->
<td class="vbmenu_control"><a href="http://www.gamerzneeds.net/forums/newsletter.php">Newsletter</a></td>
<!-- /Newsletter -->

<!-- Invites -->
<td class="vbmenu_control"><a href="http://www.gamerzneeds.net/forums/invites.php">Invite</a></td>
<!-- /Invites -->


  
      <td class="vbmenu_control"><a href="http://www.gamerzneeds.net/forums/job-opportunities-site-sponsors-earn-money/13134-becoming-site-sponsor.html">Advertise</a></td> 

 <td class="vbmenu_control"><a href="http://www.buy-host.com" target="_blank">Buy-Host Webhosting</a></td> 

     </tr> 
  </table> 
</div>
<!-- / nav2 buttons bar --> 
<if condition="$show['popups']"> 

<!-- NAVBAR POPUP MENUS --> 

<!-- extras pop start --> 
<div class="vbmenu_popup" id="1_menu" style="display:none"> 
  <table cellpadding="4" cellspacing="1" border="0"> 
    <tr> 
      <td class="thead">Drop Down</td> 
    </tr> 
    <tr> 
      <td class="vbmenu_option"><a href="link">link</a></td> 
    </tr> 
    <tr> 
      <td class="vbmenu_option"><a href="link">link</a></td> 
    </tr> 
    <tr> 
      <td class="vbmenu_option"><a href="link">link</a></td> 
    </tr> 
    <tr> 
      <td class="vbmenu_option"><a href="link">link</a></td> 
    </tr> 
      </table>
  </if>
</div>
<!-- extras pop end --> 

<!-- / NAVBAR POPUP MENUS --> 

<!-- Create Fun Stuff -->
      <if condition="$show['member']">
    <!-- your tools menu -->
    <div class="vbmenu_popup" id="FunStuff_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr><td class="thead">Fun Stuff</td></tr>
        <tr><td class="vbmenu_option"><a href="http://www.gamerzneeds.net/forums/gznevent.php">GzN Event - Coming Soon!</a></td></tr>
        <tr><td class="vbmenu_option"><a href="http://www.gamerzneeds.net/forums/gallery/index.php">Gallery / Image Hosting</a></td></tr>
        <tr><td class="vbmenu_option"><a href="http://www.gamerzneeds.net/shop/">Buy/Sell - GZN Shop</a></td></tr>
        <tr><td class="vbmenu_option"><a href="http://www.gamerzneeds.net/forums/arcade.php">Arcade</a></td></tr>
        </if>

        </table>
    </div>
    <!-- / your tools menu --> 	 
    </if>
<!-- End Fun Stuff Edit -->
<!--####### end of navbar2 #######-->
Basically it only occurred when viewing the site as a guest, as a member it looked fine. and the problem was, teh navbar wouldnt stretch to the ends of the navbar, and then it would also throw off the side column hack that im using.

Hopefully something easily fixed, as I love this.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:41 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04762 seconds
  • Memory Usage 2,329KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete