'countUserPosts' => 1, // cannot be disabled
'isClosed' => $board['forum_status'] ? 1 : 0,
'searchable' => $board['enable_indexing'] ? 1 : 0,
- 'showSubBoards' => $board['display_subforum_list'] ? 1 : 0,
'threadsPerPage' => $board['forum_topics_per_page'] ?: 0,
'clicks' => $board['forum_posts_approved'],
'posts' => $board['forum_posts_approved'],
'countUserPosts' => 1, // cannot be disabled
'isClosed' => $board['forum_status'] ? 1 : 0,
'searchable' => $board['enable_indexing'] ? 1 : 0,
- 'showSubBoards' => $board['display_subforum_list'] ? 1 : 0,
'threadsPerPage' => $board['forum_topics_per_page'] ?: 0,
'clicks' => $board['forum_posts'],
'posts' => $board['forum_posts'],
'postsPerPage' => !empty($board['postsPerPage']) ? $board['postsPerPage'] : 0,
'searchable' => isset($board['searchable']) ? \intval($board['searchable']) : 1, // wbb3.1
'searchableForSimilarThreads' => isset($board['searchableForSimilarThreads']) ? \intval($board['searchableForSimilarThreads']) : 1, // wbb3.1
- 'showSubBoards' => $board['showSubBoards'],
'sortField' => $board['sortField'],
'sortOrder' => $board['sortOrder'],
'threadsPerPage' => !empty($board['threadsPerPage']) ? $board['threadsPerPage'] : 0,
'postsPerPage' => $board['postsPerPage'],
'searchable' => $board['searchable'],
'searchableForSimilarThreads' => $board['searchableForSimilarThreads'],
- 'showSubBoards' => $board['showSubBoards'],
'sortField' => $board['sortField'],
'sortOrder' => $board['sortOrder'],
'threadsPerPage' => $board['threadsPerPage'],