Buddypress like dislike plugin

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:

  1. Simultaneous like and unlike/dislike button, together side by side.
    So user can either do a ‘like’ or an ‘unlike’/’dislike’ which are obviously mutually exclusive.
  2. 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.


27 thoughts on “Buddypress like dislike plugin”

  1. I like the valuable information you provide in your articles. I’ll bookmark your weblog and check again here regularly. I am quite certain I will learn plenty of new stuff right here! Best of luck for the next!

  2. Pingback: Sarah Gooding
  3. Pingback: lamp.sangkrit
    1. umm.. m not sure. That’d somewhat be a different context. But yes the same code can be built upon to add a third one..
      Will do it when any such requirement comes :)
      Thnx

  4. “umm.. m not sure. That’d somewhat be a different context. But yes the same code can be built upon to add a third one..
    Will do it when any such requirement comes :)
    Thnx”

    I am interested in such third option too.

  5. Hi

    I don’t know if is just me but I can’t see the avatars after like or dislike. The like and dislike function works very well but the avatars (even changing the configuration) are not showing, even the “view likes” test is not appearing.

    Any idea? thanks in advance!

    1. Well i’d be clueless as to why avatars would stop showing up, without taking a look in the website files. And regarding the “view likes” text, its not there in the plugin. The plugin just doesn’t keep a record of people who liked or dislike something, it just keeps a record of the count. Let me know if you want me to do something about it.

  6. Hey there. Great plugin rewrite. I’m using it successfully on my community’s site.

    However, I’m running into a strange error. When a user clicks “Like” they see the “Dislike” button change to say “Dislike (1)”.

    It would also be nice to see an almost-complete revision of this plugin to aggregate a list of Likers and Dislikers and possibly separate numbers of both. Let me know if you’d like to invest some time in that and I’ll see about funding your adventure.

    Thanks for the plugin.

  7. Hi ,

    Andrés Felipe López G. or Chandan, do you mean that this plugin doesn’t have any MySQL database table with “likes/dislikes” of all/separate user?

    Looks like plugin Buddypress Like won’t be developed anymore. It would be greate if you, Chandan, could continue its development.

    BTW, in Firefox I cannot comment here, since “Visual” tab is locked, but “Text” tab cannot be switched at all.

    thanks!

  8. i tried this plugin and it’s great! just one question, i does not appear on reply post (comments) in activity stream. am i missing something or that function is not included?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>