• 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
    • Hroizontal Rule broken

    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: Hroizontal Rule broken

    • Issue Tools
      • View Changes
    1. issueid=656 July 3, 2009 12:23 AM
      tommythejoat tommythejoat is offline
      Regular Member
      Hroizontal Rule broken
      PHP fatal error on code with HR

      An attempt to use HR for documentation resulted in the following error.
      Code:
      error:  [] operator not supported for strings in /var/www/html/vault/special_plugins_bbcode.php on line 539
      [02-Jul-2009 22:07:41] PHP Fatal error:  [] operator not supported for strings in /var/www/html/vault/special_plugins_bbcode.php on line 539
      Examples are called Horizontal Rule Test, Horizontal Rule Test 2 and Horizontal Rule Test 3 in our Sandbox area
    Issue Details
    Issue Number 656
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 2 - Fatal / Database 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. July 3, 2009 12:38 AM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs when you include "color" (no number) in combination with "color1" or "color2". In vault/special_plugins_bbcode.php, find:
      PHP Code:
      $color = $val; 
      Replace with:
      PHP Code:
      $color[0] = $val; 
      Find:
      PHP Code:
      $color = $GLOBALS['stylevar']['tborder_bgcolor']; 
      Replace with:
      PHP Code:
      $color[0] = $GLOBALS['stylevar']['tborder_bgcolor']; 
      Find and delete:
      Code:
      	if (empty($color[0]))
      	{
      		$color[0] = $color;
      	}
      Find:
      PHP Code:
      $color[1] = $color; 
      Replace with:
      PHP Code:
      $color[1] = $color[0]; 
      Reply Reply  
    2. July 3, 2009 11:50 AM
      tommythejoat tommythejoat is offline
      Regular Member
      Thanks. 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 11:39 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.