MyBB Community Forums

Full Version: adjust threads per page within a forum section
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is it possible to adjust how many threads will be shown in a forum section before it adds a new page?

in 2 specific forum sections, I'd like to bump up the threads per page to about 50.
Don't believe this is possible within the core.

The dirty hack way you could do this is with an array in config.php with fid as the key, and the tpp as the value. If you want to force it on all users

Around https://github.com/mybb/mybb/blob/featur...y.php#L631 (line 631, forumdisplay.php), you'll basically do a check to see if your $whatever_array_variable_name[$fid] is set. If it is, override the values taken from the user's setting and board setting.
(2015-05-31, 02:28 AM)Josh H. Wrote: [ -> ]Don't believe this is possible within the core.

The dirty hack way you could do this is with an array in config.php with fid as the key, and the tpp as the value. If you want to force it on all users

Around https://github.com/mybb/mybb/blob/featur...y.php#L631 (line 631, forumdisplay.php), you'll basically do a check to see if your $whatever_array_variable_name[$fid] is set. If it is, override the values taken from the user's setting and board setting.


want to write those changes for a small donation? Big Grin

sorry, I'm not a coder. Blush
this can be accomplished by using xthreads and adjusting the settings for the specific forums you want to adjust. simple change, really.