Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: new plugin: BuddyPress Rate Forum Posts


andrew_s1
Participant

@andrew_s1

What do you think about displaying the karma on the profile page too?

Something like this:

function rfp_show_poster_karma() {
global $bp;
$poster_id = $bp->displayed_user->id;
$karma = get_usermeta( $poster_id, 'rfp_post_karma' );
echo rfp_poster_karma($karma);
return;
}
add_filter( 'bp_before_member_header_meta', 'rfp_show_poster_karma' );

Skip to toolbar