Option to not display subforums on main forum listing

Created on 27 April 2010, about 14 years ago
Updated 15 May 2024, about 1 month ago

Too many forums can make a site unusable. We have a site that has over 3,000 forums and the initial forum page load takes forever. Once you have drilled-down to sub-forums, things speed up somewhat. This patch gives an option to limit the number of forums displayed on the main screen so that only one level of forums are displayed (sub-forums are not displayed until you drill-down into their parent).

The patch consists of two pieces, one modification to the forum.admin.inc that adds a check-mark option to enable this bug-fix. The other is the modification to forum.module which, when the check-mark is selected, returns only the top-level forums for the level one is looking at.

Feature request
Status

Needs work

Version

2.0

Component

forum.module

Created by

🇺🇸United States tyoungls

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024