Back to vBulletin 4.x Template Modifications

Remove empty category thread from forumdisplay when forum is closed
Mod Version: 1.01, by d19rnyxx

vB Version: 4.1.10 Rating: (0 vote - 0 average) Installs: 3
Released: 26 Feb 2012 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

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']">
and Add:
Code:
<vb:if condition="$foruminfo['allowposting']">
below the </vb:if>

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']">
STEP 2:

FIND:
Code:
</div>
{vb:raw template_hook.forumdisplay_below_threadlist}
</vb:if>}
and Add
Code:
</vb:if>
below </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

vblts.ru supports vBulletin®, 2022-2024