2009-02-22, 11:01 PM
Example: The forum's default thread mode is the threaded mode. If you switch to the linear mode and you go to another page of the thread it's shown in the threaded mode again.
The problem is that the mode is not transfered in the multipage links.
Possible fix:
Open the file showthread.php and search for:
The problem is that the mode is not transfered in the multipage links.
Possible fix:
Open the file showthread.php and search for:
// Which thread mode is our user using?Below add:$threadmode = "";
if(isset($mybb->input['mode']) && $mybb->input['mode'] == "linear")
{
if(($mybb->settings['seourls'] == "yes" || ($mybb->settings['seourls'] == "auto" && $_SERVER['SEO_SUPPORT'] == 1)) && $mybb->input['highlight'] == "")
{
$threadmode = "?mode=linear";
}
else
{
$threadmode = "&mode=linear";
}
}Search for:$multipage = multipage($postcount, $perpage, $page, str_replace("{tid}", $tid, THREAD_URL_PAGED.$highlight));Replace with:$multipage = multipage($postcount, $perpage, $page, str_replace("{tid}", $tid, THREAD_URL_PAGED.$highlight.$threadmode));