• 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
    • Bookmarks with Xenforo don't 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: Bookmarks with Xenforo don't work

    • Issue Tools
      • View Changes
    1. issueid=5836 August 31, 2019 4:12 PM
      expanserpb expanserpb is offline
      Junior Member
      Bookmarks with Xenforo don't work

      You can set a bookmark on a wiki page but it never shows in Xenforo bookmarks
    Issue Details
    Issue Number 5836
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.1.0 Beta 2
    Fixed Version (none)
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. September 1, 2019 4:16 AM
      ACL ACL is offline
      Regular Member
      Nice find. I just tried this on my offline test site and I experience the same as you - the bookmarks for VW content is not visible. The bookmark item does get saved into the xf_bookmark_item database table.

      The issue is that the bookmark_handler_class has not been added for the vwpage content type. I created this with the value 'vw\vw\Handler\Bookmark\Page'. Once this is done, then the bookmarks for standard VW pages appear correctly for me.

      ---

      For the vwspecial content type, I repeated the above albeit with the value 'vw\vw\Handler\Bookmark\Special'. The title includes the HTML characters for the 'Special' prefix. Example:
      Code:
      Special Page '<span class="vw-inline-prefix label label--hidden">Special</span> Categories'
      For the vwrevision content type, some more work is required. As it is, there is an SQL statement error which appears to come from vw\vw\Handler\Bookmark\History::vwFetchPrevious(&$item). But to be honest, I'm not sure why someone would want to bookmark a specific page revision?

      I have not checked any further content types.
      Reply Reply  
    2. September 1, 2019 6:12 AM
      expanserpb expanserpb is offline
      Junior Member
      "The issue is that the bookmark_handler_class has not been added for the vwpage content type. I created this with the value 'vw\vw\Handler\Bookmark\Page'. Once this is done, then the bookmarks for standard VW pages appear correctly for me. "

      How can I repeat this?

      I've just gone live with the beta now, so my users are basically crazy monkey testing the build now
      Reply Reply  
    3. September 1, 2019 6:35 AM
      ACL ACL is offline
      Regular Member
      To add the bookmark_handler_class you'll need to have your site in development mode and then navigate to 'admin.php?content-types/add'.
      • Content type: vwpage
      • Field: bookmark_handler_class
      • Value: vw\vw\Handler\Bookmark\Page
      • Add-on: VaultWiki


      To enable development, you can follow the instructions at https://xenforo.com/xf2-docs/manual/...velopment-mode

      Caution! Development mode unlocks a "Development" section within the admin cp that is only intended for people who develop addons for XenForo. I wouldn't recommend putting a live site in development mode (or if you do anyway, be sure to turn it off asap). When enabled, you can change a lot of things that normally shouldn't be editable, such as parameters for stock XenForo options or even the XenForo version number (which could cause a critical upgrade step to be skipped in the future and potentially break something).
      Reply Reply  
    4. September 4, 2019 1:12 PM
      pegasus pegasus is offline
      VaultWiki Team
      This looks like a bad merge between the development XML and the old Beta 2 XML which already had the bookmark_handler_classes. This will be fixed in the next build. If you already upgraded by modifying addon.json, rebuilding the add-on data on build 002 should work.
      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 7:09 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.