This is a modification to the Buddypress Like plugin by Alex Hempton-Smith. All the credit goes to those guys. I’ve modified the plugin according to my requirements. Out of the box, buddypress like plugin supports like or unlike one at a time. Furthermore it doesn’t really add to the ‘unlikes’ count for any item, it rather removes the like. So basically it works as ‘like’ and ‘remove like’. I’ve added/updated the following:
- So user can either do a ‘like’ or an ‘unlike’/’dislike’ which are obviously mutually exclusive.
- Once liked you can only unlike it and vice-versa
The moment i am writing this post, there isn’t any buddypress plugin which supports both like and dislike button. So if you have a similar requirement, feel free to download my version of the plugin.
But there’s one thing that you must be informed of: Respecting all the hardwork put behind coding the plugin, i’ve kept the author url, plugin url intact. So if the guys at bplike.wordpress.com release an update to their plugin and you happen to install the update, you’ll override all the changes :(. Just so you know..
You can find the stylesheet and icons for like/dislike under ‘_inc’ folder of the plugin, in case you want to change them.