• 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
    • Table cell class

    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: Table cell class

    • Issue Tools
      • View Changes
    1. issueid=4385 September 29, 2015 7:56 AM
      Gossamer Gossamer is offline
      Junior Member
      Table cell class

      I'm trying to add a class to my table headers, but the class is not outputting in the final html.

      This is my code:
      Code:
      [table]border="1" class="vw-sort-table"
      |- 
      | class="tcat" | Merit 
      | class="tcat" | Cost
      | class="tcat" | Prerequisite
      | class="tcat" | Description
      |-
      | Ambidextrous 
      | -2 
      | 
      | A character who is ambidextrous is equally as skilled with their left and right hands.  This can come into play in a variety of skills, but they have no trouble switching from one hand to the other.
      |-
      | Echolocation 
      | -4 
      | Race: Shadra 
      | A Shadra has fine-tuned their spatial awareness abilities and are capable of echolocation -- using sound to create an image of their surroundings.  This extends beyond what a Shadra can normally see.
      |-
      | Extra-Large Horns 
      | -2 
      | Race: Shadra 
      | The Shadra has extra large horns compared to most of their kind.  This, however, enhances the Shadra's hearing and their spatial awareness to roughly double that of a Shadra with normal-sized horns.  A Shadra who also has the Echolocation merit will find that ability enhanced as well.  
      [/table]
      I've also tried the table code example I copied from special:wikicodelist and the class doesn't show up on that one either.
      Code:
      [table] border="1"
      |-
      | class="tcat" colspan="2" | Example Header
      |-
      | style="font-style: italic" | Example Data 1
      | Example Data 2
      |-
      [/table]
    Issue Details
    Issue Number 4385
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.6
    Fixed Version 4.0.7
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. September 29, 2015 8:49 AM
      pegasus pegasus is offline
      VaultWiki Team
      Class names must be white-listed to prevent users from creating strange behaviors. There is no "tcat" in XenForo, so it is not on the white-list.
      The following non-wiki class names are on the XenForo white-list:
      • bigNumber
      • primaryContent
      • section
      • sectionMain
      • secondaryContent
      • xenTooltip


      I suppose the bug here is that "tcat" is used in the FAQ when "tcat" does not exist in XenForo.
      Reply Reply
    2. September 29, 2015 6:15 PM
      Gossamer Gossamer is offline
      Junior Member
      How can I white-list more class names?
      Reply Reply
    3. September 30, 2015 8:01 AM
      pegasus pegasus is offline
      VaultWiki Team
      For now, modify the list in vault/core/model/parser/handle/clean/xf.php. Keep a backup of your updated list when upgrading. We have to add a setting to do this.
      Reply Reply
    4. September 30, 2015 10:45 PM
      Gossamer Gossamer is offline
      Junior Member
      Thanks!
      Reply Reply
    5. October 11, 2015 1:40 PM
      pegasus pegasus is offline
      VaultWiki Team
      "Fixed" in the next release. This change has been desperately needed since as early as 2009: https://www.vaultwiki.org/issues/642/
      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:31 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.