Quote:
Originally Posted by Leebo89122
It appears that mod only changes the color of the background. What I'm hoping to find is a way to edit the templates so the thread title changes from color A if you haven't replied to color B if you have replied.
|
In your "threadbit" template, locate the line:
HTML Code:
<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>
And change it to:
HTML Code:
<a style="<vb:if condition="$thread['dot_count'] > 0">color: #FF0000;<vb:else />color: #0000FF;</vb:if>" 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 "#FF0000" with the color you want for threads in which a user has replied, and replace "#0000FF" with the color you want for thread in which a user has not replied.