Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #111  
Old 10-15-2008, 01:29 PM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
I don't know how "top views" addon is counting the visits, so I cannot tell you why there is the difference.
It can be because of bots and spider counting or because of Revisited delay
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #112  
Old 01-28-2009, 07:41 PM
constant's Avatar
constant Offline
forum loafer
 
Join Date: Dec 2008
Location: Portland, Oregon
Posts: 9
Hi austriaka+,

Really love the addon. I am a little confused by the count resetting at the end of each month. I haven't yet seen this happen as I haven't yet had a full month of use. I think I understand this limitation - I really need to look at the code to fully understand - but I would think that it would be simple enough to add a "previously viewed" count to the image's data records that keeps track of the totals from previous months.

So when the addon resets the monthly tables it could take the total views for each image and add it to the image's "previously viewed" record. Then have a TAG that adds the "previously viewed" count with the current monthly count to get the current total views for an image.

Does this make sense? Wouldn't that be possible?
__________________
constant clicking
Reply With Quote
  #113  
Old 01-29-2009, 05:52 AM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
Hi constant,
thanks for your input.
The limitation to monthly stats is obvious: the addon keeps track of quite a lot of interesting data for each and any visit. Your database would run out of space after half a year if you have a frequently visited blog.
Your idea of keeping the image visits is quite interesting and of course it would be possible. But right now the image stats addon uses tonly its own tables which are strictly bounded to the visits and not to the photos.
Realizing your idea would mean adding an extra field to the pixelpost table. Technical no problem but a medium rewrite of some of the functions.

On the other hand there is the "top views" addon which will do the same thing for you:
http://www.pixelpost.org/extend/addons/top-views/

KArin
__________________
Uh!log Photoblog
My Addons
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 05:37 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs