Title: bbPress Votes
Author: grosbouff
Published: <strong>3 abril, 2015</strong>
Last modified: 13 janeiro, 2020

---

Pesquisar plugins

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

![](https://s.w.org/plugins/geopattern-icon/bbpress-votes.svg)

# bbPress Votes

 Por [grosbouff](https://profiles.wordpress.org/grosbouff/)

[Baixar](https://downloads.wordpress.org/plugin/bbpress-votes.zip)

 * [Detalhes](https://br.wordpress.org/plugins/bbpress-votes/#description)
 * [Avaliações](https://br.wordpress.org/plugins/bbpress-votes/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/bbpress-votes/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/bbpress-votes/#developers)

 [Suporte](https://wordpress.org/support/plugin/bbpress-votes/)

## Descrição

Allows logged users to vote up or down to topics and replies inside bbPress, just
like you can on StackOverflow for example.

 * Ajaxed
 * BuddyPress integration
 * Votes log with users icons
 * Options page
 * 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)

#### Demonstração

We don’t have a running demo anymore. If you use this plugin and would like to be
featured here, please [contact us](https://github.com/gordielachance/bbpress-votes/issues/12)

#### Donate

Donations are needed to help maintain this plugin. Please consider [supporting us](http://bit.ly/gbreant).

This would be very appreciated — Thanks !

#### Contribuintes

Contributors [are listed here](https://github.com/gordielachance/bbpress-votes/contributors)

#### Bugs/Development

For feature request and bug reports, please use the [Github Issues Tracker](https://github.com/gordielachance/bbpress-votes/issues).

If you are a plugin developer, [we would like to hear from you](https://github.com/gordielachance/bbpress-votes).
Any contribution would be very welcome.

### Localization

If it hasn’t been done already, you can translate the plugin and send me the translation.
I recommand [Loco Translate](https://fr.wordpress.org/plugins/loco-translate/) to
work on your translations within WordPress.

## Capturas de tela

[⌊A single reply with score, vote up and vote down links (top) and vote log (after
reply content)⌉⌊A single reply with score, vote up and vote down links (top) and
vote log (after reply content)⌉[

A single reply with score, vote up and vote down links (top) and vote log (after
reply content)

[⌊Plugin's options page⌉⌊Plugin's options page⌉[

Plugin’s options page

## Instalação

Upload the plugin to your blog and Activate it.

## Perguntas frequentes

  I can’t see the vote links

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](https://codex.wordpress.org/Class_Reference/WP_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](http://codepen.io/anon/pen/KpwrMp) 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

## Avaliações

![](https://secure.gravatar.com/avatar/16bd70fb00abbc47f1c3eefda5eaf51f1e12d0b9cc54d1e90f83a883c7a7252e?
s=60&d=retro&r=g)

### 󠀁[could easily be greatest bbpress plugin](https://wordpress.org/support/topic/could-easily-be-greatest-bbpress-plugin/)󠁿

 [bellejoshy](https://profiles.wordpress.org/bellejoshy/) 23 abril, 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)

![](https://secure.gravatar.com/avatar/51e4d55fd888ab55cfe627d6f22de01819a5a95a368145b63f339f98c76a0d70?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-7422/)󠁿

 [alinaalinuta](https://profiles.wordpress.org/alinaalinuta/) 20 janeiro, 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!

![](https://secure.gravatar.com/avatar/39c3e2879f0013f6b6d6b715417a8afcbe05b3e92e30ff7c941e86da0994e3db?
s=60&d=retro&r=g)

### 󠀁[Thank you for plugin](https://wordpress.org/support/topic/thank-you-for-plugin-37/)󠁿

 [thunkli](https://profiles.wordpress.org/thunkli/) 3 março, 2020

Thank you for plugin

![](https://secure.gravatar.com/avatar/ebd974130c49f909afbf6a1aa635a00bde7e8fb00403cdbb1b63d8d85cbed7b7?
s=60&d=retro&r=g)

### 󠀁[¡¡¡Awesome!!!](https://wordpress.org/support/topic/awesome-6037/)󠁿

 [MCD Diseño Web](https://profiles.wordpress.org/macsgv/) 12 outubro, 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 !!!

![](https://secure.gravatar.com/avatar/f7deb585e1b953f33523f7ae0146a823fb6c127767222c62ba6e828e9d9aedce?
s=60&d=retro&r=g)

### 󠀁[Only admins can vote](https://wordpress.org/support/topic/only-admins-can-vote/)󠁿

 [dekoningalex](https://profiles.wordpress.org/dekoningalex/) 19 maio, 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.

![](https://secure.gravatar.com/avatar/44fcf6c88acf4c81e1a3ccbb3717a6eb3136b77a594acb07b26fbcc27865c1c0?
s=60&d=retro&r=g)

### 󠀁[aucun interet](https://wordpress.org/support/topic/aucun-interet/)󠁿

 [bgtbbox](https://profiles.wordpress.org/bgtbbox/) 17 outubro, 2016

auncun interet non fonctionnel

 [ Leia todas as 15 avaliações ](https://wordpress.org/support/plugin/bbpress-votes/reviews/)

## Colaboradores e desenvolvedores

“bbPress Votes” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

 *   [ grosbouff ](https://profiles.wordpress.org/grosbouff/)

[Traduzir o “bbPress Votes” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/bbpress-votes)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/bbpress-votes/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/bbpress-votes/) ou
assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/bbpress-votes/)
por [RSS](https://plugins.trac.wordpress.org/log/bbpress-votes/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 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

 * Migrate options page
 * 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
 * Added option to disable downvoting
 * 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
 * French translation
 * 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

## Meta

 *  Versão **1.2.5**
 *  Última atualização **6 anos atrás**
 *  Instalações ativas **70+**
 *  Versão do WordPress ** 4.1.1 ou superior **
 *  Testado até **5.3.21**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/bbpress-votes/)
 * Tags
 * [bbPress](https://br.wordpress.org/plugins/tags/bbpress/)[rate](https://br.wordpress.org/plugins/tags/rate/)
   [rating](https://br.wordpress.org/plugins/tags/rating/)[vote](https://br.wordpress.org/plugins/tags/vote/)
   [votes](https://br.wordpress.org/plugins/tags/votes/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/bbpress-votes/advanced/)

## Classificações

 3.9 de 5 estrelas.

 *  [  10 avaliações com 5 estrelas     ](https://wordpress.org/support/plugin/bbpress-votes/reviews/?filter=5)
 *  [  1 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/bbpress-votes/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/bbpress-votes/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/bbpress-votes/reviews/?filter=2)
 *  [  4 avaliações com 1 estrelas     ](https://wordpress.org/support/plugin/bbpress-votes/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/bbpress-votes/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/bbpress-votes/reviews/)

## Colaboradores

 *   [ grosbouff ](https://profiles.wordpress.org/grosbouff/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/bbpress-votes/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](http://bit.ly/gbreant)