• 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
    • Template parse issue in 3.0.9

    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: Template parse issue in 3.0.9

    • Issue Tools
      • View Changes
    1. issueid=2205 January 21, 2011 11:36 PM
      Kaelon Kaelon is offline
      Regular Member
      Template parse issue in 3.0.9

      Before I upgraded to VaultWiki 3.0.9, my template was parsing carriage returns correctly. Now, however, it doesn't appear to be doing so.

      Template -- http://www.aelyria.com/wiki/Template:Navbox
      Template in use -- http://www.aelyria.com/wiki

      Any thoughts as to how to force the carriage returns in 3.0.9?
    Issue Details
    Issue Number 2205
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 3.0.9
    Fixed Version 3.0.10
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. January 22, 2011 1:21 PM
      pegasus pegasus is offline
      VaultWiki Team
      This is a bug with the Category tag when the disappearing format is not used. Fixed for the next release.

      In vault/plugins/bbcode.php, find:
      Code:
      					'strip_space_before' => (CATEGORY_SPACE AND $spaceid == CATEGORY_SPACE) ? 2 : 0,
      					'strip_space_after' => (CATEGORY_SPACE AND $spaceid == CATEGORY_SPACE) ? 2 : 0
      				);
      Replace with:
      Code:
      				);
      
      				if (CATEGORY_SPACE AND $has_option == 'no_option' AND $spaceid == CATEGORY_SPACE)
      				{
      					$parser->tag_list['no_option']["$tag_name"]['strip_space_before'] = 2;
      					$parser->tag_list['no_option']["$tag_name"]['strip_space_after'] = 2;
      				}
      Reply Reply  
    2. January 23, 2011 1:04 AM
      Kaelon Kaelon is offline
      Regular Member
      Thanks, pegasus. That fixed it!
      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 4:55 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.