The Arcive of vBulletin Modifications Site. |
|
Different Cell Color for Stickies Details »»
|
|||||||||||||||||||||||||
What this modification does is change the td cell background color for a sticky thread when viewing a thread listing.
Please note the screenshots are from my 3.0.x release as there's no reason to make new ones. Versions: 3.6.0 3.5.0 3.0.0 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Neat, I have a slightly different use for this utilizing your code. I want unanswered topics to be highlighted, so I changed
Code:
<if condition="$thread['sticky'] == 1"> Code:
<if condition="$thread[replycount] == 0"> ![]() Thanks, installed. |
|
#3
|
||||
|
||||
|
I am running 3.6 Gold and I tried following your attached instructions by looking for the following line in the threadbit:
<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]"> and it's not found. Can somebody tell me which string of text to find, if 3.6 gold differs from previous versions? thanks |
|
#4
|
||||
|
||||
|
I have just confirmed that with a default 3.6.0 gold template, that line is indeed in the threadbit template.
Perhaps your template is out of version? |
|
#5
|
||||
|
||||
|
Hmm, I guess I must have been looking at the wrong template , because I found it! This was a quick easy one.
Thanks *clicks install* |
|
#6
|
||||
|
||||
|
Thanks for the hack! I'll install it right away...
|
|
#7
|
||||
|
||||
|
I realy liked the Idea from ericgtr
I modified it a little further. 2 options: 1) Highlight only 0 reply threads but no stickies (that is my choice) Code:
<if condition="$thread[replycount] != 0">
<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
<else />
<if condition="$thread['sticky'] == 1 AND $thread[replycount] == 0">
<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
<else />
<td class="zeroreplybg" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
</if>
</if>
Code:
.zeroreplybg
{
background-color: #ebf0d2;
color: #000000;
}
Code:
<if condition="$thread[replycount] == 0 OR $thread['sticky'] == 1">
<td class="stickybg" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
<else />
<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
</if>
Code:
.stickybg
{
background-color: #ebf0d2;
color: #000000;
}
|
|
#8
|
|||
|
|||
|
Great change...thanks
|
|
#9
|
||||
|
||||
|
Thanks Andrew
![]() Also works really well when using "Separate Sticky and Normal Threads" Install |
|
#10
|
||||
|
||||
|
works on 3.6.4 thanks
|
![]() |
|
|