#1  
01-27-2010, 11:22 PM
admin's Avatar
admin admin is offline
Site Staff | Web Development
 
Join Date: Jul 2003
Posts: 4,310
Thanked 654 Times in 457 Posts
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:
  • In AdminCP
    • Styles & Templates
      • Style Manager
        • your theme
          • Edit Templates
            • threadbit

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:

PHP Code:
<!-- //  // --> 

- Did this site help you? Then upgrade to Premium Member and show your support!
- Also: Like Us on Facebook for special DVD/Blu-ray news and deals!
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
01-27-2010, 11:30 PM
admin's Avatar
admin admin is offline
Site Staff | Web Development
 
Join Date: Jul 2003
Posts: 4,310
Thanked 654 Times in 457 Posts
Example of mod in use:

vb-sticky-color.jpg

Simple gray was used here, but it could have just as easily been pink or blue or something else.



- Did this site help you? Then upgrade to Premium Member and show your support!
- Also: Like Us on Facebook for special DVD/Blu-ray news and deals!
Reply With Quote
  #3  
07-13-2010, 02:22 PM
admin's Avatar
admin admin is offline
Site Staff | Web Development
 
Join Date: Jul 2003
Posts: 4,310
Thanked 654 Times in 457 Posts
To match the new styling of the site, it's been changed to a pale yellow color as of today.

- Did this site help you? Then upgrade to Premium Member and show your support!
- Also: Like Us on Facebook for special DVD/Blu-ray news and deals!
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Quality vBulletin themes for only $4 admin Web Development, Design 1 07-25-2013 07:06 PM
WordPress themes library (by style), free and premium designs admin Web Development, Design 4 03-04-2013 02:19 PM
About the 2009 analog change (DTV, HDTV) Tranzor Videography: Cameras, TVs and Players 5 06-25-2008 12:28 PM
Anybody here know how to change your IP address? wayshway Computers 15 06-26-2006 11:13 PM
Color Question wheezer210 Restore, Filter, Improve Quality 2 04-18-2006 03:19 PM

Thread Tools



 
All times are GMT -5. The time now is 12:41 PM