Modify Simliar Threads Table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    Modify Simliar Threads Table

    Hi all

    I wish to modify my Simliar Threads Table so that ONLY the Thread Titles show in a comma seperated list.
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    There is no function to do this. This requires modifying the code. We cannot officially support code modifications or forums running modified code, however you can try searching or asking for help with this over at www.vbulletin.org.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • Guest

      #3
      Ok, will do. Thanks.

      Comment

      • Guest

        #4
        Sorted this out myself. For anyone else wanting the same this is how;
        Replace all code is showthread_similarthreads with below;
        PHP Code:
        <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;
        PHP Code:
        <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.

        Comment

        • Jose Amaral Rego
          Senior Member
          • Feb 2005
          • 11058
          • 1.1.x

          #5
          Is that what I see at the top of thread in your forum? If so, it is a quick way to get answers since most people do not bother scrolling to bottom of thread. Now, to choose what is shown in Simular Threads would be a nice addition to it.

          Comment

          • Guest

            #6
            Yep, I figured the same as you, that is, most users wont scroll. Our forum is also right on top of Thread Titles being meaningful. As such I have skewed the vBullentin search heavliy toward Thread Titles.

            I also have also had great success using Google Custom search for the forum.

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...