This is confirmed to work on vBulletin versions 3.6 to 3.8.2
adapted from "Different Cell Color for Stickies" by Andrew111888 @ vB.org
The information there had some typos, so this fixed it
First, you need to change the threadbit template:
Find the following line:
PHP Code:
<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
and replace it with the following:
PHP Code:
<!-- // <td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]"> // -->
<if condition="$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>
And now you need to add some CSS
- In AdminCP
- Styles & Templates
- Style Manager
- your theme
- Main CSS
- Additional CSS Definitions (bottom of page)
Add the following code to the bottom of the "additional CSS" window:
Quote:
.stickybg { background-color: #COLOR; color: #000000; }
|
and replace
COLOR with the HEX code for the color you want.
Use an online color picker, if you need help selecting a color:
http://www.colorpicker.com
And now your STICKIES have a different color from other posts, helps them pop out more, not get lost amongst the other forum posts.
To "uninstall" this mod, simply remove the above code. Note that the original code was retained inside of mark-out code: