memberlist: increase members per page

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
Hellweed
Registered User
Posts: 29
Joined: Thu May 29, 2003 10:04 pm

memberlist: increase members per page

Post by Hellweed » Sat Jan 24, 2009 8:43 pm

Can someone point me to the places to increase the number of members shown per page on the memberlist? Right now its set at 25, which looks to be the same as post per page in the forums. If they are tied, I'll need to make them independent. Thanks in advance.
ImageImage

User avatar
pentapenguin
Former Team Member
Posts: 11030
Joined: Thu Jul 01, 2004 4:15 am
Location: GA, USA

Re: memberlist: increase members per page

Post by pentapenguin » Sat Jan 24, 2009 8:56 pm

Make a backup before editing!

Open memberlist.php

Find:

Code: Select all

$result = $db->sql_query_limit($sql, $config['topics_per_page'], $start);
Change $config['topics_per_page'] to whatever number you want. If you want 50 then it would look like this:

Code: Select all

$result = $db->sql_query_limit($sql, 50, $start);
Support Resources: Support Request Template
If you need professional assistance with your board, please contact me for my reasonable rates.

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50421
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: memberlist: increase members per page

Post by stevemaury » Sat Jan 24, 2009 9:04 pm

It comes from topics per page in Post settings. To make it independent, you would need a MOD.

User avatar
Hellweed
Registered User
Posts: 29
Joined: Thu May 29, 2003 10:04 pm

Re: memberlist: increase members per page

Post by Hellweed » Sat Jan 24, 2009 9:04 pm

Perfect. I just made a new value in the config table called members_per_page and set at 100, and replaced topics_per_page with members_per_page in the memberlist.php. Works like a charm. Thanks for pointing me in the right direction. :mrgreen:
ImageImage

Locked

Return to “[3.0.x] Support Forum”