How to place code in Avatars plugin to BBPress?

Put this Code <?php avatar_display_bbpress(get_post_author_id( $bb_post->post_id ),'48',''); ?> where on BBPress ?