Re: Group Activity Feed
@amahesh –
In your theme’s functions.php, make sure your code looks something like this:
http://pastebin.com/Pn1jFXG5
Read the comments in the code.
Then In your duplicate of bp-activity-group-feed.php, you need to change:
if ( bp_has_activities( 'object=' . $bp->groups->id . '&primary_id=' . $bp->groups->current_group->id . '&max=50&display_comments=threaded' ) ) :
to
if ( bp_has_activities( 'object=' . $bp->groups->id . '&primary_id=' . $bp->groups->current_group->id . '&secondary_item_id=' . $bp->groups->current_group->creator_id . 'max=50&display_comments=threaded' ) ) :
This will filter the group activity feed so only updates from the creator of the group will be listed. If you have multiple admins, you’ll have to find a way to append their IDs (comma-delimited) to the end of the “secondary_item_id” parameter.