Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Daniel F Posted January 1, 2019 Posted January 1, 2019 Do you mean the members total posts? E.g. in your example 1712 shown here in the postbit? None, they're updated on runtime right after you post something.
AndyF Posted January 1, 2019 Posted January 1, 2019 Previous versions did have a task to update topic views as a task or immediate (was an option) although that's completely different to post count incrementation.
Aiwa Posted January 1, 2019 Posted January 1, 2019 55 minutes ago, Square Wheels said: What task updates the total posts? Are you asking about recounting? Or normal increment on create?
Square Wheels Posted January 1, 2019 Author Posted January 1, 2019 26 minutes ago, Aiwa said: Are you asking about recounting? Or normal increment on create? I want to run the task manually. We might make 100 or so posts, and the count stays the same, not sure how often it runs. We're approaching the 700,000 milestone, and people are not seeing the number go up. This is a sideblock on the forum home, I want to update this manually.
Ryan Ashbrook Posted January 1, 2019 Posted January 1, 2019 I'm still not sure what you are referring too. Where is the count you are referring to displayed? There is no task that does a total recount of posts. Anywhere a post count is displayed is incremented immediately when a post is made. The only exception to this rule would be the Forum Stats widget displayed in the sidebar, which is cached for a specific amount of time. There is no task that controls this, and it just refreshes when the cache has expired. I don't have the code open currently, but I believe it's thirty minutes. You can manually clear this by running the support tool, but I do not recommend this as it clears every cache in place on the community, so you'll end up using more resources than necessary as it tries to regenerate them.
Square Wheels Posted January 1, 2019 Author Posted January 1, 2019 1 minute ago, Ryan Ashbrook said: I'm still not sure what you are referring too. Where is the count you are referring to displayed? There is no task that does a total recount of posts. Anywhere a post count is displayed is incremented immediately when a post is made. The only exception to this rule would be the Forum Stats widget displayed in the sidebar, which is cached for a specific amount of time. There is no task that controls this, and it just refreshes when the cache has expired. I don't have the code open currently, but I believe it's thirty minutes. You can manually clear this by running the support tool, but I do not recommend this as it clears every cache in place on the community, so you'll end up using more resources than necessary as it tries to regenerate them. OK, so it will need to wait then. My post above was merged. Yes, it is the forum stats in the sidebar.
Ryan Ashbrook Posted January 1, 2019 Posted January 1, 2019 4 minutes ago, Square Wheels said: OK, so it will need to wait then. My post above was merged. Yes, it is the forum stats in the sidebar. Ah okay, then yes, it's just cached so it won't immediately reflect, but will over time.
DesignzShop Posted January 1, 2019 Posted January 1, 2019 38 minutes ago, Square Wheels said: OK, so it will need to wait then. My post above was merged. Yes, it is the forum stats in the sidebar. Removing the block and putting it back in may correct the number instantly for that block. That's not a consistent solution however.
Martin A. Posted January 1, 2019 Posted January 1, 2019 This is controlled by a setting in Advanced Configuration.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.