I' not a huge php expert but I wanna change something in bbPress. A reader of my website (trickspanda.com) suggest this idea to me & I really loved it so I worked on it. Every top forum software has or should have Replies Created and Topics Started type thing below the user reply.
I don't want to confuse you, so here's is the pic of what I'm trying to say: http://www.trickspanda.com/2014/01/add-replies-topics-count-bbpress/
I'm new to this contribute thing so I'm simply putting the code and stuff I wanted to add to the core of bbPress.
Putting this code in the bbPress loop-single-reply.php file below:
<?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
will do the job:
<?php // delete or comment out these lines to stop displaying topic count $topic_count = bbp_get_user_topic_count_raw( bbp_get_reply_author_id( $reply_id )) ; echo "<br>Topics Started : " ; echo $topic_count ; echo "</br>" ; // delete or comment out these lines to stop displaying replies count $reply_count = bbp_get_user_reply_count_raw( bbp_get_reply_author_id( $reply_id )) ; echo "<br>Replies Created : " ; echo $reply_count ; echo "</br>" ; ?>
Tell me what you guys think of it?