Remove empty category thread from forumdisplay when forum is closed
This is a very simple template modification by EliteMossy
This is the forumdisplay before the change: this is After Notice, this is not recommended if you CLOSE forums with threads already in them. This is only if you use CLOSED forums as a way to organise your forum layout. If you do want to stop users posting and want this mod, then use forum permissions to stop people posting. This modification edits the template: FORUMDISPLAY STEP 1: FIND: Code:
{vb:raw template_hook.forumdisplay_below_subforums} </vb:if> <vb:if condition="$show['threadslist']"> Code:
<vb:if condition="$foruminfo['allowposting']"> So it looks like this: Code:
{vb:raw template_hook.forumdisplay_below_subforums} </vb:if> <vb:if condition="$foruminfo['allowposting']"> <vb:if condition="$show['threadslist']"> FIND: Code:
</div> {vb:raw template_hook.forumdisplay_below_threadlist} </vb:if>} Code:
</vb:if> So it looks like this: Code:
</div> {vb:raw template_hook.forumdisplay_below_threadlist} </vb:if> </vb:if> Job done, Any problems, post here! Download No files for download. |
Similar Mods
Mini Mods Remove Forum Category from Navbar | Modification Graveyard |
Remove the Reply link when the thread is closed | vBulletin 2.x Full Releases |