Bbpress have this function: bbp_user_post_count();
But it not work in reply loop, i have used:
bbp_user_post_count($user_id);
bbp_get_user_post_count($user_id);
bbp_user_reply_count($user_id);
bbp_get_user_reply_count();
Nothing work in reply loop…
Whyyyy??? What is the problem? Why do not showww??
I have also copy and paste this:
<p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw() ); ?></p>
But it don’t show anything, show only: ” Replies Created ” and empty after…
HEEEEELPPP………….
The issue is that in loop-single-reply the variable $user_id is not set. I’ve just written a plugin for this, which should work – it does on my site, but I am trying to work out why it doesn’t on another who also has buddypress.
You installing it would help me determine if it is me !
Download to your pc, and then upload to the plugins
bbp topic count plugin
or crack it open to see what code I used