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

Increase "following, followers" avatar count on profile

Discussion in 'Styling and Customization Questions' started by Luke B, Oct 19, 2011.

  1. Luke B

    Luke B Active Member

    I would like to increase the avatar count from 6 to 8 in the "following, followers" side bar. How do I go about doing this?

    Thank you much
     
  2. Luke B

    Luke B Active Member

    This is what I need.

    pro.jpg
     
  3. Onimua

    Onimua Well-Known Member

    Looking into it, it looks like it's set in the PHP file. In XenForo_ControllerPublic_Member::actionMember(), you'll find the 2 lines pointing to it near the bottom of the function:
    PHP:
    $following $userModel->getFollowedUserProfiles($userId6'RAND()');
    $followers $userModel->getUsersFollowingUserId($userId6'RAND()');
    Change it from 6 to 8 and it should work.
     
    Luke B likes this.
  4. kkm323

    kkm323 Well-Known Member

    Thanx , this should be simply an option !?
     
  5. Luke B

    Luke B Active Member

    Awesome! Thank you.
    I was having a hard time finding that. The profile pages are finally looking clean :)
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Don't forget you will need to edit that file after every upgrade.
     
    Luke B likes this.
  7. Luke B

    Luke B Active Member

    Yup
    Luckily its not a major change.
    Next stop is increasing the "large" avatar size. Do I still need to adjust PHP for this one or is there an easier way now?
     
  8. Daniel Thomann

    Daniel Thomann Active Member

    Suggestion: make a suggestion :p;)
     
  9. lasertits

    lasertits Active Member

    Luke B likes this.
  10. MrC

    MrC Active Member

Share This Page