WordPress › bbPress Like Button « WordPress Plugins

bbPress Like Button Plugin

You can download my WordPress Plugin: bbPress Like Button clicking here.

Updated to work with WordPress 3.9.X and bbPress 2.5.X

bbPress Like button adds automatically a Like Button (Youtube alike) in all your forum posts and replies. It allows users to give some greetings to others contributions.

Install & go

Download, install and enable the plugin and you’re ready to go. The plugin comes autoconfigured by default, and will show up automatically, using the bbPress native workflow functions. If you want to customize it feel free to look at the settings page.

BuddyPress integration

Enable the like button to appear on the activity stream for BuddyPress. Configure the message you want to show on the BuddyPress Activity stream, with some placeholders available for more customization.

Flexible design

New features were introduced to help you fitting the plugin style into your theme. You can show or hide a label of text to show next to the thumbs up icon. The texts shown on the frontend are now adjustable through the settings page.

Translation ready

The plugin was designed with language support from the very beginning. Some users made their own contribution by providing translation of the plugin to other languages. The plugin comes with .po files. Feel free to translate it to your language!

Shortcodes ready

You can use a collection of shortcodes to embed some cool stadistics into posts, pages and widgets.

  • [most_liked_users] and [most_liked_users exclude_admins=true]
  • [most_liking_users]
  • [most_liked_posts]

Bug fixes

Version 1.5 includes lots of fixes for both minor and critical issues. The most important ones are:

  • Bug that was making to like more than one reply at the same time.
  • [Chrome] Bug in javascript making the like counter to show as NaN
  • [Firefox] Bug in javascript that was attaching new value to the end of the old like counter
  • Bug not showing post/reply title on statistics.
  • Bug showing post/reply ID on the logs.

Roadmap

The plugin is under development and it will include lots of new features on upcoming releases. Find below the list of future improvements.

  • Styles collection
  • Hide/Show button only on reply/original post
  • Tooltips on the frontend showing information and avatars of the user who like the post
  • Unlike button
  • Public like (unregistered users)
  • Widget for post/user with more likes
  • Email notifications for users
Make a donation

Screenshots

bbPress Like Button
Example of the Like button showing automatically on the forums.
bbPress Like Button
BuddyPress activity stream integration.
bbPress Like Button
Settings page for bbPress Like Button options.
bbPress Like Button
Logs of the user activity.
bbPress Like Button
Statistics showing top users, posts, etc.
Summary
Author Rating
Aggregate Rating
4.5 based on 5 votes
Brand Name
JordiPlana.com
Product Name
bbPress Like Button
Price
USD 0
Product Availability
Available in Stock
Jordi Plana

Jordi Plana

I'm Jordi Plana, a software developer in his late twenties.I've been involved in web development for the past 12 years. It all started with a website dedicated to playing board games when I was a teenager, and since then I had the chance to make websites for all kind of businesses, organizations and individuals.

