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
 

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

Luke B

Active member
Looking into it, it looks like it's set in the PHP file. In XenForo_ControllerPublic_Member::actionMember()...
Awesome! Thank you.
I was having a hard time finding that. The profile pages are finally looking clean :)
 

Luke B

Active member
Don't forget you will need to edit that file after every upgrade.
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?
 
Top