id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 5603,Posting a new Activity causes activity-loop.php scope filters to be removed,xyhavoc,,"In BP 2.0, limiting the scope within activity-loop.php doesn't work consistently when posting a new activity update. For instance: -activity-loop.php I have added the filter “&action=activity_update” so that the stream only shows user’s activity posts, as per the codex (http://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/). -I Pull up the activity feed on the web site, everything looks A-OK, the scope filters are working as they should. -Then I post a new activity update, when Buddypress adds the new activity via javascript, the filter is removed and the user can now scroll and see activities that should not be visible because of the activity-loop.php scope filter that have been set. imath recommended adding a new way of limiting the scope through bp-custom.php but that doesn't make sense if there's already a documented way of limiting the scope through buddypress templates. However his fix did not work. Link to his fix: https://gist.github.com/imath/5c7e4db74513ca4b30b8 I'm comparing BP 1.9 buddypress.js against BP 2.0 buddypress.js to see if this is where the problem lies and I think it may have something to do with the ""load newest activities"" functions, but I could be wrong. Any thoughts? Can anyone else reproduce this?",defect (bug),closed,normal,2.0.1,Activity,2.0,major,fixed,reporter-feedback has-patch 2nd-opinion,