Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: [Resolved] Filter the Activity Stream to Status Updates ONLY – Not Working

@danbp

Participant

Do you think that I have to add my modified bp-legacy files to my parent theme as well?

For sure. If you don’t, the next BP update will overide this folder. Golden rule: never touch/modify any of the original plugin files.
Any change you make is to do in the child-theme, including the legacy files you added to it.

Theme Compatibility & Template Files

You could also revert back, and try this function ( add it to child-theme’s functions.php)

function bpfr_filtering_activity( $retval ) {
	// activities to filter on, comma separated
	$retval['object'] = 'status';		
		return $retval;
	}	
add_filter( 'bp_before_has_activities_parse_args', 'bpfr_filtering_activity' );

Read here for more details.

Skip to toolbar