bbPress Voting


This simple yet powerful plugin integrates with the bbPress forum plugin to add a new feature which allows users or visitors to vote up or down on topics and replies. Each topic and reply has a total score with an up arrow and a down arrow.

This plugin uses AJAX to save the vote on-the-fly without refreshing the page.

It’s also AMP compatible!

Visitors can only vote once on each topic or reply.

Features Included:
* Show or hide (and customize) labels for up and down
* Disable voting on topics or replies globally
* Disable voting on specific forums
* View-only score on closed topics
* Sort topics and replies by voting scores
* Admin bypass

Pro Features Available:
* “Who voted” avatars
* Sort on weighted score
* Voting email notification to author

Purchase bbPress Voting Pro at WP For The Win!


  • Voting and scores on a topics list in a forum.
  • Voting and scores on a reply on a topic.
  • Settings Page - Look & Feel


  1. Just install and activate


Are there other plugins like this?

No, and it’s the strangest thing. I was wanting a plugin to do this, and after much seaching, I came to the conclusion that it didn’t exist, so I developed one myself.

How to you change the settings?

In the WordPress admin area, go to Settings > bbPress Voting

How do you hook into the function that saves the vote to write custom code?

This hook fires after a new vote has been saved.

add_action( 'bbp_voting_voted', 'my_function_on_bbp_vote', 10, 4 );
function my_function_on_bbp_vote( $post_id, $direction, $score, $identifier ) {
    // Do something
    // $post_id will be the ID of the topic or reply that was voted on
    // $direction will be 1 for upvote, -1 for downvote, or 0 for removed vote
    // $score will be the new total score
    // $identifier will be either a numeric user ID or an IP address of a non-logged-in visitor

How do you allow voting only on certain forums?

Edit the forum, and you will see a metabox on the sidebar that will let you enable or disable voting and/or sorting just on that forum.

You can also write custom code to do it. This function in your child theme’s functions.php file will let you choose which forum IDs are allowed to have voting…

add_filter( 'bbp_voting_allowed_on_forum', 'allowed_voting_forums', 10, 2 );
function allowed_voting_forums( $allowed, $forum_id ) {
    if( in_array( $forum_id, array(123, 124, 125) ) ) {
        $allowed = true;
    } else {
        $allowed = false;
    return $allowed;

Can you allow administrators to vote repeatedly without limitations?

By default nobody can vote repeatedly on the same topic or reply, but you can enable this only for administrators by enabling the “Admin Bypass” settings.


great little plugin for use with BBPress client wanted to remove downvote Mr Kincaid added the feature very quickly. bought the pro version well worth the money if you have BBPress get this plugin
And finally, it happened! The author has been quite responsive so far and is consistently adding new features thus gradually closing the gap between other platforms like Reddit and Stackoverflow. I'm quite confident the developer will keep adding new features over the years based on the progress made in the past.
Plugin author has been very responsive and helpful. This plugin is very useful to our organization. I like the ability to hide voting on certain forums and the ability now to show who voted (via list of avatars under post).
Although I wish it had some options for placement. Not sure I like it above the author avatar.
8 (az összes) vélemény olvasása

Közreműködők és fejlesztők

“bbPress Voting” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:


“bbPress Voting” fordítása a saját nyelvünkre.

Érdekeltek vagyunk a fejlesztésben?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Változási napló


  • Fixed view-only voting scores on closed topics
  • Fixed javascript error in case of unexpected AJAX response
  • Made AJAX object variable name specific to prevent issues with other plugins that change the ajax_url property to ajaxurl.


  • New option for view-only voting for visitors (not logged in)
  • Now option for disabling down votes
  • Improved AJAX error handling.
  • Fixed bug with topic/reply post type detection


  • Settings and hooks to allow a new feature in bbPress Voting… Sorting by weighted score.
  • Improved AJAX data response for placing a vote.


  • version bump.


  • bbp_voting_voted hook now will pass $direction = 0 when the user removed their vote.


  • Fix for better post_type detection
  • Fix for issue with BuddyBoss Theme


  • New support for BuddyBoss Theme!
  • Bug fix for (user profile > replies created) showing empty.


  • New bbPress Voting Pro plugin is now available. “Who voted” avatars and author email notifications have moved to the Pro plugin. Get it at


  • New ability to remove your vote


  • Bug fixes


  • Bug fixes


  • Bug fixes


  • New “who voted” feature which shows color-coded avatars of users who voted on a topic or reply. Enable it in the settings.
  • New “author email notification” feature which emails the author of a topic or reply when a logged in user votes on it. Enable it in the settings.


  • Fixed forum-specific overrides when using the shortcode.


  • Added setting to for view-only scores on closed topics.
  • Fixed styling when using admin bypass


  • Fix bug with sort order of topics on a forum view.


  • Fix bug with sort order of topics on a forum view.


  • Fix bug with get_post_type() not working to get the reply ID on some themes.


  • New settings page! No more need for hooks.
  • Enable or disable voting on topics and/or replies.
  • Enable or disable sorting by votes on topics and/or replies.
  • Override voting and sorting on topics and replies on individual forums.


  • Bug fix with bbp_voting_allowed_on_forum hook.


  • Bug fix.


  • Removed needless specificity on jQuery selector


  • Fix bug that allowed illusion of voting repeatedly.
  • Added support for reversing your vote.


  • Don’t sort by votes when voting is not allowed on that forum.


  • Added action into the bbp_template_before_lead_topic hook.


  • Added action into the bbp_theme_before_topic_author_details hook.


  • Added vote tracking by user ID when logged in and fallback to IP when not logged in.


  • Fix CSS compatibility issue with bbPress 2.6 RC 7
  • Added filter hook for bbp_voting_only_replies


  • New features release! See the FAQs for several new hooks to access the new features.
  • Now AMP compatible
  • Double vote tracking now uses IPs rather than browser cookie
  • Your current vote shows with a green up arrow or a red down arrow
  • Show only on topics, not replies
  • Allow voting only on certain forums
  • New admin bypass filter


  • Another bug fix with sorting replies by voting score


  • Bug fix with sorting replies by voting score


  • Added filter, sort_bbpress_replies_by_votes, to enable a new feature that sorts replies by voting score


  • Added filter, bbp_voting_show_labels


  • Removed unlimited voting from administrators


  • Fixed javascript bug with repeated votes
  • Added Helpful and Not Helpful labels with filters to modify them


  • Added hover effect to show the up and down votes


  • Added tracking of up votes and down votes
  • Added hover style on arrows
  • Bug fixes


  • Fixed jquery bug


  • Bug fix with nopriv AJAX


  • Bug fix


  • Initial release