56 thoughts on “bbPress Like Button Plugin

  1. Hi,

    Looks like a great plugin — I was wondering, does this work on BuddyPress groups forums as well, or is it only for the full bbPress forums?

    David

  2. This would be awesome on Buddypress group forums (one of the most common ways the forums are implemented).

    I wonder if there’s anyway to integrate with CubePoints so that if someone get’s liked in the forum they get some extra points.

    Do people get email notification if someone likes their stuff?

  3. Hello Jordan,
    Thanks for your opinion, it would be great to do the plugin compatible with both forum systems, but currently I don’t have enough free time to do it. Maybe in the future!

    CubePoints sounds interesting to implement in the plugin, I will take a look.

    It should not be difficult to develop an optional email notification and integration with BuddyPress activity stream. I add these features to the TODO list.

    Regards!

  4. Hello Jordi ,

    You have done an awesome plugin. I like to know, if a dislike button is possible with this. Please let me know about it.

    Thank You!

  5. Hi Boss,

    I tried to use this plugin on my thesis theme, it seems not working when i tried to click and like the button.. Its not working when went to the likes tab the likes were not showing at all.. When i try to reload the page to where the topic is, the button is active to click like again.. Kindly help me please, i appreciate your help

    Best regards,

    Jerson

        1. Hello Natalie,

          Please be sure that you uninstall and install de plugin. The version 1.3 fixes this issue, but in order to work the plugin has to be newly installed.

          Let me know if your problem was solved.
          Regards

          1. Hi Jordi,

            Thanks for the reply. I’ve removed and reinstalled the plugin but it still isn’t working. The website is http://www.techiteasy.co I’d really like to get this working on the forum so please let me know how to fix it.

            Thanks,
            Natalie

          2. Hi Jordi,
            I’m having the same problem. I have a BB forum on my WordPress platform. I’ve installed version, 1.3 twice, and I still have the same problem. yes, I did delete the previous plug-in, just as you advised. Any clues?

  6. This would be a great plugin if it posted the number of likes next to the thumb (like Facebook, YouTube). Any plans to implement that in the future?

  7. Hi Jordy,
    this is a very nice plugin, i like it very much. Now i have a problem with the tooltip for displaying the people who have liked a reply, even when the option is enabled nothing appears. I did not resolve any JS errors or something else, what could be wrong?

    thanks in advance
    Fina

  8. Hola,

    estoy intentando mandarte un mensaje desde el formulario de contacto pero no hay manera.

    ¿Podrías enviarme un email por favor para una propuesta de trabajo?

    Gracias y un saludo

  9. Hi,

    I also have Problems with this Plugin. I have installed version 1.3 and using WP 3.5.
    I have the same Problems like Jerson Barrios and Natalie,
    I would love to use this tool. It would be great if you could let me know when you solve the problem.
    thanks in advance
    Joerg

  10. Hey Jordi,

    “Show tooltip, with people who liked, on shortcode lists output.”

    What does this line mean? How can the user see who liked their posts?

    Thanks!

  11. The plugin doesnt work for me. I use the latest version and the likes don’t get logged. The button shows up but when i press it nothing happens. Nothing gets logged. Can you pls help?

  12. Hi, Question –

    Are you able to a like button by way of a shortcode for particular topics? Some of my forum topics do not require a like button.

    Thanks

    PS: great plugin

  13. Hello Jordi!

    It shows like a great plugin.

    Unfortunately it doesn’t seem to be working with the latest versions of WordPress (3.5.1.) and Buddypress (1.6.5)

    I have installed the plugin but no like button!

    Any ideas?

  14. I am intending to use your plugin. I have it installed on my localhost to see it in action, but there seems to be a problem.

    I wanted the lead-topic shown different, so I added:
    add_filter( ‘bbp_show_lead_topic’, ‘__return_true’ ); in my functions.php.

    But now the Like button is not appearing in the lead-topic. It does show in the replies.

    Can you help me out with a solution?

    Regards,
    Monique

    P.s. I am using WordPress 3.5.1. and Buddypress 1.7.2

  15. Hi,

    after installing and activating your plugin a button in the top menu bar disappeared (disabling the plugin I get it back).

    The button is a Login/Logout button that changes according to the status of the user (logged/not logged). Any hint about what is messing up with it?

    thanks

  16. Hi
    I installed the plugin, and can see the icon in top of threads and replies, but no counter is showing and sometimes the icon is empty – a black rectangle appears instead.

    Any idea?

    last versions of bbpress and buddypress.

    Thanks

  17. Hi !

    I would very much like to use this on my bbPress installation .

    I am using Firmasite theme. The like button does not show up :-(((

    On some other themes it shows up..

    Pl advise, thanks

  18. Hi, thanks for this great plugin. I’m waiting for the next release, because I’m using buddypress + bbpress plugin.
    but now, when I add these codes to a text widget, it doesn’t work:
    [most_liked_users]
    [most_liking_users]
    [most_liked_posts]
    all I see, are these codes in the sidebar. I’m using buddypress default theme. anything I’m missing here?!

  19. trying to activating this plugin has caused my IP to be blocked by the website. Including FTP access. Please advise on what to do about this. Have had both other admins try to deactivate it and the same has happened to them.

  20. Same problem as Fina:

    in frontend the tooltip for displaying the people who have liked a reply, even when the option is enabled nothing appears.

    What must be done so that users can move the mouse cursor over the number of likes in frontend and see atooltip with all users names that liked.

  21. The Like (thumbs up) Icon changes to a spinning circle and hangs when clicked. Tried re-installing version 1.3 of bbpress-like-button but it did not fix the problem. Any ideas?

    Thanks.

    1. Hi Randy, I’m having the exact same problem. Using WP 3.9 and latest version of BBpress… have you found a solution yet?

      Would be great to get a hand on this!

    2. Hi Randy,
      It looks like a problem with the AJAX call. Can you try clicking the button again with the Chrome Developer Tools or the Firebug open in the Console tab. If something fails you should be able to see an error there.

      Thank you,
      Jordi

  22. Getting this error in the logs:

    [Wed Nov 13 10:03:03 2013] [error] [client 10.183.251.1] WordPress database erro
    r Table ‘eolWP.wp_bbplike’ doesn’t exist for query SELECT COUNT(*) FROM wp_bbpli
    ke WHERE post_id = 570 made by require(‘wp-blog-header.php’), require_once(‘wp-i
    ncludes/template-loader.php’), apply_filters(‘template_include’), call_user_func
    _array, bbp_template_include, apply_filters(‘bbp_template_include’), call_user_f
    unc_array, bbp_template_include_theme_compat, BBP_Shortcodes->display_topic, bbp
    _get_template_part, bbp_locate_template, load_template, require(‘/plugins/bbpres
    s/templates/default/bbpress/content-single-topic.php’), bbp_get_template_part, b
    bp_locate_template, load_template, require(‘/plugins/bbpress/templates/default/b
    bpress/loop-replies.php’), bbp_get_template_part, bbp_locate_template, load_temp
    late, require(‘/plugins/bbpress/templates/default/bbpress/loop-single-reply.php’
    ), do_action(‘bbp_theme_before_reply_admin_links’), call_user_func_array, bbpres
    s_like->bbpl_show_button, bbpress_like->get_likes_number, referer:

    How do we fix this?

  23. Looked like it was just what I needed but all I am seeing is the following error:

    WordPress database error: [Table 'photomag_wordpress.wordpress_bbplike' doesn't exist]
    SELECT id FROM wordpress_bbplike WHERE user_id = 1 AND post_id = 3398
    WordPress database error: [Table 'photomag_wordpress.wordpress_bbplike' doesn't exist]
    SELECT COUNT(*) FROM wordpress_bbplike WHERE post_id = 3398

    I would be grateful for any help on fixing this error.

  24. Love the idea of this but has some serious issues on our site.

    If one person in a thread ‘likes’ something…all the comments then show the same number of likes.

    Then occasionally if I click “like” it will jump the number way up from 2 to 1200 (no kidding) with just ONE click.

    Hope you will fix this AND make it show on the activity stream!

  25. after the new update there are issues:

    in plugin directory:
    string(19) “akismet/akismet.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(19) “bbpress/bbpress.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(57) “bbpress-admin-baaddition/bbpress-admin-bar-addition.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(42) “bbpress-enable-tinymce-visual-tab/init.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(36) “bbpress-like-button/bbpress-like.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(52) “bbpress-topic-thumbnails/bbpress-post-thumbnails.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(36) “contact-form-7/wp-contact-form-7.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(34) “custom-sidebars/customsidebars.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(49) “gd-bbpress-attachments/gd-bbpress-attachments.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(37) “gd-bbpress-tools/gd-bbpress-tools.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(25) “kk-star-ratings/index.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(27) “LayerSlider/layerslider.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(27) “userpro-messaging/index.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(57) “simple-share-buttons-adder/simple-share-buttons-adder.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(25) “templatera/templatera.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(17) “userpro/index.php” string(36) “bbpress-like-button/bbpress-like.php”
    string(27) “js_composer/js_composer.php” string(36) “bbpress-like-button/bbpress-like.php”

    1. Hi Ivan,

      Thanks for the reply, I just updated the plugin to a minor version to solve this isse. A debug line was left by mistake.

      Please update to version 1.5.1 and this problem should be solved.

      Jordi

  26. Hi there. good plugin.
    but it would be better if you add like button for bbpress posts in buddypress activity items. because most of people read the posts from activity page, and they never see the like button on the main post at the forum.

    1. Hi Amin,

      Unfortunately this feature is not yet implemented. The BuddyPress activity stream has nothing to do with bbPress itself, so I don’t expect to implement this functionality as part of this plugin.

      Best regards,
      Jordi

  27. Hello,

    Great plugin. I have got one question. When i put your schortcode [most_liked_posts] in a widget i get a good output in the widget.

    But when i click the link to the most liked post it opens a new window.

    I want the link to open in _self window.

    is that possible

    jap

  28. Hello,

    nice plugin and it is working. Now i want to use the shortcode [most_liked_posts] in my sidebar.

    I downloaded the shortcode widget to show it over there.

    It is working halfly. It is showing the recent likes on different posts. But its not showing the one with the most likes on the first place. How to solve this.

    And there is now a list of 14 different likes as output of the shortcode. Can I make it show only 4 top likers or 5?

    thank you in advantage

    Jap

  29. Ok was asking to quick again.

    I did put:

    ORDER BY
    liked_post_count
    DESC LIMIT 5"

    after :

    "SELECT
    COUNT(*) liked_post_count,
    post_id
    FROM
    $this->table_name
    WHERE
    meta_key = 'bbpl_like'
    GROUP BY
    post_id"

    I placed it on line 357 of class.bbpress-like.php and moved the ” behind GROUP BY post_id after DESC LIMIT 5!

    working like a charm!!

    thank you!!

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>