You did a very good job with this one.. I like it. I've modified some of it to suit my own needs though (i.e. you don't always get an error message for clicking out more than once in the set time, the count just doesn't increase).
Also, I've made it so that when my image is displayed on an affiliate's site, it shows up in Who's Online as a guest (or the member's name if they're registered and their cookies haven't expired). It doesn't currently show the name of the site that the image is displaying on, but when I get a chance (not sure when though), I'll be making the $userinfo['where'] variable show a link to the affiliate's site.
This is one of the best affiliate systems I've seen here and has quite a bit of potential. :up:
|