View Full Version : How to have threads appear above sub forums in forum
EyeOfTheTiger
12-01-2008, 09:00 AM
Hi,
I'd like to get the threads and announcements in a forum to appear above the sub forums within the forum. How and where do I change this in the temlates to enable this please ?
Help greatly appreciated.
For example of how it is currently please see
http://www.mobilephoneforum.co.uk/samsung-u600/
Thanks
Mike
SEOvB
12-01-2008, 09:10 AM
on forumdisplay find
<if condition="$show['forumslist']">
<!-- sub-forum list -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">$vbphrase[subforums]<span class="normal"> : $foruminfo[title]</span></td>
<if condition="$show['forumsearch']">
<td class="vbmenu_control" id="forumsearch.subforums" nowrap="nowrap"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></if></td>
</if>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
</table>
<br />
<!-- / sub-forum list -->
</if>
Remove it and paste after
$ad_location[ad_forumdisplay_afterthreads]
EyeOfTheTiger
12-01-2008, 10:52 AM
Hi,
That seems to have worked a bit.
THis is what i wanted to see http://www.mobilephoneforum.co.uk/samsung-u600/ :)
However, it has now made all the sub forums dissappear here, there's meant to be a sub forum for each handset ? but they've dissapeared.
http://www.mobilephoneforum.co.uk/samsung/
Further help greatly appreciated. Thanks for quick response.
Mike
SEOvB
12-01-2008, 11:40 AM
The only place I could find that would show the subforums on that page and the threadbits page was by taking the code
<if condition="$show['forumslist']">
<!-- sub-forum list -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">$vbphrase[subforums]<span class="normal"> : $foruminfo[title]</span></td>
<if condition="$show['forumsearch']">
<td class="vbmenu_control" id="forumsearch.subforums" nowrap="nowrap"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></if></td>
</if>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
</table>
<br />
<!-- / sub-forum list -->
</if>
And placing it above this code in forumdisplay
$forumhome_markread_script
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.