PDA

View Full Version : how to display a "closed" message at the end of title?


radiofranky
08-04-2011, 05:16 PM
hi,
I was wondering if there is mod that add "closed" to the thread title when is closed?

thanks

Badshah93
08-04-2011, 06:03 PM
Open threadbit template

Find

{vb:raw thread.prefix_rich}
</span>
</vb:if>

Add After it

<vb:if condition="$thread[open] == 0"><b>Closed </b></vb:if>

radiofranky
08-05-2011, 04:38 AM
thanks. How do I do if I want to change the font color of the title once the thread is closed?

again, thanks

Spyike
08-05-2011, 04:42 AM
Are you looking to change the entire markup of the thread or only the "Closed" text?

HMBeaty
08-05-2011, 04:47 AM
Use this:
<vb:if condition="!$thread[open]"><div style="color:#AD0002;font-weight: bold">Closed </div></vb:if>

Badshah93
08-05-2011, 04:47 AM
thanks. How do I do if I want to change the font color of the title once the thread is closed?


again, thanks

ahh, its so simple, you should use your mind and try to get answer your self as i given u idea in prev post, else you won't learn it.

anyway


Open Threadbit Template

Find:

{vb:raw thread.threadtitle}


Replace it with

<vb:if condition="$thread[open] != 0">{vb:raw thread.threadtitle}<vb:else />
<font color="red">{vb:raw thread.threadtitle}</font></vb:if>

radiofranky
08-05-2011, 07:56 PM
Are you looking to change the entire markup of the thread or only the "Closed" text?

I'm looking for the entire markup. Thanks

--------------- Added 1312577824 at 1312577824 ---------------

Thanks. :)

ahh, its so simple, you should use your mind and try to get answer your self as i given u idea in prev post, else you won't learn it.

anyway


Open Threadbit Template

Find:

{vb:raw thread.threadtitle}


Replace it with

<vb:if condition="$thread[open] != 0">{vb:raw thread.threadtitle}<vb:else />
<font color="red">{vb:raw thread.threadtitle}</font></vb:if>