@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…
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
}
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
@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.