Title: Karma Points
Last modified: April 2, 2023

---

# Karma Points

 *  Resolved [recuerdaclub](https://wordpress.org/support/users/recuerdaclub/)
 * (@recuerdaclub)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/karma-points/)
 * Hello.
   First, thanks for a really cool plugin.
 * I’m looking at the option to show how to reissue karma points in each user’s 
   profile, in which the upvotes of all posts are added and the downvotes are subtracted(
   as in reddit)
 * Is there an option to configure this with the plugin?
 * Also in the portal I use buddyboss and gamipress.
 * How could I achieve this to synchronize it with an event with gamipress, I read
   a previous post on the forum that referred to gamipress but I did not understand
   the process very well.
   thanks 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [natekinkead](https://wordpress.org/support/users/natekinkead/)
 * (@natekinkead)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/karma-points/#post-16617798)
 * [@recuerdaclub](https://wordpress.org/support/users/recuerdaclub/) , if you’re
   a bit of a developer (or you have a developer), you can use the hooks that I 
   expose in my plugin to integrate it with other plugins.
 * The one that would be helpful in this scenario is this…
 *     ```wp-block-code
       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
       }
       ```
   
 *  Thread Starter [recuerdaclub](https://wordpress.org/support/users/recuerdaclub/)
 * (@recuerdaclub)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/karma-points/#post-16622926)
 * so i add that hook to functions.php
 * and then how do I synchronize it with gamipress?
   I also take advantage of asking,
   is there a way to make the numbers and the arrows of the votes smaller, I think
   that in the mobile version platform it takes up a lot of space
    -  This reply was modified 3 years, 2 months ago by [recuerdaclub](https://wordpress.org/support/users/recuerdaclub/).
 *  Plugin Author [natekinkead](https://wordpress.org/support/users/natekinkead/)
 * (@natekinkead)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/karma-points/#post-16623473)
 * [@recuerdaclub](https://wordpress.org/support/users/recuerdaclub/) , you (or 
   your developer) would have to look into the code and documentation of Gamipress.
   I’m not familiar with it. But, I’m guessing they are probably using some usermeta
   field which stores the current karma score for each user. So, you would use my
   hook and then inside that function, you would write code to make the appropriate
   adjustments to the usermeta of the current user.
 * Regarding the size, I have used unique classes for all of my HTML elements so
   that you can manipulate look of everything with some simple CSS.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Karma Points’ is closed to new replies.

 * ![](https://ps.w.org/bbp-voting/assets/icon-128x128.png?rev=3410351)
 * [bbPress Voting](https://wordpress.org/plugins/bbp-voting/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bbp-voting/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bbp-voting/)
 * [Active Topics](https://wordpress.org/support/plugin/bbp-voting/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bbp-voting/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bbp-voting/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [natekinkead](https://wordpress.org/support/users/natekinkead/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/karma-points/#post-16623473)
 * Status: resolved