Activity feed for Members only or Friends only ?
Activity Loop
and pay attention to scope. As of BP 2.2.0, you can now use multiple scope.
if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&scope=friends,groups' ) ) :
You could also use bp_parse_args in a custom function or
search on forum for similar to your question, like this one.
Would be better if there was an option in the Admin section (BuddyPress settings) in which admins could just select Activity permissions.
Furthermore, the posted link doesn’t help non-coders (like me). What file should be edited? Where should the edit take place?
Please assist…
The activity loop is in the template. And the file you can edit doesn’t exist.
In fact it exist, but you have to make a copy of it first, make your modification and add the copied file to your child-theme.
Be warned 😉 : if you modify the original file, the modification will be lost at the next update of BP.
The concerned file is /buddypress/bp-templates/bp-legacy/buddypress/activity/activity-loop.php
Inside that file you will see what is explained on the codex page i indicated you previously.
All the other points are also explained on the codex.
Would be better if there was an option in the Admin section
Do you imagine the number of settings which would be necessary to fit all existing and upcoming use cases ? Even our spumoni dudes devs haven’t implemented a pizza oven yet ! 😀
Yeah but one would image that there would be a simple option for the admin to disallow non-members to view the Activity.
I don’t think that’s an over the top request.