Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 12-01-2004, 03:12 PM
abel's Avatar
abel Offline
pp regular
 
Join Date: Nov 2004
Posts: 33
daily visits addon <-- how does it register visits

how exactly does the daily visits addon determine whats a new visit. it doesnt seem to be like an old hit couter where it increases by one everytime u reload the page etc...

does it log by IP addresses? in other words, does it only register visits if from different IP's

im just curious is all.. trying to get a better understanding of what it really means etc etc..

thanks
Reply With Quote
  #2  
Old 12-01-2004, 04:28 PM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
I do it in a, ehm, different way.

Visitors are counted once every hour. So, if a visitor re-visits you after 3 hours he is counted as a new visitor.

So the daily visits just grabs every entry in the database for the specific date, and don't need them to be unique in any way.

// punk

Any idea to make the visitor counting better is welcome, without flocking the database of course with pagehits or something.
__________________
icq: 66760929
Reply With Quote
  #3  
Old 01-25-2005, 01:40 AM
abel's Avatar
abel Offline
pp regular
 
Join Date: Nov 2004
Posts: 33
also is this something thats stored somewhere or is it cleared out everyday?

just curious to see what my heaviest traffic day is etc.
Reply With Quote
  #4  
Old 01-25-2005, 06:06 AM
blinking8s's Avatar
blinking8s+ Offline
über loafer
 
Join Date: Oct 2004
Location: Bowling Green, Ky
Posts: 3,428
Send a message via ICQ to blinking8s Send a message via AIM to blinking8s Send a message via MSN to blinking8s Send a message via Skype™ to blinking8s
I do think pp stats would be a nice addition, breakdown of the traffic. Wouldnt be hard to work up at all, just making it graphically pleasing my take a little effort.
__________________
i should say more clever stuff
Reply With Quote
  #5  
Old 01-25-2005, 01:09 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
well i saw that all of the visitor info is stored in a database and then i exported it out to an Excel spreadsheet.

now only if i were excel saavy i could filter out the entries by each given date and then get a total per day etc etc...

ill have to look into it later on...
Reply With Quote
  #6  
Old 01-25-2005, 01:10 PM
abel's Avatar
abel Offline
pp regular
 
Join Date: Nov 2004
Posts: 33
well i thought i was logged in when i made that post but i guess not.. hehe
Reply With Quote
  #7  
Old 02-13-2005, 01:26 AM
mark Offline
pp veteran
 
Join Date: Feb 2005
Location: Atlanta, GA USA
Posts: 89
daily visits

how would i change it to register it every 6 hours instead of every 1 hour?
I think every 1 hour is too much....

I see in the code that its 60*60.....what would i change that to?

Would it just be 360*360 or would it be 60*360?
Reply With Quote
  #8  
Old 02-13-2005, 08:42 AM
Connie
Guest
 
Posts: n/a
Re: daily visits

Quote:
Originally Posted by mark
I see in the code that its 60*60.....what would i change that to?

Would it just be 360*360 or would it be 60*360?
Please try to find out what this 60*60 means!
One minute = 60 seconds
One hour = 60 minutes
6 hours = ?????

as these intervals are measured in seconds, what would it be?

I think you find the answer yourself :lol:
Reply With Quote
  #9  
Old 02-13-2005, 09:10 PM
mark Offline
pp veteran
 
Join Date: Feb 2005
Location: Atlanta, GA USA
Posts: 89
daily visits

Ok, then i guess "time()" is in seconds?

I'll change it to be 60*360 then...to get 21600 seconds..

Thanks
Reply With Quote
  #10  
Old 05-27-2005, 05:05 AM
japanwindow Offline
pp veteran
 
Join Date: May 2005
Location: Japan
Posts: 85
Daily Average Going Crazy

At least I think so. My "daily average" started around 1100 in the morning and climbed to almost 1400 by the afternoon. And then I removed it because it obviously wasn't working. (It wasn't because I was having lots of hits today, because my daily hits is still at 807 as of now.)

Any ideas? (See my link below)
__________________
========================
Photosensibility
http://www.photosensibility.com
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 07:18 PM.

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