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

XF 1.5 Changing the number of the newest members in the sidebar

Discussion in 'Styling and Customization Questions' started by Aivaras, Apr 7, 2016.

  1. Aivaras

    Aivaras Active Member


    How does one change the number of the newest members' avatars in the sidebar?
  2. Amaury

    Amaury Well-Known Member

    It's hard-coded, I believe, and world require code edits, which isn't advised.
  3. Aivaras

    Aivaras Active Member

    What file would that be?
  4. Senpai

    Senpai Formerly RamzanHD

  5. Aivaras

    Aivaras Active Member

    Thank you for the suggestions. They are interesting.

    I tend to stay away from extra functionality and complexity that is not needed for the forum. In this particular case, I would just edit one digit if I knew where it is.
  6. Senpai

    Senpai Formerly RamzanHD

    can you explain like properly what exacly are you looking for
  7. Aivaras

    Aivaras Active Member

    Navigation Bar > Members > Notable Members > Sidebar > Newest Members (avatar heap)


    Navigation Bar > Members > Registered Members > Sidebar > Newest Members (avatar heap)

    How/where does one change the number of the avatars shown under Newest Members.
  8. Aivaras

    Aivaras Active Member

    I've finally discovered where it is.

    In library/XenForo/ControllerPublic/Member.php, this line has to be edited:

    $latestUsers $userModel->getLatestUsers($criteria, array('limit' => 8));

Share This Page