how to display logged in user’s reputation points in a widget

4.57K viewsGeneral
1

Hi,

 

Reputation points shows in my profile page as normal. My home page  displays a widget with the logged in users information. I want to display the reputation points in this widget as well.

 

Looking at reputation.php

public static function bp_profile_header_meta() {public static function bp_profile_header_meta() {
echo ‘<span class=”ap-user-meta ap-user-meta-reputation”>’ . sprintf( __( ‘%s Reputation’, ‘anspress-question-answer’ ), ap_get_user_reputation_meta( bp_displayed_user_id() ) ) . ‘</span>’;
}

want to echo ap_get_user_reputation_meta( bp_displayed_user_id() but for bp_loggedin_user_id().

Answered question
1

bump? is this not possible? to display a logged in users reputation points on homepage?

Posted new comment

me too looking same question, i hope rahul answer..