PDA

View Full Version : Add Custom Colors to Styles


SpeedStreet
01-03-2003, 10:00 PM
This hack will allow you to add additional color selections to your style settings in Admin CP. vBulletin comes with the most common color uses already in our styles. However, for those of us that are hack-heavy, or require more differentiation, the ability to change other colors dynamically is needed.

If you have no idea what the heck I am talking about, check out the screenshot below :)

This hack is VERY easy to install (one code addition, one template addition) and should talk even novices two minutes to finish. If you have any questions, feel free to ask away!

SpeedStreet
01-04-2003, 07:15 PM
Screenshot Attached

Logik
01-04-2003, 07:28 PM
Nice hack...

Herman
01-04-2003, 07:42 PM
<font size="1">Indeed, it's nice, but not needed, what I would like, is a hack that allows you to add more colors to the color dropdown.

-Shift</font>

Dean C
01-04-2003, 09:01 PM
Not bad - i just add a replacement for this :)

- miSt

Mystis
01-04-2003, 09:04 PM
Great idea :) Though I do what Mist does, this might be a bit smarter. I'll have to take a look.

partang2
01-04-2003, 09:05 PM
Yupp, nice.... :)

SpeedStreet
01-04-2003, 11:19 PM
Thanks for the compliments, all.

The benefit to using this vs. a simple replacement set is that it is MUCH easier to change things globally on the fly. I've been toying around with different custom sets ideas, and the best one I have come up with is this: If you site has official colors, you could create a few called { sitecolor1 }, { sitecolor2 }, etc. This gives you the abliity to use these colors over and over again.

Just a few ideas... :)