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

Discussion in 'Styling and Customization Questions' started by Brad P, Nov 24, 2014.

  1. Brad P

    Brad P Active Member

    hello chaps,

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

    Attached Files:

  2. Brogan

    Brogan XenForo Moderator Staff Member

    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>
    
     
  3. Brad P

    Brad P Active Member

    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.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Just remove the whole block beginning and ending with <xen:if is="{$visitor.user_id}">...</xen:if>.
     
    Brad P likes this.
  5. Brad P

    Brad P Active Member

    many thanks
     

Share This Page