• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • Navbar Dropdown

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Results 1 to 11 of 11

    Thread: Navbar Dropdown

    • Thread Tools
      • Show Printable Version
    1. October 7, 2009 #1
      Helmut71
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Helmut71 is offline
      Junior Member
      Join Date
      October 3, 2009
      Posts
      10
      Rep Power
      0

      Question Navbar Dropdown

      How do I add manage the menu items in the wiki-navbar drowpdown menu?
      I did set the namespaces for wiki, book and special and I did set the rights but the menu is still empty / isn't shown.
      Reply With Quote Reply With Quote

    2. October 8, 2009 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is online now
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      688
      Did you edit the template vault_general_links and change it from table-based to list-based? In this case, you should make the following file edit. In vault/special_plugins.php, find:
      PHP Code:
      if (substr_count($vault_menu, "<td") > 0) 
      Replace with:
      PHP Code:
      if ($links['menu_header'] OR $links['special_header']) 
      If you are using a custom navbar template, make sure the following is in the template:
      Code:
      $template_hook[navbar_buttons_left]
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. October 8, 2009 #3
      Helmut71
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Helmut71 is offline
      Junior Member
      Join Date
      October 3, 2009
      Posts
      10
      Rep Power
      0
      @pegasus: I only changed general_forum_post and general_menu, shall I try the code change anyway?

      $template_hook[navbar_buttons_left]
      where should this be added?

      I also tried the original vB-style and there is no dropdown, too.
      Reply With Quote Reply With Quote

    4. October 8, 2009 #4
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is online now
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      688
      In vBulletin Options > vBulletin Options > VaultWiki: General Settings, is "Enable Navbar Wiki Menu?" set to "Yes"?

      Please post your modified vault_general_menu.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. October 8, 2009 #5
      Helmut71
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Helmut71 is offline
      Junior Member
      Join Date
      October 3, 2009
      Posts
      10
      Rep Power
      0
      the menu is set on "yes"

      I just noticed that the menu is shown in some ereas (eg forum) but doesn't work in other areas like vbcms, photoplog, ibpro arcade..
      Reply With Quote Reply With Quote

    6. October 9, 2009 #6
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is online now
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      688
      If a page doesn't eval() $navbar in the global scope, or if $template_hook is unavailable, then the menu simply won't appear. In this case, this would be a design issue of the mod in question. Several NuHit mods did this before that company disappeared.

      However, I'm not familiar with the current versions of the above mentioned mods, so I cannot confirm whether this or something else is the problem. Can you provide links to each of these?
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    7. October 9, 2009 #7
      Helmut71
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Helmut71 is offline
      Junior Member
      Join Date
      October 3, 2009
      Posts
      10
      Rep Power
      0
      sure.

      ibpro arcade: http://www.vbulletin.org/forum/showthread.php?t=101554
      Photoplog: http://www.photoplog.com/
      Reply With Quote Reply With Quote

    8. October 9, 2009 #8
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is online now
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      688
      Now I can only see Photoplog Lite, so bear with me. In photoplog/functions.php, find:
      Code:
      global $notifications_total, $notifications_menubits;
      Add after:
      Code:
      global $template_hook;
      You should also complain to their support that $template_hook is not available in the scope they output the page. Using a setting to add this variable is not acceptable, since it's a default part of vBulletin (and they bothered integrating $notifications_menubits).

      It looks to me like the most recent release of ibpro arcade is compatible. If you haven't updated that in a while, the newest version is 2.6.8.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    9. October 9, 2009 #9
      Helmut71
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Helmut71 is offline
      Junior Member
      Join Date
      October 3, 2009
      Posts
      10
      Rep Power
      0
      It looks to me like the most recent release of ibpro arcade is compatible. If you haven't updated that in a while, the newest version is 2.6.8.
      I do have the lates version - and the navbar dropdown doesn't work.
      Reply With Quote Reply With Quote

    10. October 10, 2009 #10
      Helmut71
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Helmut71 is offline
      Junior Member
      Join Date
      October 3, 2009
      Posts
      10
      Rep Power
      0
      thanks a lot for the hint with photoplog.

      Shall I try sthg similar with ibpro arcade?
      Reply With Quote Reply With Quote

    11. October 10, 2009 #11
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is online now
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      688
      The problem with ibpro arcade is different. It seems that <i>$GLOBALS['vault_menu']</i> is nulled before the $navbar is eval()d. I don't have an arcade test install so I can't figure out where exactly this occurs. I have read through the code for the arcade multiple times with no luck.

      You can just as easily remove the menu link from the arcade pages with a template edit in <i>vault_general_menu</i>:
      Code:
      &lt;if condition="THIS_SCRIPT != 'arcade'"&gt;
      ...
      &lt;/if&gt;
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. How to manually add navbar dropdown menu
      By DChapman in forum VaultWiki Questions
      Replies: 7
      Last Post: March 20, 2012, 12:36 PM
    2. Default navbar Link
      By vimto in forum VaultWiki Questions
      Replies: 2
      Last Post: March 25, 2010, 7:24 PM
    3. Navbar and Forumview
      By Helmut71 in forum VaultWiki Questions
      Replies: 1
      Last Post: October 7, 2009, 4:46 AM
    4. navbar question
      By Rand al'Thor in forum VaultWiki Questions
      Replies: 4
      Last Post: August 13, 2009, 5:05 PM
    5. Navbar links
      By fxlr8 in forum VaultWiki Questions
      Replies: 7
      Last Post: September 4, 2008, 10:52 AM

    Tags for this Thread

    dropdown, hook, manage, navbar, php, quote

    View Tag Cloud

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • 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 Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 7:39 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.