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

Recent Activity stream - not show Likes ?


Well-known member
Is there any way to not show Likes on the Recent Activity stream?

A little too cluttered and superfluous for my tastes (not content worthy)


XenForo moderator
Staff member
There is no way of filtering content on the news feeds currently.

You would need an add-on or code edits to remove certain content from it.

Jake Bunce

XenForo moderator
Staff member
I found a bad solution if you are interested. o_O

Admin CP -> Appearance -> Templates -> news_feed_item

Surround the contents of the template in a condition, like this:

<xen:if is="{$item.action} != 'like'">

<li id="item_{$item.news_feed_id}" class="event primaryContent NewsFeedItem" data-author="{$item.username}">

	<xen:avatar user="$item" size="s" class="icon" />
	<div class="content">		
		{xen:raw $itemTemplate}
		<xen:datetime time="{$itemDate}" />

The problem is that it affects all news feeds, not just Recent Activity. And it messes up the pagination of the feed items. For example, if there is normally 15 items per page, and 6 of the items on a particular page are likes, then that page will only show 9 items.

This is the best you can do with templates. You need an addon to do this properly. If you are a programmer then you can post in the Development Questions forum for help with this. Or post an Add-on Request and some one may be able to write this for you.