• 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
    • Additional CSS Classes Ignored

    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: Additional CSS Classes Ignored

    • Issue Tools
      • View Changes
    1. issueid=642 June 22, 2009 10:18 AM
      Mokonzi Mokonzi is offline
      Senior Member
      Additional CSS Classes Ignored
      Additional CSS Classes Ignored in Template Tables

      I've noticed today that any CSS classes defined in Additional CSS classes are ignored by the parser, and exported as class="".

      This applies to Templates that use Table code.

      Normal CSS code found in the Main CSS section, but not Additional CSS, such as tcat, tborder and alt1 are all parsed.

      Bug or feature?

      Example article:

      http://www.thexuniverse.com/forum/sh...itle=Barracuda
    Issue Details
    Issue Number 642
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category BB-Code Parsing
    Status Not a Bug
    Priority 4 - Warnings / Script Errors
    Affected Version 2.3.1
    Fixed Version (none)
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 22, 2009 11:07 AM
      pegasus pegasus is offline
      VaultWiki Team
      This is a feature. You can define additional CSS classes for tables with a custom plugin using hook vault_bbcode_table.
      PHP Code:
      $this->standard['classes']['ClassName'] = 1; 
      Reply Reply  
    2. June 22, 2009 11:27 AM
      Mokonzi Mokonzi is offline
      Senior Member
      How will I get that to work in practice?
      Reply Reply  
    3. June 22, 2009 1:31 PM
      pegasus pegasus is offline
      VaultWiki Team
      Replace "ClassName" with the name of the class you want to allow.
      Reply Reply  
    4. June 23, 2009 4:13 AM
      Mokonzi Mokonzi is offline
      Senior Member
      Still lost, am I looking for this in one of the files, or do I need to create a plugin within vBulletin to use it?

      If it's a custom plugin, any guides you can give me on how to do it without me messing my site up?
      Reply Reply  
    5. June 23, 2009 4:16 AM
      pegasus pegasus is offline
      VaultWiki Team
      See above, you need to create a plugin. The hook location is vault_bbcode_table.
      Reply Reply  
    6. June 23, 2009 12:17 PM
      Mokonzi Mokonzi is offline
      Senior Member
      Works great. Thanks Pegasus.
      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 3:58 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.