Makes the link
Code:
refresh.php?do=newthread&t={vb:raw%20threadinfo.threadid}
and if used as a variable displays nothing... did you see the way Im trying to add it in the product?
--------------- Added [DATE]1606315573[/DATE] at [TIME]1606315573[/TIME] ---------------
PHP Code:
$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']);