Re: aggregate activity stream from public groups
where to make changes, really depends on your theme setup.
If you want a theme similar to the default, but with your own enhancements (such as the ones in this thread), you are best to create a child theme, and make the changes in there. You’ll be editing the activity-loop.php and entry.php files in your child theme.
Have a look in the documentation for the article on creating child themes.
I don’t know whether there are many examples on line of alternative activity loops. I posted one example earlier today of some amends we’d done to entry.php to access and enhance the activity template tags: https://buddypress.org/community/groups/requests-feedback/forum/topic/omit-time-stamps-from-activityfeed-so-only-date-stamps-show
And here’s an example of how we do a custom blog loop from a site I’m working on at the moment:
`
<?php $args = array (
‘action’ => ‘new_blog_post’,
‘max’ => 20); ?>
-
<?php $count=0;
while (bp_activities() && ($count < ) : bp_the_activity(); ?>
<?php $blog_id = bp_get_activity_item_id();
if ((int)$blog_id == 1) continue; ?>
<li class="<?php if ($count “>
`