• 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
    • Almost all wiki bbcodes are gone after upgrade to xf2.

    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: Almost all wiki bbcodes are gone after upgrade to xf2.

    • Issue Tools
      • View Changes
    1. issueid=5810 August 3, 2019 5:47 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Almost all wiki bbcodes are gone after upgrade to xf2.

      Nothing parses because the bbcodes are gone. Only book & category are still there. Nothing else.
    Issue Details
    Issue Number 5810
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.1.0 Beta 2
    Fixed Version (none)
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 1
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. August 4, 2019 12:49 PM
      pegasus pegasus is offline
      VaultWiki Team
      I did not have this happen on a site I upgraded from XF1+4.0.16 to XF2+4.1.0 Beta 2 last week. It looks like all the BB-Codes are still there. Please double-check the database that there are no xf_bb_code entries with addon_id = 'vw/vwcustom'. Possibly the BB-Codes are there but not appearing in the admin page for some reason.

      What was the process used? What version was the XF1 installation on before upgrading? Did the 4.1.0 Beta 2 upgrade finish without issue, or does the add-on manager still give an Upgrade option?

      If the BB-Codes are truly gone, this occurs because XenForo's add-on setup process automatically deletes all BB-Codes whenever an add-on gets upgraded due to the way XenForo has designed it. XenForo does not provide a method to disable this, so we workaround the issue by saving VaultWiki's BB-Codes to a different add-on ID. If the BB-Code step in our upgrade process was skipped for some reason, it is also possible that the add-on ID was not changed, so XenForo was able to delete the BB-Codes. This might be shown in internal-data://vw_logs/upgrade, which is a log of all the upgrade steps that were performed prior to letting XenForo perform its stock steps. The BB-Code step is generally the last or second-to-last step in the log.
      Reply Reply  
    2. August 12, 2019 3:29 PM
      pegasus pegasus is offline
      VaultWiki Team
      Another user had this problem when upgrading XF1 to XF2 and I was able to locate the cause. It is fixed in the next build. Upgrades performed after that upgrade should not have the BB-Codes inexplicably deleted.

      For upgrades already affected, upgrading to the next version will automatically replace the missing BB-Codes. However, any customizations you had made, such as tag-name, icon, or wiki-related options will need to be re-made.

      Users with some programming ability can replace the BB-Codes manually by running the following code:

      Code:
      class Fake_View
      {
      public function explain() {}
      }
      $view = new Fake_View();
      \vw_Hard_Core::install('Common')->bbcodes($view);
      Reply Reply  
    3. August 12, 2019 7:26 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Thanks!
      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 6:51 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.