• 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
    • VaultWiki plugin strips plain text bbcode formatting

    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: VaultWiki plugin strips plain text bbcode formatting

    • Issue Tools
      • View Changes
    1. issueid=1234 March 8, 2010 3:07 PM
      kmike kmike is offline
      Junior Member
      VaultWiki plugin strips plain text bbcode formatting

      We have a product installed (Easy Forms) that takes a custom form input (with bbcodes), converts it to plain text and sends an email.
      After installing VaultWiki, the emails started to arrive stripped from all formatting. I.e.
      here's how email content looked before:
      _Contact John Doe_
      *Your Name* my test
      *Your Email* test@test.com
      *Subject* testing
      *Message* sdfsdfsdf
      Here's how it looks VaultWiki-processed:
      Contact John DoeYour Name my test Your Email test@test.com Subject testing Message sdfsdfsdf
      The VaultWikie plugin for handling the bbcode_parse_start hook is responsible for that (found by trial and error).
    Issue Details
    Issue Number 1234
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 2.5.7
    Fixed Version 3.0.0 RC 1
    Milestone VaultWiki 3.0.0
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 8, 2010 3:13 PM
      pegasus pegasus is offline
      VaultWiki Team
      This issue note was made as an issue.
      For a temporary fix, in vault/special_plugins_bbcode.php, find:
      Code:
      	if ($parser_class == 'vb_bbcodeparser_plaintext')
      Replace with:
      Code:
      	if ($parser_class == 'vb_bbcodeparser_plaintext' AND $GLOBALS['foruminfo']['vault_type'] > 0)
      Reply Reply  
    2. March 9, 2010 8:07 AM
      kmike kmike is offline
      Junior Member
      Thanks for hooking me up as a licensee.
      Wouldn't checking $vbulletin->foruminfo['vault_type'] be better?
      Reply Reply  
    3. March 9, 2010 11:14 AM
      pegasus pegasus is offline
      VaultWiki Team
      Yes, but that's essentially a copy of the variable I used. Also as I said it's a temporary fix. A cleaner, better one will be included in the next release.
      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:33 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.