• 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
    • Early TOC Position

    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: Early TOC Position

    • Issue Tools
      • View Changes
    1. issueid=426 February 23, 2009 1:02 AM
      pegasus pegasus is offline
      VaultWiki Team
      Early TOC Position

      This is very difficult to duplicate. It is really only possible to do with an addon that adds new sections to the article, and that also adds these sections to the TOC. The main body text cannot have ANY sections of its own. In this case, when forcing the TOC, or when enough values were added to trigger the TOC creation, the TOC will be the first part of the article, above any other text.

      This occurs because in the case when there are no sections and a TOC is forced while TOC items were added separately, VaultWiki tries to find a valid insertion point for the TOC by searching for the first paragraph break. However, VaultWiki thinks the return value of the seeker function is a character position, when it is in fact the text of the first paragraph.

      Fixed for the next build. When sections are added, it will place the TOC at the end of the main body text. In the seemingly impossible case now that it ever try to find the first paragraph as mentioned above, it will count the characters returned before attempting to place the TOC.
    Issue Details
    Issue Number 426
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Headlines / Sections
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 2.2.0
    Fixed Version 2.2.1
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    + 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:04 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.