• 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
    • Display all book chapters in ToC?

    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: Display all book chapters in ToC?

    • Issue Tools
      • View Changes
    1. issueid=4736 September 20, 2016 1:11 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Display all book chapters in ToC?

      In VW 3 a book chapter would display all other book chapters in the ToC.

      Is this also possible in VW4?
      If yes, then how do I do this?
      If this is a regression then please add this feature back.
    Issue Details
    Issue Number 4736
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.13
    Fixed Version 4.0.15
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. September 20, 2016 1:40 PM
      pegasus pegasus is offline
      VaultWiki Team
      The preferred way to accomplish this now is via a Sidebar Block (using block-type "Book Table of Contents") while viewing a book chapter. If you wish to include the sidebar block directly in the article body, you can do so using:
      Code:
      [WIDGET]sidebar|block="blockname"[/WIDGET]
      Where blockname is the unique name given to your Table of Contents block.

      Due to performance issues when books contain thousands of chapters, you must set a maximum number of chapters for the block in the block settings when you create the block. It will show an equal amount of preceding and subsequent chapters until the maximum is satisfied. If you wish to navigate the full table of contents for books with many chapters, you can use the link back to the book to get there.

      Of course, the old code should also work (using default limits for long books):
      Code:
      [TOC]BOOK[/TOC]
      If you have noticed that this no longer works, then it may be a bug.
      Reply Reply
    2. October 14, 2016 1:05 PM
      pegasus pegasus is offline
      VaultWiki Team
      Confirmed that there was a bug with the second form. It will work again starting in 4.0.15, although the user must have Javascript enabled. A trick had to be employed to make sure the TOC only contains chapters the user has permission to open, while also allowing the TOC to be cached.
      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:26 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 © 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.