Jump to content
DevFuse Forums
Sign in to follow this  

Adusting the number of Recently Added Topics


How to adjust the number of recent topics displayed in the board index hook on IP.Board 3.1
To adjust the number of Recently Added Topics displayed on the index sidebar hook on IP.Board 3.1, a small file edit is required.

Connect via FTP.

Look in \admin\applications\forums\sources\classes\forums\

3.1.2 / 3.1.1 :Edit class_forums.php, around line 2495, find...
[code]$_topics = array_slice( $topicIDs, 0, 5 );[/code]

3.1.3 :Edit class_forums.php, around line 2350, find...
[code]public function hooks_recentTopics( $topicCount=5, $output=true )[/code]

Adjust the [b]5[/b] there to what you require (3 or 10 seems to be popular choices, although setting this too high can cause performance issues) and save, taking care not to disturb any other lines or the syntax.

Recommended Comments

There are no comments to display.