blog not counts in statistics

If user add new blog, it does NOT count in statistic on frontpage. Still shows 0 blogs but there is 1 blog..

Quote · 6 Apr 2013

Problem Verified on Boonex demo site. Site showed 1 blog in statistic. Now I Registered as new user, added new blog. But Statistics shows still only 1 blog but now there are two blogs so counter in statistic certainly NOT work !!!! Can please somebody add this to trac .. thx MAybe will be worth test other counters as maybe more of them works wrong..

Quote · 6 Apr 2013

sites also do not count in statistic.. didnt tried other like articles etc... but maybe they also do not count properly..

Quote · 6 Apr 2013

Check again. I see one block and one site in the stats. Of course you will have to catch it before the site resets.

If most likely because the stats block is cached. Either turn off page block caching or check that block in page builders to see what the cache time is set to.

https://www.deanbassett.com
Quote · 6 Apr 2013

Bummer. It already reset, and i see that the ones that are there are not yours anyway.

But still. Check the caching.

https://www.deanbassett.com
Quote · 6 Apr 2013

There. I disabled the cache on the demo site for the site stats block which defaults to 3600 seconds. Then i posted a block. It showed up in the stats block without a problem.

https://www.deanbassett.com
Quote · 6 Apr 2013

It was verified before demo site reset. I added for example 3 blogs and 4 sites but statistic showed still 1 blog and 1 site but member counter shosed correct amount of members including me as newly registered straight after page refresh (ctrl+f5). But maybe its really cache problem - how tro set cache properly for statistic  so when page reload it actually refresh ?

Quote · 6 Apr 2013

ahaa so really cache. Thx deano for verifying that. Where to set cache so it dont affect statistic block ? I think cache should be set by default way so it doesnt affect stat block ...

Quote · 6 Apr 2013

Page builders.

Edit the stats block. Change the 3600 to 0


https://www.deanbassett.com
Quote · 6 Apr 2013

It's cached by default because that block has to query the database for each of the items in that block. Caching it reduces load on the server. It was done for a reason even if you don't like it.

https://www.deanbassett.com
Quote · 6 Apr 2013

hmm I see point but than it should be somehow reworked as I think if stats will show not updated informations than certainly its not good as in stat block everyone expect actually updated informations - if user see in stat that there are 2 blogs but in real there will be already 100 blogs than whole stat block is practically useless. I undeeratand your point with server load and cache but than how to actually do it so stat will be updated so user see real counts but also server load will be okay ?

Quote · 6 Apr 2013

Thing is. On a really busy site you will not notice it as much. The block gets automatically updated when the cache time of 3600 seconds expires. On a site where the numbers are in the 100's then it will not be a noticeable.

https://www.deanbassett.com
Quote · 6 Apr 2013

 

Bummer. It already reset,

 Yes, the reset period is too short; makes it hard sometimes to test things on the demo site.

Geeks, making the world a better place
Quote · 6 Apr 2013

 

The block gets automatically updated when the cache time of 3600 seconds expires.

Is that in seconds?  That means 3600 sec(1min/60 sec) = 60 mins.  So that blocks refreshes every hour.

Geeks, making the world a better place
Quote · 6 Apr 2013

 

 

The block gets automatically updated when the cache time of 3600 seconds expires.

Is that in seconds?  That means 3600 sec(1min/60 sec) = 60 mins.  So that blocks refreshes every hour.

 
Yup.


https://www.deanbassett.com
Quote · 6 Apr 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.