• 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
    • Caching stops parsing of IMG tags

    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: Caching stops parsing of IMG tags

    • Issue Tools
      • View Changes
    1. issueid=3942 August 23, 2014 3:52 AM
      DragonSigh DragonSigh is offline
      Junior Member
      Caching stops parsing of IMG tags

      We are using several IMG tags in our pages for external images and after upgrading to RC2 they displays as a plain text.
      Clearing the cache returns IMG bb-codes to its normal state (they displays images), but after refreshing the page they displays as a plain text again.So something in cache handle is the reason.

      Test page:
      https://www.vaultwiki.org/demo/IMG-bb-code-caching-test
    Issue Details
    Issue Number 3942
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.0 RC 2
    Fixed Version 4.0.0 RC 2
    Milestone VaultWiki 4.0 Gold
    Software DependencyvBulletin 4.x w/ ckEditor
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags bb-code, cache




    1. August 23, 2014 10:37 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/model/parser/base/vw.php, find:
      Code:
      'has_images' => (($this->options['do_bbcode'] OR $this->options['do_imgcode']) AND $has_img_tag) ? $has_img_tag : 0
      Replace with:
      Code:
      'hasimages' => (($this->options['do_bbcode'] OR $this->options['do_imgcode']) AND $has_img_tag) ? $has_img_tag : 0
      In vault/core/view/content/page/vw.php, find:
      Code:
      // TODO old hook 'vault_wikipost_unserialize'
      Add before:
      Code:
      		if (isset($temp_cache['hasimages']))
      		{
      			$item['parsedhasimages'] = $temp_cache['hasimages'];
      		}
      Then rebuild the cache in VaultWiki Admin Panel > Integrity > Counters.
      Reply Reply  
    2. August 23, 2014 12:43 PM
      DragonSigh DragonSigh is offline
      Junior Member
      Thanks. Works like a charm
      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 10:50 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.