How can I filter The Activity Stream Loop with more than one scope
-
Hi!!!
I would like to show in the same activity tab the personal activity and the favourite activity. For that, I have modified the template activity-loop.php and I have change this line:
`if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) ) ) :`
for this one:
`if ( bp_has_activities( ‘scope=friends,favorites’ ) ) :`
As I found here: http://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/
But it doesn’t work, beacuse, I think that the parameter scope don’t accept more than one value. So, is there another way to show all the activity of friends and favourites in the same tab?
Thanks so much!!!
- The topic ‘How can I filter The Activity Stream Loop with more than one scope’ is closed to new replies.