• 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 Image Parameters Not Parsing

    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 Image Parameters Not Parsing

    • Issue Tools
      • View Changes
    1. issueid=650 June 24, 2009 3:47 PM
      Mokonzi Mokonzi is offline
      Senior Member
      Additional Image Parameters Not Parsing
      Additional Image Parameters Not Parsing

      I've noticed that the the additional parameters for images seems to prevent them parsing properly:

      (Example: http://www.thexuniverse.com/forum/sh...illiam+Brennan)

      Code is:

      [ image]imagename.jpg|60px|border|thumb|Some Caption Text[ /image] (minus the spaces).

      Tried rebuilding the namespace.
    Issue Details
    Issue Number 650
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Templates
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 2.3.1
    Fixed Version 2.3.2
    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 26, 2009 11:46 AM
      pegasus pegasus is offline
      VaultWiki Team
      Because of where the problem occurs (wrapped in a template), I have moved this to the main product's bug tracker. In vault/special_class_template.php, find:
      PHP Code:
      '#\[table\].*\[/table\]#siUe' 
      Replace with:
      PHP Code:
      '#\[(' . preg_quote($pregskip) . ')\].*\[/\1\]#siUe' 
      Reply Reply  
    2. June 26, 2009 4:18 PM
      Mokonzi Mokonzi is offline
      Senior Member
      I've tried the replacement, but nothing is working still... even if I edit the article and save it. :s
      Reply Reply  
    3. June 27, 2009 7:22 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed. In vault/special_class_template.php, find:
      Code:
      		foreach ($vbulletin->bbcodecache AS $tag => $taginfo)
      		{
      			$pregskip .= "|$taginfo[bbcodetag]";
      		}
      
      		$preg_no_auto = array(
      			'#\[(' . preg_quote($pregskip, 1) . ')\].*\[/\1\]#siUe',
      			'#\[[^\[]*\]#sUe'
      		);
      Code:
      		foreach ($this->parser->registry->bbcodecache AS $tag => $taginfo)
      		{
      			$pregskip .= "|" . preg_quote($taginfo['bbcodetag']);
      		}
      
      		$preg_no_auto = array(
      			'#\[(' . substr($pregskip, 1) . ')\].*\[/\1\]#siUe',
      			'#\[[^\[]*\]#sUe'
      		);
      Reply Reply  
    4. June 28, 2009 4:49 AM
      Mokonzi Mokonzi is offline
      Senior Member
      It's fixed now, but...

      Now any images that are classed as 'thumb' are put into the lightbox.

      This is working different to 2.3.0, IIRC, in which it was embedded in a frame.

      edit:

      To clarify: if I use thumbnail, instead of using the thumbnail image, it drops it into the lightbox.

      If I don't I can resize the image (not ideal as I'd prefer the thumbnail)
      Reply Reply  
    5. June 28, 2009 8:52 AM
      pegasus pegasus is offline
      VaultWiki Team
      The lightbox integration feature was added in RC1.

      According to vBulletin (AdminCP -> Maintenance -> Update Counters -> Rebuild Attachment Thumbnails), your server does not have image support. If this is the case, neither vBulletin nor VaultWiki will be unable to generate thumbnails for your images.
      Reply Reply  
    6. June 28, 2009 9:32 AM
      Mokonzi Mokonzi is offline
      Senior Member
      Ok, this is a new problem since the server problems I had. Will look into that. Thanks pegasus.
      Reply Reply  
    7. June 29, 2009 3:36 PM
      Mokonzi Mokonzi is offline
      Senior Member
      I've got the GD support now, but then had issues with rebuilding the thumbnails... it got stuck looping over one attachment, an attachment not in the wiki.

      When I disabled the wiki... we got the whole lot rebuilt successfully... so... that may be something worth checking out (having to disable the wiki).
      Reply Reply  
    8. June 29, 2009 8:14 PM
      pegasus pegasus is offline
      VaultWiki Team
      In AdminCP -> Plugins & Products -> Plugin Manager -> CES VaultWiki Images -> attachdata_presave, find:
      Code:
      $forumlist = array();
      Replace with:
      Code:
      $forumlist = array(-1 => -1);
      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 1: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.