Back to vBulletin 3.5 Template Modifications

Strike thread thread title on Closed NonSticky Thread
Mod Version: 1.00, by Cyricx

This modification is in the archives.
vB Version: 3.5.0 Rating: (0 vote - 0 average) Installs: 22
Released: 21 Oct 2005 Last Update: Never Downloads: 23
Not Supported  

This was requested by J82980BA3E43 in this thread

index.php?t=98927

What this does is it will add a line through the thread title of a closed thread that is not a sticky.

1 Template edit and your done


EDIT template -- threadbit

FIND:
Code:
<if condition="$show['gotonewpost']">
	<strong><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a></strong>
<else />
	<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a>
</if>
REPLACE IT WITH:
Code:
<!-- ##### START HACK - Strike through close threads ##### -->
<if condition="($thread[open] == 0) AND ($thread[sticky] == 0)">
<if condition="$show['gotonewpost']">
<strong><strike><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a></strike></strong>
<else />
<strike><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a></strike>
</if>
<else />
<if condition="$show['gotonewpost']">
	<strong><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a></strong>
<else />
	<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a>
</if>
</if>
<!-- ##### END HACK - Strike through close threads ##### -->
Done

If you use the ajax moderation to close a thread you won't see the effects until you refresh the page.

Though anyone just loading the page of course will see the strike.

Download

This modification is archived and cannot be downloaded.

Screenshots

 

Similar Mods

Strike through Closed thread title vBulletin 3.5 Add-ons
Closed Poll thread title vBulletin 2.x Full Releases
Remove thread title in navbits if you have large thread title installed vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024