PDA

View Full Version : Broken Counter


|Shrued
06-10-2005, 02:57 AM
I think I somehow broke my counter. Now every time I click an image, the unique visitors tallys another visit.

I have no idea what I did, so if anyone wants any more information or my code, please let me know.

site: http://monochromecity.com

Thanks!

Joe[y]
06-10-2005, 11:09 AM
it's staying the same for me. do you use a router or anyting else that could affect your IP address? some routers change ip address a bit - or at least the apparent one I've heard.

|Shrued
06-10-2005, 12:35 PM
At hme I do. When I check the site at work, this doesn't happen.

So using a personal router can effect this?

Joe[y]
06-10-2005, 06:18 PM
yeah. it has it's own IP address which is well, a bit eradic usually. i sometimes have the same problem with a router.

|Shrued
06-14-2005, 12:10 PM
Joe[y],

What about <STATS_VISITORS_TODAY>? I replaced <SITE_VISITORNUMBER> with this and it doesn't work. Is there something else I need to do?

GeoS
06-15-2005, 12:19 PM
The reason of problem can be in not allowed cookies store on your machine. Try to check if cookies work correctly.

The answer that they work is cookie named "lastvisit" with value "expires in 60 minutes" set for your photoblog address.

|Shrued
06-15-2005, 12:23 PM
GeoS,

I apologize, but didn't understand what you said.

<SITE_VISITORNUMBER> works fine. When I replace it with <STATS_VISITORS_TODAY>, I get no data.

Is there something else I need to do?

GeoS
06-15-2005, 12:56 PM
I was writing about rising numer of visitors every view of image.

I dont see tag such as <STATS_VISITORS_TODAY> in index.php (in last official PP 1.4.2 release). Propably here is a problem.

This tag must be supported by an addon.

|Shrued
06-15-2005, 01:04 PM
OK, I got ya now.

This tag was in an addon (http://www.pixelpost.org/forum/viewtopic.php?t=91&highlight=stats). The download no longer seems to work. I know that was old, but what happened?

Joe[y]
06-16-2005, 11:40 AM
OK, I got ya now.

This tag was in an addon (http://www.pixelpost.org/forum/viewtopic.php?t=91&highlight=stats). The download no longer seems to work. I know that was old, but what happened?

Pixelpunk must have removed the file from their server. Get in touch with them if you are desperate.


As for cookies. do you use firefox? If so go to 'tools' >> options >> privacy >> cookies and tick the box that says 'allow cookies'

|Shrued
06-16-2005, 12:00 PM
Hi Joe[y], GeoS,

I really hope I'm not driving you two crazy. The cookies are fine. Everything is working great. Aside from showing total unique visitors, I want to show unique for the day. I've seen this on someone else's site and was just wondering how they did it. It is likely they are using pixelpunks' addon.

Joe[y]
06-16-2005, 04:59 PM
ask somebody who shows this on their blog to send you the addon php code.