Deze plugin is niet getest met de laatste 3 grotere versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

bbPress Votes

Beschrijving

Staat ingelogde gebruikers to om omhoog of omlaag te stemmen op onderwerpen en antwoorden binnen bbPress, net zoals je dat bijvoorbeeld op StackOverflow kunt doen.

  • Ajaxed
  • BuddyPress integration
  • Stem log met gebruiker pictogrammen
  • Opties pagina
  • Allow to filter a query to sort posts by votes, see FAQ.
  • Hooks and filters to extend the plugin
  • Templates functions to use in your themes (see the file bbpvotes-template.php); eg. bbpvotes_get_author_score() to get an author’s score (karma)

Demo

We don’t have a running demo anymore. If you use this plugin and would like to be featured here, please contact us

Doneren

Donations are needed to help maintain this plugin. Please consider supporting us.
This would be very appreciated — Thanks !

Medewerkers

Contributors are listed here

Bugs/ontwikkeling

For feature request and bug reports, please use the Github Issues Tracker.

If you are a plugin developer, we would like to hear from you. Any contribution would be very welcome.

Lokalisatie

If it hasn’t been done already, you can translate the plugin and send me the translation. I recommand Loco Translate to work on your translations within WordPress.

Schermafdrukken

  • A single reply with score, vote up and vote down links (top) and vote log (after reply content)
  • Plugin’s options page

Installatie

Upload the plugin to your blog and Activate it.

FAQ

Ik kan de stem links niet zien

Users cannot vote for themselves. If you are the author of a topic or reply, the vote links won’t be available; the score only will be shown.

Can I filter the query to sort posts by votes ?

Yes, you can sort the posts by score or votes count, using the query variable ‘bbpvote_sort’.
Allowed values are ‘score_desc’, ‘score_asc’, ‘count_desc’, ‘count_asc’.

Example of a query that will fetch the 5 last topics, ordered by score (desc) :

<?php
$best_rated_topics_args = array(
  'post_type'       => bbp_topic_post_type(), //or 'topic'
  'posts_per_page'  => 5,
  'bbpvote_sort'       => 'score_desc' //plugin
);

$best_rated_topics = new WP_Query( $best_rated_topics_args );
?>

See function sort_by_votes() for more details.

How can I customize the look of the vote links ?

The best way to customize the links is to setup some CSS rules in your theme.
Check this example on CodePen to see how to have images displayed instead of text.

If you need more complex customization, you can filter the links using those hooks :

  • bbpvotes_get_vote_up_link
  • bbpvotes_get_vote_down_link
  • bbpvotes_get_vote_score_link

Beoordelingen

23 april 2021
This could easily be the greatest bbpress plugin , it only has a few shortcomings which can be fixed This plugin does what no other ratings plugin does in a straightforward manner ..which is simply to show a log of users who have voted – ( i gave 4stars instead of 5 because the plugin is no longer supported)
20 januari 2021
I needed a voting plugin for my bbpress forum. This one is definitively the best you may found. I am very grateful that it exists!
12 oktober 2018
Hello, first of all my congratulations to the developer of excellent plugin, it works correctly very recommended to put a voting system in bbpress. Thank you very much for this excellent plugin !!!
19 mei 2018
I tried fixing this with ‘User Role Editor’ but can’t find a criterium to allow voting for users than are not admins. Making all users admins is not gonna happen.
Lees alle 15 beoordelingen

Bijdragers & ontwikkelaars

“bbPress Votes” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “bbPress Votes” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

1.2.4

  • karma transient fix

1.2.3

  • new BuddyPress profile submenu : forum>karma, where replies are sorted by score

1.2.2

  • Fixed sort topics by votes

1.2.1

  • Fixed bug when displaying topic score
  • Fixed typo in settings
  • Rebuild scores option

1.2

  • Migreer opties pagina
  • Option to choose the ‘score’ unit (pts, kudos, …)
  • Option to choose which post types are enabled for voting (topics/replies)
  • Use Dashicons instead of fontAwesome in some places
  • Use a transient to cache author’s karma

1.1.0

  • supports unvoting (by reclicking the link)
  • “sort by votes” link before topics loop
  • Added option to hide voters identity in the vote log
  • Optie toegevoegd om naar beneden stemmen uit te schakelen
  • Added options page (under Settings > Forums)
  • Display the score of an topic next to its author when showing a topics list
  • Display the “reputation” score of an author next to its name when displaying a reply

1.0.9

  • SCSS files
  • CSS bug fix (https://wordpress.org/support/topic/avatars-not-in-a-row)

1.0.8

  • Removed the function ‘author_link_karma’ hooked on the filter ‘bbp_get_reply_author_link’ as it shows up everywhere.
    It’s easier to edit the bbPress templates and to call bbpvotes_get_author_score().

1.0.7

  • New template functions to get votes count by user : bbpvotes_get_votes_down_by_user_count(), bbpvotes_get_votes_up_by_user_count(), bbpvotes_get_votes_total_by_user_count()
  • New template functions to get an author’s score : bbpvotes_get_author_score()
  • Embeds author’s karma (score) under its name, when showing a reply
  • Russian translation by VovaZ

1.0.6

  • Added two meta keys : ‘bbpvotes_vote_score’ (total score) and ‘bbpvotes_vote_count’ (total votes).
  • Filter query to sort items by score or votes count.

1.0.5

  • Fixed crash when BuddyPress is not installed

1.0.4

  • Append votes log with ajax when user has voted
  • Franse vertaling
  • Added pot files for translations

1.0.3

  • Replaced ajaxurl with bbpvotesL10n.ajaxurl in bbpvotes.js

1.0.2

  • Fixed $user_vote_link link in bbpvotes_get_post_votes_log()
  • Fixed ‘bbpvotes-post-no-score’ class in bbpvotes_get_score_link()

1.0.1

  • Minor fixes

1.0

  • First release