XF 2.2 What PHP file informs the Member overview page

I'm trying to simply change the number of users shown on the overview page (sitename.com/members) because it's hard-coded to 5, but for the first time ever I've run into the issue that I can't seem to find the PHP file that sets that limit. I've searched through my files based on callbacks in the template, but I'm not finding it in my entire file structure.

Does anyone simply know what file this is set in?

Much appreciated
 
Solution
pretty sure its line 144 of pub/controller/Member.php


Code:
foreach ($memberStats AS $key => $memberStat)
            {
                $results = $keyedResults[$key];
                $count = 0;
                foreach ($results AS $userId => $value)
                {
                    if ($count == 5)
                    {
                        // we have enough for this stat
                        break;
                    }

briansol

Well-known member
pretty sure its line 144 of pub/controller/Member.php


Code:
foreach ($memberStats AS $key => $memberStat)
            {
                $results = $keyedResults[$key];
                $count = 0;
                foreach ($results AS $userId => $value)
                {
                    if ($count == 5)
                    {
                        // we have enough for this stat
                        break;
                    }
 
Solution
Thank you so much, I was looking for $member_stat for some reason haha. Yeah, I think I'm only setting that value away from five depending on the result of a count I get in another function (basically stating that I know I have the info needed for 10 people as opposed to just 5). Thanks for the help!
 
Top