• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 3.x Series
    • Bug
    • Style Images Break with Absolute StyleVars

    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.

    Issue: Style Images Break with Absolute StyleVars

    • Issue Tools
      • View Changes
    1. issueid=1051 January 27, 2010 2:48 AM
      pegasus pegasus is offline
      VaultWiki Team
      Style Images Break with Absolute StyleVars

      When I set the stylevars to absolute paths (e.g. http://www.vaultwiki.org/images/ rather than images/), the wiki's style images (bullets, background-images, etc) break. That's because the absolute path is hardcoded to the CSS template:
      Code:
      url({vb:raw vboptions.bburl}/{vb:stylevar imgdir_vault}
      Rather than:
      Code:
      url({vb:stylevar imgdir_vault}
      It was previously believed that this was necessary because external stylesheets seek URLs relative to themselves, but this was a problem already handled by vBulletin. The absolute path for stylevars needs to be available in case the admin sets up a CDN, for example.

      Fixed for the next build. All paths in CSS have been reduced to the {vb:stylevar}
    Issue Details
    Issue Number 1051
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Styling / CSS
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 3.0.0 Beta 3
    Fixed Version 3.0.0 Beta 4
    Milestone VaultWiki 3.0.0
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 9:54 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.