refresh.php?do=newthread&t={vb:raw%20threadinfo.threadid}
$new_thread_link = '<div><a href="refresh.php?'.$sessionurl.'do=newthread&t='.{vb:raw threadinfo.threadid}.'" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top" style="margin-left:10px;"><span>+</span> '.$post_phrase.'</a></div>'; $find = '<div id="pagination_top"'; $replace = $new_thread_link.$find; $vbulletin->templatecache['SHOWTHREAD'] = str_replace($find, $replace, $vbulletin->templatecache['SHOWTHREAD']);