View Full Version : Modify Simliar Threads Table
Dave Hawley
05-20-2007, 11:09 PM
Hi all
I wish to modify my Simliar Threads Table so that ONLY the Thread Titles show in a comma seperated list. Version 3.5.4
Dave Hawley
05-23-2007, 01:06 AM
Hmmm, thought this would be a snap for someone who knows what they are doing.
Dave Hawley
05-25-2007, 04:16 AM
Bump
Dave Hawley
06-07-2007, 06:27 AM
Sorted this out myself. For anyone else wanting the same this is how;
Replace all code is showthread_similarthreads with below;
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" width="100%" colspan="5">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('similarthreads')"><img id="collapseimg_similarthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_similarthreads].gif" alt="" border="0" /></a>
$vbphrase[similar_threads]<a name="similarthreads"></a> For: $thread[title]
</td>
</tr>
</thead>
<tbody id="collapseobj_similarthreads" style="$vbcollapse[collapseobj_similarthreads]">
</tr>
$similarthreadbits
</tbody>
</table>
<br />Replace all code is showthread_similarthreadbit with below;
<td class="alt1" align="$stylevar[left]"><span class="smallfont"><a href="showthread.php?$session[sessionurl]t=$simthread[threadid]" title="$simthread[preview]">$simthread[title]</a></span></td>This results in a 5 column X 1 row table showing only Thread Title with links.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.