[XB] Year Recap

[XB] Year Recap [Paid] 1.1.2 Patch Level 1

No permission to buy ($25.00)
Suggestion:

The calculated years are listed as lowest to highest....IMO, it makes more sense for them to start at the current and work down...I have 20+ years of history, so that pushes the current 2025 year WAY down the line.
 
This appears to default Permissions to "yes" by default for a few usergroups. IMO, it should allow the Admin to switch it on for select usergroups once stats are calculated.
 
I'm unsure ThreadViews is being calculated correctly. 99m threadviews in 2021 down to 22m in 2025 seems unlikely.

124m in 2020...
Thread view statistics are limited to threads created in the selected year and rely on an incrementally updated view count column. XenForo does not maintain complete view logs, so rebuilding this data retroactively for other years will result in inaccurate values. The same applies to active users statistics.
 
When updating (only)

Code:
ErrorException: Template error: [E_USER_WARNING] Method canViewYearRecap is not callable on the given object (MMO\Hide\XF\Entity\User) src/XF/Template/Templater.php:1277

Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/bodyforum...', 1277)
#1 src/XF/Template/Templater.php(1277): trigger_error('Method canViewY...', 512)
#2 internal_data/code_cache/navigation_cache.php(654): XF\Template\Templater->method(Object(MMO\Hide\XF\Entity\User), 'canViewYearReca...', Array)
#3 src/XF/Template/Templater.php(8170): XF\Pub\App->{closure:internal_data/code_cache/navigation_cache.php:3}(Object(SV\StandardLib\XF\Template\Templater), 'forums', Array)
#4 src/XF/Pub/App.php(625): XF\Template\Templater->renderNavigationClosure(Object(Closure), 'forums', Array)
#5 src/XF/Pub/App.php(576): XF\Pub\App->getNavigation(Array, 'forums')
#6 src/XF/App.php(2571): XF\Pub\App->renderPageHtml('
	
...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#7 src/XF/Mvc/Dispatcher.php(414): XF\App->renderPage('
	
...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#8 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#9 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#10 src/XF.php(806): XF\App->run()
#11 index.php(23): XF::runApp('XF\\Pub\\App')
#12 {main}

Request state
array(4) {
  ["url"] => string(51) "/threads/..."
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Thanks for the update @Painbaker

Another request:

My forum has been online for a long time. That means a lot of years and the line of years is not responsive:
View attachment 331675

Can you make it responsive or create a break somehow?
I did notice that clicking "threads", "reactions", "posts" (or any of the other sub options) automatically reverts back to the oldest dates data, not the currently selected year....curious if you are experiencing that too.
 
I'm unsure ThreadViews is being calculated correctly. 99m threadviews in 2021 down to 22m in 2025 seems unlikely.

124m in 2020...

Thread view statistics are limited to threads created in the selected year and rely on an incrementally updated view count column. XenForo does not maintain complete view logs, so rebuilding this data retroactively for other years will result in inaccurate values. The same applies to active users statistics.
Isn't this a normal statistical effect as possibly all threadviews since creation up until today are calculated? So a thread created back in 2022 will often have many more views than one created in 2025 simply because it had a couple more years to gain views?
If that's the case it makes a bit of a unfortunate picture as thread views for the current year will be always way lower than for the year before (at least if you have a lot of long-running threads or a lot of older threads that are still viewed a year or more later).

However, if I compare 2024 and 2025 in my forum thread views are dramtically lower as well - but the numbers of the monthly view aggregated for 2024 are equal to the total. So are these really monthly views for 2024 or the views of the threads in 2024 and 2025 added per month?
Bildschirmfoto 2025-12-29 um 00.36.56.webp

Bildschirmfoto 2025-12-29 um 00.37.18.webp


Bildschirmfoto 2025-12-29 um 00.37.36.webp
Bildschirmfoto 2025-12-29 um 00.37.52.webp

I am wondering b/c I did not see such a dramatic loss in visits, rather the opposite: My forum grew over the years.

So, depending from the calculation maybe the wording should be adjusted to something like "total views of the threads created in $year until today" and possibly the monthly numbers split into years if possible.
 
Last edited:
Thread view statistics are limited to threads created in the selected year and rely on an incrementally updated view count column. XenForo does not maintain complete view logs, so rebuilding this data retroactively for other years will result in inaccurate values. The same applies to active users statistics.
Indeed thread views seem to be way off. My forum was created in Sept 2022, so only three month in 2022 with very limited users. Statistic says:

• 200 new Users (correct)
• 16 active users (which is clearly incorrect by miles)
• 233 new threads (correct)
• 741.000 thread views (which seems way too high)

in comparison, for 2025 it shows:
• 1000 new registrations (correct)
• 1843 active users (possible)
• 1000 new threads
• 545.000 thread views (which seems way too low - in comparison to 2022 as well as to 2024 where the stat shows 1.100.000 thread views)

Would it possibly be easier to count thread views for all threads viewed in a given year (instead of views of threads created within this year)? This seems possibly a more relevant number, easier to understand for the audience and hopefully a more correct number as well.
 
Back
Top Bottom