[Resolved] Disable group posts from main activity stream
-
How can i do it?
I still want groups to be able to have their own, separate activity streams, but i want that information kept inside of their group, or if someone presses the “My Groups” tab at the top of the main activity page it should show up.
Otherwise I don’t want group updates showing up on the main activity “wall”.
Here is code I am using so far concerning what I want to show on the activity wall…
/** * Activity Stream Default Updates */ function make_swa_show_notice_only( $retval ) { if ( bp_is_page( 'activity' ) ) { $retval['action'] = 'activity_update, rtmedia_update, forums_update, bbp_topic_create, bbp_reply_create'; } return $retval; } add_filter( 'bp_after_has_activities_parse_args', 'make_swa_show_notice_only' );
This basically makes only status updates, rtmedia updates(photos and such), and forum updates show up on my activity “Wall”. How can i tweak this code to NOT allow group updates to come through?
Thanks!
- The topic ‘[Resolved] Disable group posts from main activity stream’ is closed to new replies.