Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Modify the activity loop

@henrywright

Moderator

I do not want to ‘add’ new activity. I just want that when one visits example.com/activity, it displays… …all updates in private/ hidden groups where the concerned person is a member (this is NOT displayed currently.) How do I do that?

You have to ‘add’ the new activity.

Regarding the second bullet point, you’d need to modify your activity loop which will be inside your activity template. Try something like this:

<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&display_comments=stream' ) ) : ?>
    <?php while ( bp_activities() ) : bp_the_activity(); ?>
 
        <?php locate_template( array( 'activity/entry.php' ), true, false ); ?>
 
    <?php endwhile; ?>
<?php endif; ?>

For more info on the BuddyPress template system and where you find your activity template, please see this article.

Skip to toolbar