Hi, first of all, thank you for such a great counter!
There’s a bug, though, that I’ve encountered and fixed. Just would like to share so that other users esp. beginners might benefit.
The image counter (0.gif – 9.gif) links directly to those on your demo site. This cannot be fixed by simply changing it into the user’s http:// link to these graphics. A way to fix this is:
(1) Find this:
$tothitsgbr = str_replace($i, “<img src=’http://demo.balimechanicweb.net/counter/$i$ext’ alt=’$i’>”, $tothitsgbr);}
(2) change into:
$tothitsgbr = str_replace($i, “<img src=’../wp-content/plugins/mechanic-visitor-counter/counter/hit/$i$ext’ alt=’$i’>”, $tothitsgbr);}
users can also replace the .gif pics in this “hit” folder in the above path with their own.
Hope this could be of some use.
- The topic ‘[Plugin: Mechanic Visitor Counter] Bug Fix’ is closed to new replies.