![]() |
PHP Mini Hit counter for vB
Hello,
I'm looking for a simple hit counter for my forumhome page. Currently I use a snippet which breaks every x hours :( It is a file based counter I inserted into the phpinclude template and I echo the figures with variables. What it does is it shows me daily hits, which reset every 24h and total hits with all hits since the beginning. Does anyone has an alternative to my counter which doesn't break? Many, many thanks, -Tom |
what do you mean doesn't break?
If im correct in understanding what you mean... you can use mysql to store the data to get the effect you're looking for... PHP Code:
find: PHP Code:
PHP Code:
regards... g-force2k2 |
Thanks g-force2k2,
I'll try it :) Quote:
Thank you very much, I think what you posted here is that what I need, but I need one more thing ;) Is it difficult to add a figure which shows the number of daily users (e.g. $hitsdaily)? :) Thanks, -Tom |
Please stay with me :)
Just this one little addition would make my users happy :) Thank you, -Tom |
Why not install vBstats? This has many statistics for you, like hits per day, total, thread views total, users online in a day, posts in the last 24 hrs etc...
|
Yeah, I know...
I just need to replace my old counter, which'll exist next to vBstats. http://www.mcseboard.de/ - I have to figures, down to the right, dark shaded is the number of Hits sinc 05/2001 (would be $hits in g-force2k2 hack) and the number of "guest hits", which is the number of $hits in the last 24h Thanks anyway, :) -Tom |
Here's the file based counter I use now, which breaks ~3 times a day:
Code:
// ipcounter hack by CX -Tom |
Okay, I took a ready made script and integrated it into vB
http://www.needscripts.com/Resource/1447.html Sad how few support someone can get over here with an easy thing like a counter. I'm not trying to be sarcastic or anything, it's just a fact and I'm curious... |
All times are GMT. The time now is 01:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|