Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-29-2014, 03:33 AM
stalkingdatoast stalkingdatoast is offline
 
Join Date: Apr 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Navigation bar, drop downs help

I need help creating a drop down in my forums, my main page is a wordpress site, and i run forums with vbulletin, i want to duplicate my navigation bar in my forums, but i am not able to add a drop down , i always get a error. this is how the navigation code looks like, can someone tell me what code i need to add to create the drop down menu? thanks in advance.

Code:
										<ul id="main_menu" class="menu"><li id="menu-item-27" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-27"><a href="http://strictlybusinessgaming.com/">HOME</a></li>
<li id="menu-item-379" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-379"><a href="http://strictlybusinessgaming.com/category/videos/">Videos</a></li>
<li id="menu-item-215" class="menu-item menu-item-type-custom current-menu-item current_page_item menu-item-object-custom menu-item-215"><a href="http://strictlybusinessgaming.com/forum/forum.php">FORUM</a></li>
<li id="menu-item-380" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-380"><a href="http://strictlybusinessgaming.com/category/reviews/">Reviews</a></li>
<li id="menu-item-248" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-248"><a href="http://strictlybusinessgaming.com/pro-team/">PRO TEAM</a></li>
<li id="menu-item-247" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-247"><a href="http://strictlybusinessgaming.com/staff/">STAFF</a></li>
<li id="menu-item-254" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-254"><a href="http://strictlybusinessgaming.com/2014-event-calendar/">EVENTS</a></li>
<li id="menu-item-386" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-386"><a href="http://strictlybusinessgaming.com/sponsors/">Sponsors</a></li>
<li id="menu-item-392" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-392"><a href="http://www.strictlybusinessgaming.com/forum/competitions.php">Competitions</a></li>
</ul>
this is how the navigation bar looks like.
Attached Images
File Type: jpg nav.jpg (10.4 KB, 0 views)
Reply With Quote
  #2  
Old 05-29-2014, 05:11 AM
stalkingdatoast stalkingdatoast is offline
 
Join Date: Apr 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
If you are running vb4.2.1 or vb4.2.2 drop-down menus can be added as 'tabs' and on the 'sub-nav' via the navigational manager. vb4.2.0 has drop-downs on the 'sub-nav' bar only.

Does this help?
I am not using the vbulletin navigation bar, im using a custom navigation added to the template , i posted a image and also the code for that navigation bar on the template. Basically what i need is to add drop downs to that navigation bar.
Reply With Quote
  #3  
Old 05-29-2014, 05:20 AM
stalkingdatoast stalkingdatoast is offline
 
Join Date: Apr 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im posting the code for the Navbar , this is the part of the template that needs to be edited to add the drop downs i need.

Code:
<img src="http://strictlybusinessgaming.com/wp-content/uploads/2014/02/logo.png" alt="Strictly Business Gaming"><br /><br />
<div style="border:1px solid #dedede;border-bottom:3px solid #dedede;height:44px;width:1140px;font-weight:bold;">
<div class="nav-wrap flexmenu fm-toggle fm-lg">
										<ul id="main_menu" class="menu"><li id="menu-item-27" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-27"><a href="http://strictlybusinessgaming.com/">HOME</a></li>
<li id="menu-item-379" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-379"><a href="http://strictlybusinessgaming.com/category/videos/">Videos</a></li>
<li id="menu-item-215" class="menu-item menu-item-type-custom current-menu-item current_page_item menu-item-object-custom menu-item-215"><a href="http://strictlybusinessgaming.com/forum/forum.php">FORUM</a></li>
<li id="menu-item-380" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-380"><a href="http://strictlybusinessgaming.com/category/reviews/">Reviews</a></li>
<li id="menu-item-248" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-248"><a href="http://strictlybusinessgaming.com/pro-team/">PRO TEAM</a></li>
<li id="menu-item-247" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-247"><a href="http://strictlybusinessgaming.com/staff/">STAFF</a></li>
<li id="menu-item-254" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-254"><a href="http://strictlybusinessgaming.com/2014-event-calendar/">EVENTS</a></li>
<li id="menu-item-386" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-386"><a href="http://strictlybusinessgaming.com/sponsors/">Sponsors</a></li>
<li id="menu-item-392" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-392"><a href="http://www.strictlybusinessgaming.com/forum/competitions.php">Competitions</a></li>
</ul>									</div></div>
</div>
</div>
</div><!-- closing div for above_body -->

<div class="body_wrapper">
<div id="breadcrumb" class="breadcrumb">
	<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>

{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>
Attached Images
File Type: jpg fdc003cd766c810547270440f315f63e.jpg (89.7 KB, 0 views)
Reply With Quote
  #4  
Old 05-29-2014, 05:42 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I looked at you web-site. Why not implement the entire WordPress menu, since it already contains the drop-down menus you are requesting. I think you need to post this in the request forums unpaid or paid, this would be an easy project for a programmer to port / modify to give you the look and feel of your WordPress menu.
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 02:53 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03758 seconds
  • Memory Usage 2,217KB
  • Queries Executed 12 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (2)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete