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

XF 1.0 Disable Likes and Trophies

Discussion in 'XenForo Questions and Support' started by Morgain, Sep 14, 2012.

  1. Morgain

    Morgain Well-Known Member

    Is it possible to disable Likes and Trophies?
    I love them usually but one forum is for a workteam.
     
  2. Neil E.

    Neil E. Active Member

    I used TMS to remove all traces of trophies. The same could be done for likes.

    remove from trophy

    remove from trophy.css

    remove from spam_cleaner

    remove from sidebar_vistor_panel

    remove from member_view

    remove from member_trophies

    remove from member_card

    remove from help_trophies

    remove from alert_user_trophy

    Basically the TMS has a search field and and a replace field. Everything I've shown goes in the search field. Nothing is put in the replace field. This means the code never gets executed. You may not need to do every location, this was just my way of having no trophies EVER.
     
    resonansER likes this.
  3. Neil E.

    Neil E. Active Member

    A template search for "like" returns 34 templates. Do a Ctrl+F for "like" in each one. You'll find the templates that need changing.
    A searches for "likes" returns 21 templates.
     
    resonansER likes this.
  4. Morgain

    Morgain Well-Known Member

    Wow thanks Neil. I'll have a go.
     
  5. Gobee129

    Gobee129 Member

    did it work for you? I still have the "most points" tab on the Notable Member page. How can I get rid of that, @Neil E. ?
     
  6. Jeremy

    Jeremy XenForo Moderator Staff Member

    You'll need to modify member_notable to remove the necessary tab. Those instructions were written before 1.2 was released.
     
  7. Gobee129

    Gobee129 Member

    yeah I found the template after posting in this thread, it worked ;)
     
  8. Neil E.

    Neil E. Active Member

    As mentioned, take the following line out of member_notable
    I've switched from TMS to direct template editing. Instead of creating a modification I just delete the relevant code from the template.
    This guide from Chris is very heplful: http://xenforo.com/community/resources/a-guide-to-xenforo-1-2-and-templates.2115/
     

Share This Page