TinyPortal
Development => Support => Topic started by: snowcrash on June 18, 2005, 08:35:34 PM
Hi
I've been trying out various hit counters with TP, in a block.
The only one's that work are fairly basic cgi ones which just count raw hits. So if you have shoutbox, it just keeps erroneously adding hits.
I'd like a counter which uses perhaps uses php session cookies or something similar, which more accurately counts hits on the TP homepage.
I found this php based conter http://ekstreme.com/phplabs/phpcounter.php
Worked ok on a php page, but when inserted in a TP block generated errors and evetually crashed TP
Just wondering if anyone uses an accurate hit counter; otherwise a suggestion for a future feature for TP?
thanks
dosent smf forums have a built in counter?
its not that accurate but its a counter, if u keep refreshing the page its goes up 1 each time.
It didn't know smf has a built in counter. But if it just counts on any page refresh, not what I'd want anyway.
An accurate hit counter should be able to distinguish between same user page refreshes, and also could be set to register unique hits based on a specified time when the same user visits the site again.
There are many commercial stats counters which can be incorported into your webpage, but they use external tracking cookies which I want to avoid on my site
A counter for unique hits is not planned currently.
TP use SMF hits system, so every hit is counted in, even in pure TP functions.
you can put the code for your counter in blocks... Tinyportal is so diverse and can be used to do many tricks.