• 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
    • Edit section for included templates dont work

    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: Edit section for included templates dont work

    • Issue Tools
      • View Changes
    1. issueid=2536 November 15, 2011 5:00 AM
      Lord Doys Lord Doys is offline
      Junior Member
      Edit section for included templates dont work

      When you have a template include in a template the edit section link doesnt work, and you get the message:

      vBulletin Message

      The section you are trying to edit could not be found in the current page.

      Example: Snuggly Pigglebottom
    Issue Details
    Issue Number 2536
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Templates
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 3.0.14
    Fixed Version (none)
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. November 15, 2011 1:14 PM
      pegasus pegasus is offline
      VaultWiki Team
      Okay so it seems that if an included template contains another included template, or contains broken BB-Code, the [noedit] tags around the first-level template are not properly resolved, and if said template contains a headline, it might escape suppression and consider itself editable. This could be a difficult one to fix, mainly due to concessions for the broken BB-Code possibility.
      Reply Reply  
    2. November 15, 2011 8:08 PM
      pegasus pegasus is offline
      VaultWiki Team
      Try editing vault/class/bbcode.php. Find:
      Code:
      				if ($node['closing'] == false)
      				{
      					$parse_options['no_edit'] = 1;
      				}
      				else
      				{
      					$parse_options['no_edit'] = 0;
      				}
      Replace with:
      Code:
      				if ($node['closing'] == false)
      				{
      					$parse_options['no_edit']++;
      				}
      				else if ($parse_options['no_edit'])
      				{
      					$parse_options['no_edit']--;
      				}
      Reply Reply  
    3. November 16, 2011 2:13 AM
      pegasus pegasus is offline
      VaultWiki Team
      Merged to 4.0.0 Alpha 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 5:44 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.