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

Completely disable "likes"?

Discussion in 'XenForo Development Discussions' started by SpecialK, Apr 11, 2014.

  1. SpecialK

    SpecialK Member

    So we've already made many template modifications to remove the "like" functionality from our installation and that has worked fine. The problem is that Tapatalk has a like button built-in to the app. Because of this, users are able to like posts via the app, giving the receiving user a notification, which confuses them since they can't actually see the like. What we'd like is to just have the like method return without doing anything like inserting the item into the DB or notifying the user.

    Can this be achieved?
    Puntocom likes this.
  2. Nobita.Kun

    Nobita.Kun Well-Known Member

    I think you should extending function canLike.. and return false; So users can't like.... And `Like` don't display :)
  3. SpecialK

    SpecialK Member

    Thanks. I'll look into that. If anybody has already done this, I wouldn't mind a hint or examples as I'm still quite new to XF development ;)
    Last edited: Apr 11, 2014

Share This Page