[PHP] // multipage nav
$thread['totalposts'] = $thread['replycount'] + 1;
$total =& $thread['totalposts'];
if (($vbulletin->options['allowthreadedmode'] == 0 OR ($vbulletin->userinfo['threadedmode'] == 0 AND empty($vbulletin->GPC[COOKIE_PREFIX . 'threadedmode'])) OR $vbulletin->GPC[COOKIE_PREFIX . 'threadedmode'] == 'linear') AND $thread['totalposts'] > $pperpage AND $vbulletin->options['linktopages'])
{
$thread['totalpages'] = ceil($thread['totalposts'] / $pperpage);
$address = 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . "t=$thread[threadid]";
$address2 = "$thread
";
$curpage = 0;
$thread['pagenav'] = '';
$show['pagenavmore'] = false;
while ($curpage++ < $thread['totalpages'])
{
if ($vbulletin->options['maxmultipage'] AND $curpage > $vbulletin->options['maxmultipage'])
{
$show['pagenavmore'] = true;
break;
}
$pagenumbers = fetch_start_end_total_array($curpage, $pperpage, $thread['totalposts']);
eval('$thread[pagenav] .= " ' . fetch_template('threadbit_pagelink') . '";');
}
}[/PHP]
That looks like it has something to do with the page list :p
Line 266 in \includes\functions_forumdisplay.php
Now if only I had a copy myself to test with :p