This topic actually mentions just one extra page filled with Recent Topics in advanced mode.
However many of you would be interested in a case, when Recent Topics are listed one-by-one on extra pages, i.e. they would be paginated results listing certain amount of pages.
Here is the solution. First of all, insert into
bb_plugins.php the code provided below:
/* Advanced latest discussions */
if ($action=='advld') {
$title.=$l_lastDiscussions;
$numRows=$viewlastdiscussions*10;
//$pageNavEx=pageNav($page, $numRows, "https://www.minibb.com/forums/{$indexphp}action=advld&page=", $viewlastdiscussions, FALSE, FALSE);
$pageNavEx=pageNav($page, $numRows, "https://www.minibb.com/forums/{$indexphp}action=advld", $viewlastdiscussions, FALSE, 'Gen');
$startLim=($page-PAGE1_OFFSET-1)*$viewlastdiscussions;
//$startLim=$viewlastdiscussions*$page+$viewlastdiscussions;
$endLim=$viewlastdiscussions;
$viewlastdiscussions="{$startLim}, {$endLim}";
if($row=db_simpleSelect(0,$Tf,'forum_id, forum_icon, forum_name')){
do{
$fIcon[$row[0]]=$row[1];
$fTitle[$row[0]]=$row[2];
}
while($row=db_simpleSelect(1));
}
$action='';
require($pathToFiles.'bb_func_ldisc.php');
$listTopics=$list_topics;
echo load_header();
if($list_topics!='') echo ParseTpl(makeUp('main_last_discussions_more'));
$action='advld';
}
/* --Advanced latest discussions */
Pay attention to
$numRowsLD variable, it multiplies
$viewlastdiscussions with 10, where 10 stands for the amount of pages you would like to display in the extra Recent Discussions section. It depends how many topics your forum contain actually, and what is the value of
$viewlastdiscussions. There is no sense to install this add-on, if your forum has less than
10 x $viewlastdiscussions topics.
Then pay attention there should be another template for that stuff, under
templates/main_last_discussions_more.html. This template is basically a copy of
main_last_discussions.html,
you only need to remove parts of HTML code providing Sorting by topics and replies. Because in that section, all topics will be listed by latest replies by default (in the current solution). Here is the example code for this template:
<table class="tbTransparent" style="margin-top:12pt">
<tr>
<td class="tbTransparent txtL" style="width:50%"><h1 class="headingTitle">{$l_lastDiscussions}</h1></td>
<td class="tbTransparent txtR" style="width:50%;vertical-align:middle"><strong>{$pageNavEx}</strong></td>
</tr>
</table>
<table class="forumsmb">
<tr>
<td class="rdficon" style="width:25px"><img src="https://www.minibb.com/forums/img/p.gif" style="width:25px;height:1px" alt="" /></td>
<td class="captionTop">{$l_topic}</td>
<td class="captionTop" style="text-align:center">{$l_replies}</td>
<td class="captionTop" style="text-align:center">{$l_views}</td>
<td class="captionTop" style="text-align:center">{$l_author}</td>
<td class="captionTop" style="text-align:center;white-space:nowrap;">{$l_lastAuthor}</td>
</tr>
{$listTopics}
<tr>
<td style="width:25px;"><img src="https://www.minibb.com/forums/img/p.gif" style="width:25px;height:1px" alt="" /></td>
<td style="width:70%"><img src="https://www.minibb.com/forums/img/p.gif" style="width:1px;height:1px" alt="" /></td>
<td style="width:40px;"><img src="https://www.minibb.com/forums/img/p.gif" style="width:1px;height:1px" alt="" /></td>
<td style="width:40px;"><img src="https://www.minibb.com/forums/img/p.gif" style="width:1px;height:1px" alt="" /></td>
<td style="width:15%;"><img src="https://www.minibb.com/forums/img/p.gif" style="width:1px;height:1px" alt="" /></td>
<td style="width:15%;"><img src="https://www.minibb.com/forums/img/p.gif" style="width:1px;height:1px" alt="" /></td>
</tr>
</table>
When you have done all the aforementioned, under "Recent Topics" title on the front forums page you will just need to put the link to the extra section. For example, it could be the following:
<!--advanced--><a href="https://www.minibb.com/forums/{$indexphp}action=advld">more...</a><!--/advanced-->
Good luck :-)