Show bbPress topic/reply counts on BuddyPress profile
Is it possible to show a user’s forum topic count(or post count) in the buddypress profile page? It feels like it should be simple enough but hours of googling and reading topics here has left me more confused than when I started.
I can see its possible on a bbpress profile page, where it’s using:
<p class="bbp-user-topic-count"><?php printf( __( 'Topics Started: %s', 'bbpress' ), bbp_get_user_topic_count_raw() ); ?></p> <p class="bbp-user-reply-count"><?php printf( __( 'Replies Created: %s', 'bbpress' ), bbp_get_user_reply_count_raw() ); ?></p>
Should I be calling a different function altogether, or is there a specific way to put bbPress functions inside a BuddyPress template page?
A good example of what I mean is at Tamriel Foundry, where the various counts are listed under the heading Post Details. (The design of that site in general is amazing)
Any help would be greatly, greatly appreciated! And apologies if you are reading this for a second time, I wasn’t sure whether to post my query at the Buddypress or bbPress forums.
- You must be logged in to reply to this topic.