![]() |
Different Cell Color for Stickies
|
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. |
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 |
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? |
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* |
Thanks for the hack! I'll install it right away... :)
|
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"> Code:
.zeroreplybg Code:
<if condition="$thread[replycount] == 0 OR $thread['sticky'] == 1"> Code:
.stickybg |
Great change...thanks
|
Thanks Andrew ;)
Also works really well when using "Separate Sticky and Normal Threads" Install |
works on 3.6.4 thanks
|
Quote:
*installed* |
There's a way to have this working for all forums/thread/posts?
|
I found this code in threadbit in v 3.6.5:
Code:
<td class="alt1Active" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]"> Code:
<if condition="$thread['sticky'] == 1"> Code:
.stickybg |
Thanks....
|
Thanks a bunch - instead of using a bg color I used an image which was nice ;)
Thanks again, |
Great Thanks Clicks Install
|
Handy little idea :)
|
To extend the background in 3.6.x to announce as in the image Attachment 35356
In ACP -> Styles & Templates -> Style Manager -> [desired style] -> Edit Templates -> threadbit_announcement Find Code:
<td class="alt2" colspan="$announcecolspan"> Code:
<td class="stickybg" colspan="$announcecolspan"> For 3.5 versi?n see the following post https://vborg.vbsupport.ru/showpost....1&postcount=13 |
Easy to use, thanks! :D
BTW: i think there is a typo in the install file it is this: Code:
<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]"> Code:
<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]"> |
I modified advanced .css
.stickybg { background-color: #hex; color: #750B10; } But the color is still light blue and NOT red as I want it |
bg color = cell color
color = text color |
I might add this, subscribed for when i get home i can insall ...
|
Hey Guys -
I am trying to highlight the 'Sticky' thread topic but not sure how. Is this an FTP or CP (control panel) change? I want to draw attention to my 'Sticky' topics. I'm not a Geek so any details is very much appreciated. Thanks |
I am not able to read the txt file from here. Can some one please make it readable or post directly on the thread?
Also, is this compatible with 3.6.8? |
Yea the .txt is hard to read!
|
This may be one of the dumbest questions ever but um well I am new to my vB Board and I was wondering where I would install the text that I got inside my text file :erm:
|
Nice addition ;)
|
Works perfect.
|
I did edit the css file and changed to #hex color but it doesn't seem to be reflecting on my forum.
Any idea guys? |
very quick and easy. Thanks
|
Quote:
|
here you go all, or you simply copy all from the notepad and open word pad and past and it will be perfect:
Quote:
|
Anyone know if this will work with 3.7?
|
Working Great on 3.7.0 Gold
|
Thanks man! My second mod...:D
|
Works in vB 3.8.2
|
All times are GMT. The time now is 04:53 PM. |
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:
|