=== bbPress Voting === Contributors: natekinkead Donate link: https://paypal.me/natekinkead Tags: bbpress, voting, vote, rating, rate, topics, replies, up, down, stackoverflow, forum Requires at least: 3.0 Tested up to: 5.0.3 Stable tag: 1.1.7 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl.html Let visitors vote up and down on your bbPress topics and replies just like StackOverflow! == Description == This simple plugin integrates with the bbPress plugin to add a new feature which allows users 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. Visitors can only vote once on each topic or reply. == Installation == 1. Just install and activate == Frequently Asked Questions == = 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 do you change the "Helpful" and "Not Helpful" labels? Simply add this code to your child theme's functions.php file... `add_filter('bbp_voting_helpful', function() { return 'Thanks'; }); add_filter('bbp_voting_not_helpful', function() { return 'No Thanks'; });` = How do you remove the "Helpful" and "Not Helpful" labels? To completely remove the labels, add this code to your child theme's functions.php file... `add_filter('bbp_voting_show_labels', '__return_false');` = Can you sort the bbPress replies by their voting score? Yes, using this plugin, you can now enable the feature that sorts replies by votes simply by adding this filter hook into your child theme's functions.php file... `add_filter('sort_bbpress_replies_by_votes', '__return_true');` == Screenshots == 1. This is what the voting and score looks like. == Changelog == = 1.1.7 = * Another bug fix with sorting replies by voting score = 1.1.6 = * Bug fix with sorting replies by voting score = 1.1.5 = * Added filter, sort_bbpress_replies_by_votes, to enable a new feature that sorts replies by voting score = 1.1.4 = * Added filter, bbp_voting_show_labels = 1.1.3 = * Removed unlimited voting from administrators = 1.1.2 = * Fixed javascript bug with repeated votes * Added Helpful and Not Helpful labels with filters to modify them = 1.1.1 = * Added hover effect to show the up and down votes = 1.1.0 = * Added tracking of up votes and down votes * Added hover style on arrows * Bug fixes = 1.0.3 = * Fixed jquery bug = 1.0.2 = * Bug fix with nopriv AJAX = 1.0.1 = * Bug fix = 1.0.0 = * Initial release