Re: How to display the User Post Count in Topic.php
You’re using the plugin wrong.
Member Profile Stats, by default, passes the displayed user ID for many of the template tags; you’ll need to pass the topic poster’s ID.
eg. `bp_member_profile_stats_get_member_post_count( $user_id = false )`
Unfortunately, there is no native function to pass the topic poster ID. However one can easily be created:
`function my_topic_poster_id() {
global $topic_template;
return $topic_template->post->poster_id;
}
`
Then you can pass it in the function:
`echo bp_member_profile_stats_get_member_post_count( my_topic_poster_id() )`