• 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

#1
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.
 

Brogan

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

Brogan

XenForo moderator
Staff member
#4
In that case you can try editing the news_feed template and adding a conditional statement to exclude/include certain item types.
 
#5
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