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

XF 1.4 Recent Activity remove the Likes

Brogan

XenForo moderator
Staff member
#2
There is no configurable option for that.

You can though edit the news_feed template like so:
Code:
<xen:require css="events.css" />
<xen:require css="news_feed.css" />
<xen:require js="js/xenforo/news_feed.js" />


<xen:if is="{$newsFeed}">
    <ol class="eventList">
        <xen:foreach loop="$newsFeed" value="$item">
            <xen:if is="{$item.action} != 'like'">  
                <xen:include template="news_feed_item">
                    <xen:set var="$itemTemplate">{xen:raw $item.template}</xen:set>
                    <xen:set var="$itemDate">{$item.event_date}</xen:set>
                </xen:include>
            </xen:if>
        </xen:foreach>
    </ol>
<xen:else />
    {xen:raw $noContentHtml}
</xen:if>
Note the added code in orange.