• 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
    • Stylevar Can't be Read

    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: Stylevar Can't be Read

    • Issue Tools
      • View Changes
    1. issueid=817 September 7, 2009 5:28 AM
      Jaxel Jaxel is offline
      Junior Member
      Stylevar Can't be Read

      Okay... another issue I just noticed... this is the CSS for external links on my style...

      Code:
      .link-http { background: url($vboptions[bburl]/$stylevar[imgdir_vault]/external.png) center right no-repeat; }
      However, in the source code of my pages this is the outcome...

      Code:
      .link-http { background: url(http://www.8wayrun.com//external.png) center right no-repeat; }
      For some reason, the $stylevar[imgdir_vault] code is not being read correctly...
      According to my styles, this value is properly set to "vault/images".
    Issue Details
    Issue Number 817
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Styling / CSS
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 2.5.2
    Fixed Version 2.5.3
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. September 7, 2009 1:09 PM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/special_plugins.php, find:
      Code:
      			$vault->misc['vault_css'] = "/**\r\n* VaultWiki " . CES_VAULT_VERSION . " CSS\r\n* Style: '$style[title]'; Style ID: $style[styleid]\r\n*/";
      Add before:
      Code:
      			global $stylevar;
      Reply Reply  
    2. September 7, 2009 1:34 PM
      Jaxel Jaxel is offline
      Junior Member
      I don't like to do file edits... the $stylevars worked yesterday... suddenly not today. As well, this is supposed to be built in...
      Reply Reply  
    3. September 7, 2009 1:58 PM
      pegasus pegasus is offline
      VaultWiki Team
      This only occurs for forums that do NOT store CSS in external files. It has been fixed for the next build using the above code change.
      Reply Reply  
    + 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 7:27 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 © 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.