The Arcive of vBulletin Modifications Site. |
|
Remove empty category thread from forumdisplay when forum is closed Details »»
|
|||||||||||||||||||||||||||
|
Remove empty category thread from forumdisplay when forum is closed
Developer Last Online: Aug 2014
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! Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Fixed the guest issue in Step 1, don't know why $member was there!
|
![]() |
|
|