• 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 question

    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 5 of 5

    Thread: navbar question

    • Thread Tools
      • Show Printable Version
    1. August 13, 2009 #1
      Rand al'Thor
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Rand al'Thor is offline
      New Member
      Join Date
      November 11, 2008
      Posts
      4
      Rep Power
      0

      navbar question

      I'm preparing to (finally) turn VaultWiki live on my site, and I'm having an issue with the navbar.

      I would like to force VaultWiki to use absolute URLs instead of relative ones [e.g., http://www.domain.ext/forum/showwiki.php vs. showwiki.php], but I don't see a way to do that. Is it possible?

      Thanks,

      Steven
      Reply With Quote Reply With Quote

    2. August 13, 2009 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      VaultWiki was designed to use absolute URLs for all /showwiki.php links. I can't think of a situation where it would created a relative URL. Is there a particular link in your navbar you are having issues with?
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. August 13, 2009 #3
      Rand al'Thor
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Rand al'Thor is offline
      New Member
      Join Date
      November 11, 2008
      Posts
      4
      Rep Power
      0
      My bad
      Reply With Quote Reply With Quote

    4. August 13, 2009 #4
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      To my understanding, the entire navbar typically uses relative links. How did you accomplish absolute URLs in the rest of the navbar? I would use the same method here if you can.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. August 13, 2009 #5
      Rand al'Thor
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Rand al'Thor is offline
      New Member
      Join Date
      November 11, 2008
      Posts
      4
      Rep Power
      0
      The vBa CMPS addon somehow changes the relative URLs in the navbar template to absolutes.

      I solved the problem by prepending /forum/ to these links in the vault_general_links template:

      Code:
      <if condition="$links['forum_link']">
      <tr>
      	<td class="vbmenu_option"<if condition="$links['main_page']"> style="font-size: 70%"</if>><a href="/forum/forumdisplay.php?$session[sessionurl]f=$topinfo[forumid]&amp;redirect=no"><if condition="$links['main_page']">-- </if>$topinfo[title] ($vbphrase[vault_list])</a></td>
      </tr>
      </if>
      <if condition="$links['create_link']">
      <tr>
      	<td class="vbmenu_option"><a href="/forum/newthread.php?$session[sessionurl]f=$topinfo[forumid]" title="$vbphrase[vault_new_article]" rel="nofollow">$vbphrase[vault_new_article]</a></td>
      </tr>
      </if>
      It works.
      Reply With Quote Reply With Quote

    Similar Threads

    1. Pricing question and upgrade question
      By Alan_SP in forum Pre-Sales Questions
      Replies: 4
      Last Post: March 22, 2011, 6:16 PM
    2. Default navbar Link
      By vimto in forum VaultWiki Questions
      Replies: 2
      Last Post: March 25, 2010, 7:24 PM
    3. Navbar Dropdown
      By Helmut71 in forum VaultWiki Questions
      Replies: 10
      Last Post: October 10, 2009, 1:48 PM
    4. Navbar and Forumview
      By Helmut71 in forum VaultWiki Questions
      Replies: 1
      Last Post: October 7, 2009, 4:46 AM
    5. Navbar links
      By fxlr8 in forum VaultWiki Questions
      Replies: 7
      Last Post: September 4, 2008, 10:52 AM

    Tags for this Thread

    all, are, but, can, changes, class, did, don, entire, for, forumid, from, having, here, how, http, like, live, method, navbar, new, only, other, php, possible, question, relative, rest, same, see, showwiki, that, the, there, use, was, way, when, where, with, would, www, you, your

    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:59 AM.
    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.