Jun 02, 2025 8:51 pm
THe following code was working on wpforo 1.9.x
How to get this work on wpforo 2.x, is there a new syntax?
<?php wpforo_print_number(WPF()->member->get_votes_and_likes_count($member['userid']), true); ?> <?php wpforo_print_number(WPF()->member->get_user_votes_and_likes_count($member['userid']), true); ?>
2 Replies
Jun 03, 2025 6:31 pm
WHat i already know is, the fields are now named reactions_in and reactions out. The question is how to display this in the memberlist.
i try the following syntax but i receive 1 for both values and all users.
<?php echo intval( $member['reactions_out'] ) ?>