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:
* Historical weighted score visualization
* Accepted answers
* “Who voted” avatars
* Sort dropdown
* Sort on weighted score
* Sort on trending score
* Trending topics widget
* Schema for Q&A rich snippets
* Voting email notification to author
* Mark topics or replies with poor scores as spam

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

  • Settings Page (continued)

  • Override voting and sorting on topics and replies on individual forums.


  1. Just install and activate
  2. If you purchase the pro plugin, it must be installed alongside the free core plugin.


Are there other plugins like this?

No, and it’s the strangest thing. I was wanting a plugin to do this, and after much searching, I came to the conclusion that it didn’t exist, so I developed one myself… and my, how this has grown into quite a robust plugin!

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.


ጥሪ 4, 2021 1 reply
Pumped to use the plugin. Free version all working in Buddyboss forums, but purchased Pro straight away. Thanks for adapting to Buddyboss.
መስከረም 23, 2020
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
መስከረም 11, 2020 1 reply
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.
ነሓሰ 26, 2020 1 reply
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).
ሚያዝያ 3, 2020 6 replies
Although I wish it had some options for placement. Not sure I like it above the author avatar.
Read all 10 reviews

Contributors & Developers

“bbPress Voting” is open source software. The following people have contributed to this plugin.


Translate “bbPress Voting” into your language.

Interested in development?

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


  • Bug fix

  • Fix undefined index warning

  • New Pro Feature: Historical Weighted Score Visualization
  • Option to disable the Pro feature: Q&A Schema

  • Bug fix.

  • Bug fixes with realtime updating vote numbers.

  • “positive” and “negative” wrapper classes change on-the-fly.

  • New Pro Feature: Allow admins to accept answers.

  • Added “positive” and “negative” classes to the voting buttons wrapper for use in custom CSS styling.

  • New Pro Feature: Option to Allow Nested Replies as Accepted Answers
  • Pro Change: Q&A Schema will only choose suggested answers from the best of the top-level replies and not nested replies.

  • Fix resources being loaded with double-slashes in the path.

  • New Pro Feature: “Sort By” Dropdown Default Option

  • Bug fix with translation.

  • New Pro Feature: Sort by Trending/Hot!

  • Minor: Tranlation for hidden Up and Down labels.

  • Sanitize admin-inputted plugin settings.

  • New Pro feature: Automatically mark topics or replies with poor voting scores as spam. You set your own threshold ratio.

  • Bug fixes.

  • New option to enable BuddyBoss theme compatibility (not all BuddyBoss themes work the same way, so you choose to use it)

  • Fixed bug where voting buttons show twice.

  • Using different hooks to better support BuddyBoss theme.

  • Support for pro plugin fixes for weighted score sorting

  • Added support for custom development integration using custom post types.
  • Fixes syling issues

  • Fixed bug with BuddyBoss where custom labels show up in the reply excerpt.

  • Added option to disallow authors from voting on their own topics/replies.

  • Fixed removing down label when downvotes disabled.

  • Update to the “Go Pro!” page. Check out all the new features in the Pro version!

  • Added option to break out the lead topic from the replies.


  • Fixes issue with bbPress where topic moves to the bottom when “nested/threaded replies” is enabled.


  • Pro version now has schema for Q&A rich snippets!
  • Fixed sorting with threaded replies
  • Now uses lead topic area before the replies


  • test


  • Bug fix for sorting by date after scores.


  • Bug fix
  • Combined settings onto one tab


  • bbPress Voting Pro now has a Trending Topics widget that sorts based on voting score.


  • New option to choose how to display vote numbers (hover, always show, or hide).
  • New option to choose how to display vote numbers.
  • New option for the pro feature, Accepted Answers.
  • New pro feature, “Sort by” Dropdown.


  • Support for Pro version 2.0.8, now with Accepted Answers!


  • 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