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

XF 1.5 How do I remove the "Likes Received" counter on profiles?

Discussion in 'Styling and Customization Questions' started by Kyros, Aug 15, 2016.

  1. Kyros

    Kyros Member

    We like using the likes system to allow users to give feedback, but feel that having a counter of how many likes a person has gotten could lead to it becoming a popularity contest -- which is something we want to avoid.

    I've tried just about everything I could think of and couldn't figure it out.

    Any help would be greatly appreciated.
     
  2. ŽivaAkcija

    ŽivaAkcija Well-Known Member

    you can limited likes per day or disable it with add on
     
  3. Amaury

    Amaury Well-Known Member

    An add-on is not needed to hide it.

    Template: member_view

    Code:
    <dl><dt>{xen:phrase likes_received}:</dt>
                        <dd>{xen:number $user.like_count}</dd></dl>
    Either remove it or comment it out, like so:

    Code:
    <xen:comment><dl><dt>{xen:phrase likes_received}:</dt>
                        <dd>{xen:number $user.like_count}</dd></dl></xen:comment>
     
    Kyros and semprot like this.
  4. Creaky

    Creaky Active Member

    You can switch it off in style properties

    Style properties - Message elements - Show author received likes
     
  5. Amaury

    Amaury Well-Known Member

    That's already off by default and will only take care of the user information area in posts, in any case.
     
  6. Kyros

    Kyros Member

    This worked! Thank you so much.
     
    Amaury likes this.

Share This Page