Nucleocide Counter

Script last updated on November 27, 2006 8:25pm by !nucleo.

I spent all the time writing a tutorial on how to create a GD LCD image display tutorial and then I realized that I should take the extra time and incorporate the hit-counting mechanism. So, here it is. This is a simple counter that requires that you only load an image from a webpage.

Unzip the contents of the file into your images folder on a PHP enabled server. The .htaccess file makes it so that if the url counter.png is loaded, the contents of counter.php is returned (some browsers / forums don't like image names ending in .php). If you don't want to use the .htaccess file, just load counter.php as if it were the image name.

If you modify the counter.php file, you can change some values like the minimum number length. You can also change the filename of the log. The images can be resized if you want and the default .PSD file is included so you can use that as a starters.

This program is being released under the GNU GPL, so feel free to modify it and pass it off to all of your friends, as long as you mention where you got it from.

Usage: load the image like this: <img src="images/counter.png"> The image will automatically increment itself for hits. I'm not going to include the counter on my site as an example as I already have a more complex one, but graphically it will look like this:

 

What constitutes a hit? A unique IP address. So, if an IP hits the image once, and than again a month down the road that will only count as one hit. Sorry, but what do you expect from a flat text file?

Features:

  • No database required, uses a text file
  • Simply load the image from a page, no coding required
  • Comes with psd file so you can redesign the LCD look
  • Counts unique hits not total hits
Click here to download Nucleocide Counter.

Login

Username:
Password:

Shoutbox

By !nucleo
Jun 12, 2008 7:56pm
About time you're back... Shoot me an email with your 88x31.
By ?Lee
Jun 12, 2008 3:27pm
vimixx.net has moved to lee-stewart.co.uk!!!
By ?Medvedko
May 4, 2008 7:04am
That's right. Sorry, I am not making much sense, am I? Basically, I created the DB myself instead of using your install script. All necessary tables are there, I added few more based on plugin POST options and added those to the update.php also. At the beginning I added mysql.ssi.php function to both update and winamp_playing scripts as I had some troubles before with include_once.
By !nucleo
May 2, 2008 9:56am
Now I'm really confused, are you modifying my shoutbox script?
By ?Medvedko
Apr 30, 2008 1:08am
another thing is that update script terminates with invalid password (I added the pass in the Additional Options in the plugin and set the pass in the update script.
By ?Medvedko
Apr 30, 2008 1:06am
my fault really. I modded the scripts and added more tables to the DB such as "TIMESTAMP". I think include_once doesn't fetch the mysql function. Or atleast this is what seems to me is the problem.
Name: Shout: This Number: [View All]

Partners

Rand Affiliates

Photoshop Lab Sevenz.net Doogaland Maximal Designs