• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Prevent profile events showing in Recent Activity

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.


XenForo moderator
Staff member
I haven't tested it but you can try commenting out the contents of the various news_feed_item_* templates.
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.


XenForo moderator
Staff member
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