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
  #142  
Old 08-30-2007, 12:43 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chadi View Post
I'm getting w3 validation errors on this menu.



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">

Could someone please help me out on this?
Reply With Quote
  #143  
Old 09-22-2007, 10:17 PM
adivor's Avatar
adivor adivor is offline
 
Join Date: Sep 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please help me, i have installed this great mod but i don't understand help file for make drop down menu, i use now only standard menu :-(

after this code:

<td id="1" class="vbmenu_control"><a href="#1">Test</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>

i hade insert:

<a href="http://adivor.it/forum/local_links.php">

but i see 4 link standard in drop down..... help please :-(
Reply With Quote
  #144  
Old 11-18-2007, 05:17 AM
SBoards SBoards is offline
 
Join Date: Oct 2007
Location: Albany, NY
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see that nobody has posted in this thread in a while. Is it still possible to get some help with adding more than one drop down? Every time I try to add a second drop-down, my forums dissappear, like only the header/footer can be seen.

http://www.thescoreboards.com/forums
Reply With Quote
  #145  
Old 11-18-2007, 07:02 AM
MadKad's Avatar
MadKad MadKad is offline
 
Join Date: Mar 2006
Location: UK
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SBoards View Post
I see that nobody has posted in this thread in a while. Is it still possible to get some help with adding more than one drop down? Every time I try to add a second drop-down, my forums dissappear, like only the header/footer can be seen.

http://www.thescoreboards.com/forums
Hi what code is it your using?
Reply With Quote
  #146  
Old 11-18-2007, 02:54 PM
SBoards SBoards is offline
 
Join Date: Oct 2007
Location: Albany, NY
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for stopping by!

Here's my code. This code works, I just can't figure out where to put the code for the second drop-down without breaking my forums.

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"> 
      
      <td id="1" class="vbmenu_control"><a href="#1">Getting Started</a> 
<script type="text/javascript"> vbmenu_register("1"); </script></td>
 
      <td class="vbmenu_control"><a href="baseball">Baseball Forums</a></td> 
      
      <td class="vbmenu_control"><a href="hockey">Hockey Forums</a></td> 
              
      <td class="vbmenu_control"><a href="basketball">Basketball Forums</a></td> 
     
      <td class="vbmenu_control"><a href="football">Football Forums</a></td>
 
        <td class="vbmenu_control"><a href="soccer">Soccer Forums</a></td>
   
   <td class="vbmenu_control"><a href="more-sports">More Sports Forums</a></td> 
       
      <td class="vbmenu_control"><a href="general">Non-Sports Forums</a></td> 
     
      <td class="vbmenu_control"><a href="blog">TSB Blogs</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">Have you posted yet today?</td> 
    </tr> 
    <tr> 
      <td class="vbmenu_option"><a href="./">Main Forums Index</a></td> 
    </tr> 
    <tr> 
      <td class="vbmenu_option"><a href="showgroups.php">Meet The Staff</a></td> 
    </tr> 
    <tr> 
      <td class="vbmenu_option"><a href="./info-center/29580-thescoreboards-community-standards.html">The Community Standards</a></td> 
    </tr> 
    <tr> 
      <td class="vbmenu_option"><a href="./welcome-thescoreboards/">Introduce Yourself!</a></td> 
    </tr> 
  </table>
</if>
</div>
<!-- extras pop end --> 
<!-- / NAVBAR POPUP MENUS --> 
<!--####### end of navbar2 #######-->
Thanks again!
Reply With Quote
  #147  
Old 11-18-2007, 04:06 PM
o0Hubba0o's Avatar
o0Hubba0o o0Hubba0o is offline
 
Join Date: Mar 2005
Location: Minnesota
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This should work, I just added one on mine to test it, I post up what I put in since I haven't edited the links yet.

I just added the second one right after the first, you just need to change the 1's to 2's.

Code:
	   <!-- dropdown start --> 
      <td id="1" class="vbmenu_control"><a href="#1">Drop down</a> 
        <script type="text/javascript"> vbmenu_register("1"); </script></td> 
      <!-- dropdown end -->

	   <!-- dropdown start --> 
      <td id="2" class="vbmenu_control"><a href="#2">Drop down 2</a> 
        <script type="text/javascript"> vbmenu_register("2"); </script></td> 
      <!-- dropdown end -->

Same with the other code, you need to change the 1 to a 2 in the vbmenu_popup id. Mine broke the forumhome too, but I realized i was missing a closing div tag, but the way I have it here it all works on my site.

Code:
<!-- / 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>

<if condition="$show['popups']">
<div class="vbmenu_popup" id="2_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 -->

Then
Reply With Quote
  #148  
Old 11-19-2007, 01:22 AM
SBoards SBoards is offline
 
Join Date: Oct 2007
Location: Albany, NY
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

aHa!

I didn't insert another "if" command

Thanks!
Reply With Quote
  #149  
Old 11-21-2007, 06:07 AM
SBoards SBoards is offline
 
Join Date: Oct 2007
Location: Albany, NY
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cocko View Post
for some reason it's an open task

In CMPS settings under Portal Output Global Variables place nav2
I just wanted to point out for those of you who have been asking about CMPS... the quoted answer does work.
Reply With Quote
  #150  
Old 11-26-2007, 05:32 AM
CLKeenan CLKeenan is offline
 
Join Date: Feb 2005
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a ton man, awesome hack. Add an interface and you've got an incredibly useful plugin!
Reply With Quote
  #151  
Old 11-28-2007, 04:43 PM
malluroses malluroses is offline
 
Join Date: Jul 2007
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there anyhow only members can see the nav links rather than the guest seeing it

i only want registerd members to see the links on the topnavbar

i dont want any guest to see it plz help
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 11:58 AM.


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.04776 seconds
  • Memory Usage 2,324KB
  • 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
  • (3)bbcode_code
  • (3)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