vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Navigation bar, drop downs help (https://vborg.vbsupport.ru/showthread.php?t=311759)

stalkingdatoast 05-29-2014 03:33 AM

Navigation bar, drop downs help
 
1 Attachment(s)
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.

stalkingdatoast 05-29-2014 05:11 AM

Quote:

Originally Posted by tbworld (Post 2499899)
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.

stalkingdatoast 05-29-2014 05:20 AM

1 Attachment(s)
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>


tbworld 05-29-2014 05:42 AM

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.


All times are GMT. The time now is 10:58 AM.

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.01156 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete