View Full Version : Changing Background Color for threads that have been read?
dragtech
04-08-2006, 08:00 PM
How and where do i change or add the code to change the background color of threads that have been read, and leave the unread thread as default? I did a search but could not find anthing that helped me.
I'm using VB3.5.4
Thanks
Freesteyelz
04-08-2006, 09:41 PM
Ack. I thought this would be a great mod to work on then I saw this thread (http://www.vbulletin.com/forum/showthread.php?t=179813&highlight=threads+unread) with the answers. :) Darn those vB Team. :D
dragtech
04-09-2006, 01:48 AM
Perhaps i was doing something wrong. But i could not get that to work for me. Nothing would change.
Freesteyelz
04-09-2006, 02:52 AM
Ahh...Maybe it hasn't been done yet. Hmm... :D
Try this:
In Threadbit template --> threadbit look for:
<td class="alt2" id="td_title_$thread[realthreadid]" title="$thread[preview]">
Replace it with:
<!-- COLOR BACKGROUND CHANGE ON READ -->
<if condition="$show['gotonewpost']">
<td class="alt2" id="td_title_$thread[realthreadid]" title="$thread[preview]">
<else />
<td class="alt2" id="td_title_$thread[realthreadid]" title="$thread[preview]" style="background:#ff0000">
</if>
<!-- / COLOR BACKGROUND CHANGE ON READ -->
Change "#ff0000" to whatever color you want. The column for read threads (non-bold) will change color while the unread thread columns will remain the same.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.