Quote:
Originally posted by BradC
Great... it works just fine now.. but
Where else can we put the counter code so that it does not count everything... like when you click on a forum.. and read a post.. or go to another page that is including the global.php file.. it counts as a daily visit.. heh
|
mmmh, i think it is easy too...
maybe you can put the display code like this:
PHP Code:
this page views: today = $detail[1], total = $detail[2]. variant IP visitors: today = $detail[3], total = $detail[4].
in any Templates you want, instead of the Templates FOOTER, or you can just display one or more of $detail[1]~~[4].
but, you have to create some new count.txt and ip.txt.
Quote:
ThomasP:
Hi there,
works perfect,
thanks!
-Tom
|
you are welcome