• 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
    • Task
    • Move Wiki BB-Codes to New Table

    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: Move Wiki BB-Codes to New Table

    • Issue Tools
      • View Changes
    1. issueid=2977 March 18, 2013 9:10 PM
      pegasus pegasus is offline
      VaultWiki Team
      Move Wiki BB-Codes to New Table

      While the wiki BB-Codes were added to vBulletin's 'bbcode' table to gain the 'buttonimage' field and have settable 'vw_options', this is not ideal where the dummy BB-Codes might overwrite default BB-Codes or BB-Codes added in the wrong hook (bbcode_fetch_tags). Instead, the wiki tags should be saved in their own table and merged into the tag_list at run-time after checking for collisions. This design change would have the added effect of matching the XenForo integration for BB-Codes, which would make managing upgrades and other data simpler.
    Issue Details
    Issue Number 2977
    Issue Type Task
    Project VaultWiki 4.x Series
    Category BB-Code Parsing
    Status Completed
    Priority 6 - Dev-Related Tasks
    Target Version 4.0.0 Alpha 1 Depot
    Resolved Version 4.0.6
    Milestone VaultWiki 4.2
    Software DependencyAny
    License TypePaid
    Votes to perform 0
    Votes not to perform 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 24, 2013 12:52 AM
      pegasus pegasus is offline
      VaultWiki Team
      Due to continued issues users are having with BB-Codes not falling back, this needs to be given sooner attention.
      Reply Reply  
    2. February 13, 2014 12:03 PM
      pegasus pegasus is offline
      VaultWiki Team
      With the XenForo behavior emulating the vBulletin behavior in XF 1.3+, it makes little sense to add an extra query to vBulletin when a query can be reduced in XenForo.

      Further, it seems that the entirety of the Syntax Manager can be removed for XenForo, since the BB-Code Manager uses DMs and provides an extensible interface. vBulletin now deserves a second look to see if Syntax Manager can be merged with their BB-Code Manager, even if the coding would be extremely convoluted.
      Reply Reply  
    3. November 13, 2014 11:00 AM
      pegasus pegasus is offline
      VaultWiki Team
      This has been moved forward to be addressed before a stable release. Because in fact, the wiki BB-Codes need to be more abstract than they already are.

      The problem we have faced historically is BB-Code name conflicts:
      - [TABLE] tag. Other mods added one. vBulletin 4.1.4 added one.
      - [H] tag. vBulletin 4.1.4 added one.
      - [HR] tag. vBulletin 4.1.4 added one.
      - [GALLERY] tag. Other mods added one. XenForo now adds one in an official add-on.

      Because multiple variants of many tags are actually useful (e.g. VaultWiki's GALLERY tag performs a different function than XenForo's), it is preferable to be able to rename tags at will without disturbing the function that the tag performs. This requires a second unique key to identify tags rather than the user-facing tag name.
      Reply Reply  
    4. August 22, 2015 4:20 PM
      pegasus pegasus is offline
      VaultWiki Team
      Abstracting BB-Codes in this way has turned out to be quite a project, since the tag names are hard-coded in many places for many different purposes. Most of the work is done as of this afternoon, with the following exceptions:

      - Update the importer to capture renamed tags from the source db and map them to renamed tags in the target db when converting text content.
      - Update the importer to capture the new prefix-tag variant.
      - Update Special:WikiCodeList FAQ entries to the new names.
      - Update the install/upgrade system to add BB-Codes via custom XML, so that the BB-Code install process can use the same source data cross-platform, and so these tags are auto-renamed during installation if the names are already in use.

      This work is expected to be complete by 4.0.6.
      Reply Reply  
    5. August 29, 2015 12:53 PM
      pegasus pegasus is offline
      VaultWiki Team
      This change is completed in the next release. It should now be possible to change the tags for VaultWiki BB-Codes. For example, you can use another mod's GALLERY or TABLE while renaming the VaultWiki tags to GALLERY_WIKI and TABLE_WIKI (or whatever you want to name them), so you can still use both versions of the tags.

      Note: It is not recommended to rename any tags after you have used them for a while, because existing text cannot be updated automatically -- there is no way to know whether the usage is for another mod's tag or VaultWiki's tag without human review of the usage.
      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 8: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 © 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.