Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: [New Plugin] BuddyPress Group Forum Extras


3sixty
Participant

@3sixty

re: forum index

etiviti (rich!), I spiffed up the forum index by adding Group/Forum avatars beside the forum title/description (see code below)

Question: can you think of an easy way to include a link to the last active post, say, in a final column? I looked at the code last night didn’t get that far.

Add Avatar to BP Forum Extras – Forum Index

Under:

<td class=”num td-title”>

Add:

<div class=”item-avatar”>

<?php $width=50;$height=50;$type=’thumb’; echo bp_core_fetch_avatar( array( ‘item_id’ => $listing->id, ‘object’ => ‘group’, ‘type’ => $type, ‘avatar_dir’ => ‘group-avatars’, ‘width’ => $width, ‘height’ => $height ) ) ?>

</div>

Skip to toolbar