Reply To: showing image field with bbp buddupress profile information
Still not entirely sure how this will rank image will function since I think you are just allowing users to input a custom image url, but here is an example using BuddyPress xprofile fields. It grabs the available field called “Rank” and displays the content after the reply author details.
function rkk_display_rank_image () {
$user_rank = xprofile_get_field_data( 'Rank', ( bbp_get_reply_author_id ( bbp_get_reply_id() ) ) );
echo '<div class="bbp-rank-image">';
echo '' . $user_rank . '';
echo '</div>';
}
add_action ('bbp_theme_after_reply_author_details', 'rkk_display_rank_image');