Activity loop does not work properly
-
To filter the activity loop, I edited the file /buddypress/activity/activity-loop.php:
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'scope=just-me,friends,groups,favorites,mentions&per_page=15&action=friendship_created,joined_group,activity_update' ) ) : ?>
when I load the activity page, the filter works, but when I click on the My Friends link, I don’t get the activity of friends but the activity of all members; the same happens if I click on My Groups link or Mention, I always get the activity of all members!!!
when I restore the original line:
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
My Friends link works properly again (and so My Groups and Mention), but I don’t get the results filtered as I would like;
Anyone has any idea???
I have Version 2.4.3 and I am not using any theme or other plugins
- The topic ‘Activity loop does not work properly’ is closed to new replies.