• 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
    • Feature
    • Strip all font, size and color bbcodes from wiki

    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: Strip all font, size and color bbcodes from wiki

    • Issue Tools
      • View Changes
    1. issueid=3459 November 2, 2013 3:55 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Strip all font, size and color bbcodes from wiki

      Over time many wikis tend to become stuffed with font, size, color bbcodes. This is mostly due to the vbulletin preference setting that automatically adds this to a users writings. This makes wiki content messy and can cause bb codes to affect other bb codes. Please add a function to strip such bb code from all articles if the admin desires.
    Issue Details
    Issue Number 3459
    Issue Type Feature
    Project VaultWiki 4.x Series
    Category BB-Code Parsing
    Status Accepted
    Priority 7 - Minor Features / Enhancements
    Suggested Version 4.0.0 Beta 7
    Implemented Version (none)
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Votes for this feature 0
    Votes against this feature 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. November 3, 2013 10:11 AM
      pegasus pegasus is offline
      VaultWiki Team
      A bit of an easy script to write. But I wasn't aware of this vBulletin setting. If this is the case, then it's a bug: VaultWiki should not apply the user preference when the user contributes to wiki pages. Please let me know where to access this setting.
      Reply Reply  
    2. November 3, 2013 10:36 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      It turns out that this was an addon that allowed users to set their preferences in vbulletin options (font, font size, font color)
      I removed the addon last year, because the mass of unneeded bb code caused issues with VW. The main issue was that bb code tags sometimes got mixed up so that legitimate tags opened within a font tag and closed outside a font tag. I remember we had discussions and bug reports about this issue.
      The addon has been installed on my site for years, so there is a lot of problematic bb code left.
      Reply Reply  
    3. November 4, 2013 11:04 AM
      pegasus pegasus is offline
      VaultWiki Team
      Do you remember the name of the add-on, so I can add a check for it and ignore it if users still have it installed?
      Reply Reply  
    4. November 7, 2013 8:09 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Here it is: http://www.vbulletin.org/forum/showthread.php?t=175282
      Its mostly a matter of changing vb settings.
      Reply Reply  
    5. November 7, 2013 11:07 AM
      pegasus pegasus is offline
      VaultWiki Team
      That add-on is written in such a way that no input data or post data is ever modified. It simply adds inline CSS styles to the postbit template. For this reason, unless you used a different add-on or had modified it on your own, the default vBulletin editor behavior would typically be used.

      I can only see it adding font, size, etc because of these settings if and only if the text was copied from an existing post, by highlighting the output HTML (not the editor) and then pasting that into the WYSIWYG editor for a wiki page. In general this will cause problems with any WYSIWYG solution, and is why many of them offer a button to remove formatting or paste without formatting.

      However, I still agree that a tool to remove unwanted BB-Code tags from pages could be useful to make it easier for moderators to enforce specific coding standards for their wikis.
      Reply Reply  
    6. November 7, 2013 6:56 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Weird. The addon allows users to change their usercp options so that all future posts are set to a specific color, size and font. See: http://www.vbulletin.org/forum/attac...2&d=1207461161

      Doesnt really matter much though. As you say, its the unwanted tags should be removed with a tool.
      Reply Reply  
    7. April 8, 2014 9:48 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Quote Originally Posted by pegasus
      A bit of an easy script to write.
      As this is an easy script to write, could you schedule it for one of the upcoming feature releases? i.e. 4.0, 4.1 ?
      I think it wiki be very useful to bulk clean up our wikis.
      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 9:04 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.