PDA

View Full Version : Show Thread Enhancements - Unread Thread Color Hack


Michel Fortin
03 Jul 2008, 19:39
I wanted to implement a hack that would color code the threads that are unread -- above and beyond the link bolding. So I implemented this hack that will change the color of the background.

Here's what you do.

Go into the Main CSS of the template. Add the following in "Additional CSS Definitions" box:

/* ***** change thread color for unread ***** */
.unread {
background-color: #fefdf0 !important;
}Now go to your threadbit template and look for:

<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">Add this code (in red):

<td class="<if condition="$show['gotonewpost']">unread </if>alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">And voila!

Click here for a live demo. (http://www.copywritersboard.com/copywriting-discussion/)

Hope this helps!

Super Jinni
03 Jul 2008, 23:28
thanks

I'm gonna give it a try

:)

NGUYENDUCTRUONG
03 Jul 2008, 23:43
Thank you very much !

TimberFloorAu
05 Jul 2008, 01:00
Great work mate. Works a dream, thank you very much .

Ozzy clicks * Installed and Launched *

acegames
06 Jul 2008, 14:08
Thanks , just what I was looking for

soletrader
07 Jul 2008, 03:24
Hi,

How would I add one for closed and popular threads? Thanks

Michel Fortin
07 Jul 2008, 14:30
Hi,

How would I add one for closed and popular threads? Thanks

What you're looking for is here:

http://www.vbulletin.org/forum/showthread.php?t=174973

BigDog56
07 Jul 2008, 17:00
Seams to change the color of the read threads, not the unread ones.

g0dfather1984
08 Jul 2008, 05:25
Thank you!

Emmmmrz
14 Jul 2008, 03:17
I don't suppose it would be possible to get the code inserted into a text document to download for people that want to use this; but not go code diving atm? (like myself)