Increase "following, followers" avatar count on profile

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


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:
$following = $userModel->getFollowedUserProfiles($userId, 6, 'RAND()');
$followers = $userModel->getUsersFollowingUserId($userId, 6, 'RAND()');
Change it from 6 to 8 and it should work.