For clarification, I am not the original developer nor owner. Just a busy bee helping support it and develop it as part of a team.
At this point, the output location is not controlled by BadgeOS or BadgeOS Community Addon. It’s all bbPress or built-in BuddyPress forums, depending on how old your install is.
If your forums are bbPress powered at the moment, this should work and get you into the right area:
function append_badges_via_filter( $author_link = '', $args ) {
# Needed to get the user ID of the person intended to be displayed.
$user_id = bbp_get_reply_author_id( $args['post_id'] );
#Construct your output here.
$badge_output = '';
return $author_link . $badge_output;
}
add_filter( 'bbp_get_reply_author_link', 'append_badges_via_filter', 10, 2 );
You’ll want to return the $author_link content first and then your achievement output so that it is still displayed properly on the left of the reply.
Just need to use previous information on actually creating the output. For an in-depth article about various ways to use the aforementioned badgeos_get_user_achievements function, you can check out https://trexthepirate.com/badgeos/2014/12/show-off-users-achievements-part-one/ which I wrote up last night.
I haven’t looked deep into the BuddyPress code if you’re using that for the forums, and I’d have to go poking through it.