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:
Installed.
And seeing the stats properly displayed under the time.
However, I'm seeing the numerals again below the bottom copyright notice, at the very bottom.
Installed.
And seeing the stats properly displayed under the time.
However, I'm seeing the numerals again below the bottom copyright notice, at the very bottom.
Let me check
Are you sure you didnt add the variables more than once?
also you can edit the 'count.txt' to what you think your total hits are, but if you do this you need to put the same amount in the 'yesterday_count.txt'
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
What do I edit in the daily.php to accomplish this?
Put that right after the <? (starting php line) of your file, and you will need to go through the files and add all the full paths instead of ./counter/
if you don't know your path then just upload this in the same directory
make a php file named 'path.php' and put this in it:
PHP Code:
<?php if ($_SERVER['PATH_TRANSLATED']) { $path = $_SERVER['PATH_TRANSLATED']; } else if ($_SERVER['SCRIPT_FILENAME']) { $path = $_SERVER['SCRIPT_FILENAME']; } else { echo 'We are sorry, but this script is unable to determine your forums path.'; exit; } echo substr($path, 0, (strlen($path) - 8)); ?>
thanks for your reply, well that's how I remove all hacks from my forums... but where can I find this counter plugin? I searched and searched... and found nothing.
btw, it seems to be dangerous to delete counter files at first... have got error messages
thanks for your reply, well that's how I remove all hacks from my forums... but where can I find this counter plugin? I searched and searched... and found nothing.
btw, it seems to be dangerous to delete counter files at first... have got error messages