admin
16-05-2010, 10:03 AM
Description:
With this modification you can make title of sticky threads in color font what you like
see pic in attachment
who to do that ?
in template THREADBIT find :
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a> replace it with :
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}"><vb:if condition="$thread['sticky']"><font color="#FF0000">{vb:raw thread.threadtitle}</font><vb:else />{vb:raw thread.threadtitle}</vb:if></a>Save
Demo : alra7ba.info (http://www.alra7ba.info/vb/forumdisplay.php/102-%D9%85%D9%86%D8%AA%D8%AF%D9%89-%D8%A7%D9%84%D9%87%D8%A7%D9%83%D8%A7%D8%AA-%D9%84%D9%84%D8%AC%D9%8A%D9%84-%D8%A7%D9%84%D8%B1%D8%A7%D8%A8%D8%B9-4.0.0?langid=1)
Note : if you wont other color then RED you can find in the code above
<font color="#FF0000">and change color to what you like
Screenshots
http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/05/16/10/55151273979085.jpg
With this modification you can make title of sticky threads in color font what you like
see pic in attachment
who to do that ?
in template THREADBIT find :
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a> replace it with :
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}"><vb:if condition="$thread['sticky']"><font color="#FF0000">{vb:raw thread.threadtitle}</font><vb:else />{vb:raw thread.threadtitle}</vb:if></a>Save
Demo : alra7ba.info (http://www.alra7ba.info/vb/forumdisplay.php/102-%D9%85%D9%86%D8%AA%D8%AF%D9%89-%D8%A7%D9%84%D9%87%D8%A7%D9%83%D8%A7%D8%AA-%D9%84%D9%84%D8%AC%D9%8A%D9%84-%D8%A7%D9%84%D8%B1%D8%A7%D8%A8%D8%B9-4.0.0?langid=1)
Note : if you wont other color then RED you can find in the code above
<font color="#FF0000">and change color to what you like
Screenshots
http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/05/16/10/55151273979085.jpg