admin
27-09-2010, 07:11 PM
This is a simple template edit to move sub-forums display below the threads in a forum rather than on top like they are now. There are various reasons for this, all come down to personal preference. Personally if I have a lot of sub-forums I want users to be able to see the threads without needing to scroll down.
In your FORUMDISPLAY template find the code:
<vb:if condition="$forumbits">
{vb:raw template_hook.forumdisplay_above_subforums}
<div id="forumbits" class="forumbits">
<div class="forumhead">
<h2>
<span class="forumtitle">{vb:rawphrase subforums}</span>
<span class="forumlastpost">{vb:rawphrase last_post}</span>
</h2>
</div>
<ol>
{vb:raw forumbits}
</ol>
{vb:raw forumhome_markread_script}
</div>
</vb:if>
And "CUT" it to your clipboard... (Copy it and delete it but save a copy)
Now find:
<div class="threadpagenav">
{vb:raw pagenav}
{vb:raw forumjump}
</div>
</div>
And below that PASTE the code you cut above...
And that's it, now your sub-forums will show under your threads. See the screen shot.
Download the .txt file as a backup.
Screenshots:
http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/09/27/07/38321285589483.jpg
In your FORUMDISPLAY template find the code:
<vb:if condition="$forumbits">
{vb:raw template_hook.forumdisplay_above_subforums}
<div id="forumbits" class="forumbits">
<div class="forumhead">
<h2>
<span class="forumtitle">{vb:rawphrase subforums}</span>
<span class="forumlastpost">{vb:rawphrase last_post}</span>
</h2>
</div>
<ol>
{vb:raw forumbits}
</ol>
{vb:raw forumhome_markread_script}
</div>
</vb:if>
And "CUT" it to your clipboard... (Copy it and delete it but save a copy)
Now find:
<div class="threadpagenav">
{vb:raw pagenav}
{vb:raw forumjump}
</div>
</div>
And below that PASTE the code you cut above...
And that's it, now your sub-forums will show under your threads. See the screen shot.
Download the .txt file as a backup.
Screenshots:
http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/09/27/07/38321285589483.jpg