• 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
    • Forum node integrations showing wrong numbers for pages/categories

    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: Forum node integrations showing wrong numbers for pages/categories

    • Issue Tools
      • View Changes
    1. issueid=6325 September 17, 2022 3:20 AM
      mazzly mazzly is offline
      Junior Member
      Forum node integrations showing wrong numbers for pages/categories

      As title says, seems similar to https://www.vaultwiki.org/issues/6194/

      Would probably be good if there was some "Rebuild counters/caches" for this as a minimum..

      Moving pages between areas doesn't seem to update the count. Only creating new/deleting modifies it +/- 1
    Issue Details
    Issue Number 6325
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Areas
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.1.5
    Fixed Version 4.1.6
    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 17, 2022 2:42 PM
      pegasus pegasus is offline
      VaultWiki Team
      Since new/delete updates properly, I wonder whether your areas with the problematic counts mostly have content that was created in a different area and moved there? I see a lot of issues with various counts when moving content, but still haven't quite found a cause for your exact case. Still looking.
      Reply Reply  
    2. September 18, 2022 9:31 AM
      mazzly mazzly is offline
      Junior Member
      Yes I have created new areas and moved items over
      Reply Reply  
    3. September 19, 2022 12:02 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. The counters on both the source and target areas were unchanged when moving content between them if the content was: not a regular page, a synonym, or a feed.

      The following should fix changing of certain counts for the not-a-regular-page situation. In src/addons/vw/vw/_core/controller/dm/base/vw.php, find:
      Code:
      		$old_areaid = $this->instance->get_existing('areaid');
      		$areaid = $this->instance->get('areaid');
      AFTER it, add:
      Code:
      		if (!$this->instance->get_valid_field('areaid'))
      		{
      			$newareaid = $this->instance->get_info('areaid');
      
      			if (isset($newareaid))
      			{
      				$areaid = $newareaid;
      			}
      		}
      The changes to fix other variations are too numerous to post here, but will be included in the next release.
      Reply Reply  
    4. September 19, 2022 5:39 PM
      pegasus pegasus is offline
      VaultWiki Team
      I've also added a Rebuild Counters link to the Options tab on any wiki node that can contain other wiki content. It's available to some moderators. So if there are any child-content counters that seem odd you can just go into that wiki page and click the option to rebuild it. Depending how much content is in there, it might take a while, as it has to count everything manually 1 at a time.

      Marking this as fixed.
      Reply Reply  
    5. September 20, 2022 12:26 AM
      mazzly mazzly is offline
      Junior Member
      Moving area counter now seems to update correctly
      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 4:35 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.