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

Change Notable Member default

Discussion in 'XenForo Development Discussions' started by abbychase, Sep 13, 2014.

  1. abbychase

    abbychase Active Member


    How would I go about changing the default tab from most messages to staff members on the notable members tab?

    Thanks a ton!
    Last edited: Sep 13, 2014
  2. Nobita.Kun

    Nobita.Kun Well-Known Member

    change tab title or tab content? If that's tab title just simple to change the value of phrase :/ But with tab content I think you need an addon to do that
  3. abbychase

    abbychase Active Member

    I'd like to just make the default tab the staff one. So it starts on that one.
  4. marremp2

    marremp2 Member

    If someone still looking for this, I found a way to do it :
    in /library/XenForo/ControllerPublic/member.php

    find :

                $result = $this->_getNotableMembers($type, $limit);
                if (!$result)
                    $type = 'messages';
                    $result = $this->_getNotableMembers($type, $limit);
                list($users, $bigKey) = $result;
    replace 'messages' by 'points' or 'staff' or 'likes'
    Brad L, Gossipy and Vitor Dos Reis like this.

Share This Page