XF 1.4 Prevent profile events showing in Recent Activity

MarkMark

Member
What's the easiest way to stop profile events (avatar changes etc) appearing in the Recent Activity stream?

I only want forum and resource events.
 
I'm assuming there must be a master template that tells the system what to import.

I can modify most the news_feed_item templates, commenting out the content, but a blank entry still gets imported.
 
In that case you can try editing the news_feed template and adding a conditional statement to exclude/include certain item types.
 
I don't mean to be cheeky... But are you able to give me an example.

I can see the current conditional statement in news_feed_item, and I understand I need to modify the statement so that certain news_feed_IDs are excluded, but I'm not sure where to start.

For example, I'd like to exclude news_feed_item_profile_post_insert
 
Top Bottom