Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Default Activity Streams Are Backwards IMHO


Nick Watson
Participant

@nickbwatson

in bp-activity-templatetags.php within the buddypress plugin folder, I found the following ‘scopes’:

if ( 'just-me' == $scope || 'friends' == $scope || 'groups' == $scope || 'favorites' == $scope || 'mentions' == $scope ) {

Each of these has a case and it discribes which scope needs to grab each activity feed.

So now all we need to know is how to set a scope within lets say the “activity-loop.php” in your theme folder and then it will grab the “friends” scope and the “friends” activity feed.

I don’t know how or where to call the scope but I’m going to take a wild guess and say that it’s here:

<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>

Within activity-loop.php.

Let me know if this helped, or just confused everyone.

Thanks

Skip to toolbar