by LGforum Wed 6 Jun - 23:13
You could try this trick. (Consider {LIKECODE} as the whole script for your like/dislike system.
Change the script to this:
- Code:
function newLikeSystem() {
{LIKECODE}
}
And put that in the Javascript file.
Then in an announcement or widget (or even site description if you want_ put:
- Code:
(function(){
var username = '{USERNAME*}';
if(username != 'USERNAME OF PERSON') newLikeSystem();
})();
Basically this puts the like code into a function. Then the function is only called if the username variable does not equal the username of the person who keeps presumably abusing the dislike feature.
This comes with the downside of they will see the original horrible voting system. So actually... this may need re-thinking.
It would be possible to set an empty image in effect as the dislike image for that certain user. That might work, but it would mean editing the script. Up to you.