XF 1.4 people you follow

Brad P

Well-known member
hello chaps,

how do i remove from view the "people you follow" on the main board please see picture below
 

Attachments

  • follow.webp
    follow.webp
    89.4 KB · Views: 6
Edit the sidebar_online_users template.

Remove this:
Code:
<h4 class="minorHeading"><a href="{xen:link account/following}">{xen:phrase people_you_follow}:</a></h4>
<ul class="followedOnline">
    <xen:contentcheck>
        <xen:foreach loop="$onlineUsers.records" value="$user">
            <xen:if is="{$user.followed}">
                <li title="{$user.username}" class="Tooltip"><xen:avatar user="$user" size="s" img="true" class="_plainImage" /></li>
            </xen:if>
        </xen:foreach>
    </xen:contentcheck>
</ul>
 
Edit the sidebar_online_users template.

Remove this:
Code:
<h4 class="minorHeading"><a href="{xen:link account/following}">{xen:phrase people_you_follow}:</a></h4>
<ul class="followedOnline">
    <xen:contentcheck>
        <xen:foreach loop="$onlineUsers.records" value="$user">
            <xen:if is="{$user.followed}">
                <li title="{$user.username}" class="Tooltip"><xen:avatar user="$user" size="s" img="true" class="_plainImage" /></li>
            </xen:if>
        </xen:foreach>
    </xen:contentcheck>
</ul>
okay thank you for the quick response, i seem to get this error message when i go to save the change

The following error occurred:
The following templates contained errors and were not saved: sidebar_online_users: 1) sidebar_online_users - Line 31: Cannot have content-checking if tag without a contentcheck part.
 
Top Bottom