• 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
    • sub-sections are imported as sections

    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: sub-sections are imported as sections

    • Issue Tools
      • View Changes
    1. issueid=3462 November 2, 2013 4:06 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      sub-sections are imported as sections

      Wiki articles with child-sections have all their child sections imported as main sections.
    Issue Details
    Issue Number 3462
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Importing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.0 Beta 7
    Fixed Version 4.0.0 Gamma 1
    Milestone VaultWiki 4 Beta X
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. November 3, 2013 10:04 AM
      pegasus pegasus is offline
      VaultWiki Team
      Sections are not actually stored separately in the database. They (currently) only exist as text in your page's text. An import would not have changed the text in any way.

      If you had sections that were acting as sub-sections before, but the levels are different now (i.e. h2 instead of h3), this could be due to a number of reasons:

      There are improvements to sectioning in VaultWiki 4. If you jump levels, or if your level numbering is not consistent under the same level, VaultWiki normalizes them, so if you have -- 2 > 3, 1 > 3, 1 > 2 -- it becomes 1 > 2, 1 > 2, 1 > 2.

      However, if the levels don't make sense at all (e.g. everything is collapsed to level 1, or successively a child of the last), then it is possible it's a parser issue. VaultWiki doesn't really have its own BB-Code parsing algorithm. Under vBulletin, we use vBulletin's algorithm. Under XenForo, we use XenForo's.

      If I remember correctly, historically you had an issue with tag nesting due to vBulletin's WYSIWYG editor not generating valid BB-Code. The problem then comes when importing to XenForo, which uses a completely different method for parsing (recursive, rather than progressive). Not only is XenForo less forgiving when it comes to bad BB-Code, but XenForo's editor is much better than vBulletin's at generating valid code, so it doesn't have to be forgiving.

      If the tags are very poorly nested, it's possible that the option values for one H tag may apply to a number of sections after it.

      If you can provide an example of a page that exhibits the improper sectioning you describe, I can tell you more about what the cause might be.
      Reply Reply  
    2. November 3, 2013 10:46 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      All my articles have the same paragraph setup. Each paragraph has a headline title which are ordered in levels. i.e.
      -h1
      |-h2
      |-h2
      |--h3
      |--h3
      |--h3
      |-h2
      |--h3
      |--h3
      |--h3
      -h1

      After import all levels are turned into h1
      Take any article in my live and development sites as an example and compare. For example the same one that I sent by PM.
      Reply Reply  
    3. November 4, 2013 10:36 AM
      pegasus pegasus is offline
      VaultWiki Team
      Confirmed a bug in XenForo. All levels (when the option is wrapped in "") are interpreted as 0, which defaults to 2, which effectively makes all sections the same level and non-breaking (see also: https://www.vaultwiki.org/issues/3468/)

      This bug is fixed in the next release.
      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 12:25 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 © 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.