counterize patch
I have been using counterize for a while. This is a wordpress plugin that counts the page-hits of your blog. It comes with a nice admin interface containing detailed information.
This plugin is designed to be located directly in the wp-plugins directory together with its images. I wanted to have all files of the counterize plugin located in the counterize directory (a subdirectory of plugins), so i needed to change the paths of the images and links to the .php file in the counterize.php.
It isn’t a lot of work to update all the paths, there are only 8 instances that needs to be changed located on line 135, 188, 240, 678, 731, 790, 853 and 1224. For the lazy guys that have version 0.50 of counterize I created a patch file, you can find that file here.
Here is a manual for applying that patch:
$ cd /path/to/wp-content/plugins/ $ mkdir counterize $ mv counterize.php counterize_blue.png counterize_green.png counterize_red.png counterize_yellow.png counterize $ patch counterize/counterize.php /path/to/downloaded/patch1