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

XF 1.4 people you follow

Brogan

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

Brad P

Active member
#3
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.