BuddyPress Hack: bbPress Forum tweaks using Group Forum Extras plugin
First, download the plugin (v0.1.8 is required)
The latest plugin update includes a few “extra” functions in order to display some classic bbPress features.
Link the freshness time_since to the last post anchor
edit /bp-default/forums/forums-loop.php
Change:
<td> <?php bp_the_topic_time_since_last_post() ?> </td>
To:
<td> <a href="<?php echo bp_forum_extras_topic_last_post_link( 15 ); ?>"><?php bp_the_topic_time_since_last_post() ?></a> </td>
Add pagination next to topic title on Forum Page
edit /bp-default/forums/forums-loop.php
Add:
<?php bp_forum_extras_topic_page_links( 15 ) ?>
After the topic title. You may pass additional args and css maybe required – refer to paginate_links.
Please note: 15 is the default per_page for bp_has_forum_topic_posts loop – buddypress does not store page settings in a meta table like bbPress. So we have to fudge it a little.
Add Voices to Topic Page
edit /bp-default/groups/single/forum/topic.php
After:
<?php bp_the_topic_total_post_count() ?>
Add:
, <?php bp_forum_extras_the_topic_voices_count(); ?>
Add Voices to Forum Page (does not require extras plugin)
edit /bp-default/forums/forums-loop.php
Add new columns
header:
<th id="th-voices"><?php _e( 'Voices', 'buddypress' ) ?></th>
and in the loop:
<td> <?php bb_topic_voices( bp_get_the_topic_id() ) ?> </td>
Add Author to Forum Page (does not require extras plugin)
edit /bp-default/forums/forums-loop.php
Add new columns
header:
<th id="th-author"><?php _e( 'Author', 'buddypress' ) ?></th>
and in the loop:
<td> <a href="<?php bp_the_topic_permalink() ?>"><?php bp_the_topic_poster_avatar( 'type=thumb&width=20&height=20' ) ?></a> <div><?php bp_the_topic_poster_name() ?></div> </td>



