• 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 4.x Series
    • Bug
    • [4.1 Alpha 3] Admin cp: XF2.1 wiki button image url 404 for new wiki install (until any custom bbcode is saved)

    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: [4.1 Alpha 3] Admin cp: XF2.1 wiki button image url 404 for new wiki install (until any custom bbcode is saved)

    • Issue Tools
      • View Changes
    1. issueid=5691 March 28, 2019 1:48 PM
      ACL ACL is offline
      Regular Member
      [4.1 Alpha 3] Admin cp: XF2.1 wiki button image url 404 for new wiki install (until any custom bbcode is saved)

      After installing VW 4.1 Alpha 3 (build002) to a vanilla copy of XenForo 2.1.1 ... In the BBcode button manager, each of the VW button images fails to load the image:
      Failed to load resource: the server responded with a status of 404 (Not Found).
      It turns out that the image source path for each of the wiki buttons is pointing to the forum root directory, e.g:
      Code:
      <img src="bb_headline.gif" alt="">
      For the public editor, the buttons weren't showing up at all (not even a placeholder)

      However, if I locate one of the wiki bbcodes in Custom BB codes, open it in edit mode and then save it (without making any changes), this fixes the missing images. The path for the example above then becomes:
      Code:
      <img src="styles/default/vw/vw/editor/mce/bb_headline.png" alt="">
      And now the buttons show up on the public editor, too. Weird .

      I'm not sure whether this is a VaultWiki or XenForo issue. With how the file extension changes from gif to png that seems to indicate that it is something VW related, but not sure.

      In a moment I'll attach a screenshot showing the bbcode button manager from before editing/saving one of the custom bbcodes.
    Issue Details
    Issue Number 5691
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.1.0 Alpha 3
    Fixed Version 4.1.0 Beta 1
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 1
    Assigned Users (none)
    Tags (none)




    1. March 28, 2019 2:19 PM
      pegasus pegasus is offline
      VaultWiki Team
      I think this occurs because XenForo rebuilds the BB-Code cache during installation while the add-on is basically disabled (my complaints to the devs about issues like this usually fall on deaf ears). Because of this, the rebuilt cache does not include some of the extra properties that VaultWiki adds to \XF\Entity\BbCode. This should be fixed in the next release by automatically rebuilding the BB-Code cache a second time after the initial installation (editing and saving a BB-Code like you have done rebuilds the cache too).
      Reply Reply  
    2. March 28, 2019 2:30 PM
      ACL ACL is offline
      Regular Member
      Thanks for the explanation about the BB code cache rebuild order, this does sound quite plausible as the cause. I guess we'll know for sure if a new install of the next VW version exhibits the same issue or not
      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:29 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.