![]() |
hot thread coloring
This is a tiny hack that changes the background color of a thread title in forumdisplay.php when it qualifies as a "hot thread".
NOTE: vB.org's replacements are automatically parsed in the attached text file. Wherever you see #F1F1F1, you may want to change that to { firstaltcolor } (without the spaces). |
Very nice, thank you.
|
demo?
|
dude, it just changes the background color of the title cell.
|
Quote:
|
Quote:
also be cool instead of a diffrent table color, have it diffrent text color, ect mabey bold |
it's easy to adapt this if that's what you're after
|
on my forums, it's higlighting the background of EVERY cell in that column, not just the hot ones!
|
i don't show the F1F1F1 in my template, i show {firstaltcolor} instead. is that why i'm having problems?
|
looking @ your "NFL Smackdown" forum, almost every single thread is a "hot thread" (look at the icons), so...?
|
looking over the code again, i don't see how this could do the highlighting incorrectly - it works the same as the icons
|
oh geesh...i'm an idiot. I thought you meant it would highlight sticky threads.
i'm going to go practice my reading comprehension now. THANKS! BTW, is there an easy way to change the bgcolor color of a stuck thread? NICE HACK! :D |
/me still feels like an idiot.
|
i'll take a look
|
forumdisplay.php - find:
PHP Code:
PHP Code:
|
thanks bro! YOU ROCK! :D
|
:)
|
Can you add the ability to do this for sticky threads too in a different color? And maybe also announcements?
|
sounds cool but I don't want the bg color to be changed I want the TEXT color to be changed when a thread is stickied or a ANNOUNCMENT
|
Quote:
|
All times are GMT. The time now is 02:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|