I just thought of some suggestions that could be done, if you are up to hacking yourself, otherwise I might think of implementing this later. You could either do what Spark2 suggested
here, or make it appear in a small pop-up window. To do this create a seperate PHP file known as
similarthread.php, then inside contain all the data of
codechunk.txt, but at the top of the file insuring that global.php is being required, error-reporting enabled, and surrounding the file by the php open and close tags. Then in the template that contains
template2.txt, put the html, $header, $headerinlcude, body, and other basic tags in it. Then in the
showthread.php, make a link appearing like this:
Code:
<a href="#" onClick="window.open('similarthread.php?s=&threadtitle=$thread[title]','javascript_1','width=x,height=y,scrollbars=1,resizable=no,menubar=no,toolbar=no'); return false;"><u>Click to view similar threads</u></a>
Just configure the "width" and "height" attributes, and also whatever you want to use as a link caption (whether it be text or image).
Also in similarthread.php, change the variable "$thread['title']" in the query WHERE clause to $threadtitle (not sure if arrays can be passed through URL's)
This method at least it gives the users their option of viewing the similar threads, but doesn't decrease the output speed of the thread.