HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Side Stat readings not accurate - goes forward and backward

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#59746 (In Topic #13005)
Avatar

Community saint

Side Stat readings not accurate - goes forward and backward

There appears to be something odd with the SIDE_STATS block's readings. Below are some readings over 6-1/2 hrs. today. I have included the Hit counter record at the same time for your information also.

  • Please notice Hits today goes backwards then forward, then backwards.
  • Hits this week goes forward then regresses.
Although I have not shown the comparison stats for the next problem I'll mention it anyway. The issue is with the difference between the number of users online shown with the SIDE_STAT block and the SIDE_USERS_ONLINE block showing a different number of users online - at the same time.

____________________________________________________
2:30P Thursday Hit counter 78135465 (start at 0 hits)

* Activity:
o Users online: 9
o Hits today: 7,445
o Hits this week: 50,595
o Hits this month: 169,492
____________________________________________________
3:30P Thursday Hit counter 78135735 (+270 hits)

* Activity:
o Users online: 8
o Hits today: 7,406
o Hits this week: 50,599
o Hits this month: 169,845
____________________________________________________
4:30P Thursday Hit counter 78136004 (+539 hits)

* Activity:
o Users online: 9
o Hits today: 7,459
o Hits this week: 50,616
o Hits this month: 170,202
____________________________________________________
8:00P Thursday Hit counter 78136754 (+1289 hits)

* Activity:
o Users online: 9
o Hits today: 7,402
o Hits this week: 50,411
o Hits this month: 171,243
____________________________________________________
9:00P Thursday Hit counter 78136899 (+1434 hits)

Activity:
* Users online: 15
* Hits today: 7,257
* Hits this week: 50,312
* Hits this month: 171,412
____________________________________________________


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#59748
Avatar

Hi,

Thanks for the clear post.

I suspect it is simply that in this context 'Today' is defined as 'within the last 24 hours', and 'This week' and 'This month' similarly.

Personally I think of the figures in the block as general highlighters to how active a site is.

Opinion(s)?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#59758
Avatar

Community saint

Chris Graham said

in this context 'Today' is defined as 'within the last 24 hours', and 'This week' and 'This month' similarly
Is what you are saying is that the SIDE_STATS block data is compiled as an average over a certain period of time such as below?

o Users online: (at any one time averaged over the last 24 hrs?)
o Hits today: (averaged over the last 24 hrs?)
o Hits this week: (averaged over the last 7 days?)
o Hits this month: (averaged over the last 30 days?)

…and in the case of the SIDE_USERS_ONLINE block, it is showing the actual number of guests/members online now.

Chris Graham said

Personally I think of the figures in the block as general highlighters to how active a site is
I certainly agree that this is like a snapshot of the misc 'traffic' on a site, and it is a really cool tool with lots of options. I was just confused as to how some of the numbers could be different from others that I supposed were mirroring the same type of data. Then I was more confused when I saw some of the numbers running backwards.

Perhaps because I have recently moved this block's location to be near the SIDE_USERS_ONLINE block that I even noticed the difference.

If the numbers are averaged then I can see how they would fluctuate as shown in the examples.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#59760
Avatar

Hi,

I wouldn't use the word 'average' as it's simply a sum of all the hits going back 24 hours (60*60*24 seconds) from the point the page is being viewed. Actually to be honest it might not be quite that simple, there is likely caching involved so it is probably a snapshot that is updated on a rolling basis depending on how long the cache takes to expire.

I certainly appreciate the term 'today' is confusing, as it's not strictly true. It's kind of artistic license, as saying 'in the last 24 hours, calculated on a rolling basis' does not fit so well ;).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: