ZenphotoCMS Forum
hit counters not working - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: hit counters not working (/thread-1836.html)



hit counters not working - reson8 - 2008-10-13

I am using ZenPhoto version 1.2.1

http://eyedreamdesign.com/gallery.php

The hit counters are not adding up. Any ideas?




hit counters not working - reson8 - 2008-10-13

http://www.eyedreamdesign.com/zenphoto/




hit counters not working - acrylian - 2008-10-13

You have to add the hitcounter function your theme. It is not included by default.




hit counters not working - olihar - 2008-10-13

put

`

somewhere in a good place in yourimage.php` file. I put it inside the first




hit counters not working - reson8 - 2008-10-13

To include the function I only need to add that line? I tried with no success..

It doesn't look like there are any options for the hit counter within the admin control pages.

Thanks for your help




hit counters not working - acrylian - 2008-10-13

You need to add that hitcounter on image.php or album.php. There are no admin options for the hitcounter, you need to pass parameters as shown above: http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionhitcounter




hit counters not working - olihar - 2008-10-13

Make sure you try the hit counter when you are not logged in. Browse without being logged in.