Version: 4.1337, by Mr Chad
Developer Last Online: Apr 2009
Category: Miscellaneous Hacks -
Version: 3.5.4
Rating:
Released: 04-13-2006
Last Update: 04-14-2006
Installs: 71
Template Edits
Additional Files
No support by the author.
If you like it click
Installation Time: <2 mins Template Edits: 1 Plugins: 1 VB Version: This actually works on 3.5.0 - 3.5.4 Live Example (Look at my footer): http://beasttoast.com
Description:
This is a basic hit counter. It uses a little php script and a text file to store the hits (no DB because it would be too stressful). Also you dont have to display the hits on every page you could just put it on your forumhome template, and it will still count all the hits
Installation Instructions:
Download and unzip 'plugin-pageviews.zip'
Upload the folder 'Counter' into your forum directory
Now open the 'Counter' folder, and CH MOD 666 the 'count.txt' file
Install the plugin
*Optional* If you want to be able to display the page views for today just create a Scheduled Task like this:
Would someone be so kind as to tell me where to place the following code:
Code:
Place '$pageviews' and/or '$pageviewstoday' in any template where ever you want to display the hit count.
I placed it at the very end of the footer, and it's only showing a number. In less then 5 minutes I've recorded a few hundered hits. I'd like it to look like the demo site.
Would someone be so kind as to tell me where to place the following code:
Code:
Place '$pageviews' and/or '$pageviewstoday' in any template where ever you want to display the hit count.
I placed it at the very end of the footer, and it's only showing a number. In less then 5 minutes I've recorded a few hundered hits. I'd like it to look like the demo site.
would it be too hard to make it not count the same ip more than 1 time in a 24 hour period?:banana: :banana: :banana:
for me yes...
any way that would require useing the database and thats exactly what im trying not to do. I could try to use a cookie that expires every 24 hours. And it checks for that cookie if you dont have it, it would run the +1 to the hit and add the cookie.
I've reinstalled the script and all appears to be working as designed. I will know for sure tommorow.
I love it that I can use conditionals, it makes a great difference.
Thank you
no problem, actually you can test it just by running the Scheduled Task after you have recieved a few hits. Oh and yea, I really wanted to make a text counter that was not an image, and didnt need a large script to run, or added a link to the counter site. So i made a very simple counter, with the help from ZIKI-SET's image counter.
With a simple edit in the daily.php file I set it up so it sends me an email every day with the hits that day. And in my yahoo email account I added a filter that makes it forward the email to my cell phone as a text message. Now when im away I still know what my site hits are