Move Sub-forums listing below threads... (vB4)
This is the vB4 version of my vB3 mod here:Move Sub-forums listing below threads...
Demo: http://www.qapla.com/mods/forumdisplay.php/17-Premium-vBulletin-Modifications?styleid=5 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. NOTE - For VB 4.2.1 and any version where the code does not match below, see Post # 28 Spoiler (click to open)
The code seems to have changed in the template at some point.
In 4.2.1 look for the code: 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="forumthreadpost">{vb:rawphrase threads_posts} </span> <span class="forumlastpost">{vb:rawphrase last_post}</span> </h2> </div> <ol> {vb:raw forumbits} </ol> </div> {vb:raw template_hook.forumdisplay_below_subforums} </vb:if> The FIND this code: Code:
<div class="threadpagenav<vb:if condition="!$pagenav AND !$forumjump"> nopagenav</vb:if>"> {vb:raw pagenav} {vb:raw forumjump} </div> </div> That should so the same thing in 4.2.1. If any problems simple undo or "REVERT" the template to get back the VB default template. Close
In your FORUMDISPLAY template find the code: 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> Now find: Code:
<div class="threadpagenav"> {vb:raw pagenav} {vb:raw forumjump} </div> </div> And that's it, now your sub-forums will show under your threads. See the screen shot. Download the .txt file as a backup. Please Mark as Installed if you use this. Download
subforum_display_below_threadsv4.txt (1.2 KB, 74 downloads) Screenshots |
Similar Mods
Social Group and Album Enhancements Move Threads from Forums to Social Groups | vBulletin 3.8 Add-ons |
Forum Display Enhancements Move Sub-forums listing below threads... | vBulletin 3.8 Template Modifications |