More colors?

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/70083?pagenum=1
05 November 2025, 08:47

Topic


MaGraham
More colors?
21 January 2012, 16:37


Could more colors be added to our list of colors i.e. CRIMSON?

 

Replies ...


Podge
23 January 2012, 05:40


You're better off using hex - #DC143C

http://cloford.com/resources/colours/500col.htm
MaGraham
23 January 2012, 13:38


But that only works if HTML is enabled, correct?

MaGraham
23 January 2012, 13:44


I meant to thank you for sharing the website! Have you ever tried Color Cop?

Color Cop
MaGraham
23 January 2012, 13:59


Are there other ways to use the hex?

Should be red text

Should be red text

Podge
24 January 2012, 05:05


I was talking about using colors in the admin area in admin config colors. I don't know of a way to include hex in a forum post.
Carefree
24 January 2012, 10:35


You have to modify 2 files. Just repeat the added line for any color you want to include.
"inc_func_common.asp"

Code:

Look for the following lines (appx 403-419):

fString = doCode(fString, "", "", "<font color=""red"">", "</font id=""red"">")
fString = doCode(fString, "", "", "<font color=""green"">", "</font id=""green"">")
fString = doCode(fString, "", "", "<font color=""blue"">", "</font id=""blue"">")
fString = doCode(fString, "", "", "<font color=""white"">", "</font id=""white"">")
fString = doCode(fString, "", "", "<font color=""purple"">", "</font id=""purple"">")
fString = doCode(fString, "", "", "<font color=""yellow"">", "</font id=""yellow"">")
fString = doCode(fString, "", "", "<font color=""violet"">", "</font id=""violet"">")
fString = doCode(fString, "", "", "<font color=""brown"">", "</font id=""brown"">")
fString = doCode(fString, "", "", "<font color=""black"">", "</font id=""black"">")
fString = doCode(fString, "", "", "<font color=""pink"">", "</font id=""pink"">")
fString = doCode(fString, "", "", "<font color=""orange"">", "</font id=""orange"">")
fString = doCode(fString, "", "", "<font color=""gold"">", "</font id=""gold"">")
fString = doCode(fString, "[beige]", "[/beige]", "<font color=""beige"">", "</font id=""beige"">")
fString = doCode(fString, "", "", "<font color=""teal"">", "</font id=""teal"">")
fString = doCode(fString, "", "", "<font color=""navy"">", "</font id=""navy"">")
fString = doCode(fString, "", "", "<font color=""maroon"">", "</font id=""maroon"">")
fString = doCode(fString, "", "", "<font color=""limegreen"">", "</font id=""limegreen"">")

Below those, insert the following:

fString = doCode(fString, "[crimson]", "[/crimson]", "<font color=""crimson"">", "</font id=""crimson"">")
"inc_post_buttons.asp"

Code:

Look for the following lines (appx 75-88):

" <option style=""color:black"" value=""black"">Black</option>" & vbNewLine & _
" <option style=""color:red"" value=""red"">Red</option>" & vbNewLine & _
" <option style=""color:yellow"" value=""yellow"">Yellow</option>" & vbNewLine & _
" <option style=""color:pink"" value=""pink"">Pink</option>" & vbNewLine & _
" <option style=""color:green"" value=""green"">Green</option>" & vbNewLine & _
" <option style=""color:orange"" value=""orange"">Orange</option>" & vbNewLine & _
" <option style=""color:purple"" value=""purple"">Purple</option>" & vbNewLine & _
" <option style=""color:blue"" value=""blue"">Blue</option>" & vbNewLine & _
" <option style=""color:beige"" value=""beige"">Beige</option>" & vbNewLine & _
" <option style=""color:brown"" value=""brown"">Brown</option>" & vbNewLine & _
" <option style=""color:teal"" value=""teal"">Teal</option>" & vbNewLine & _
" <option style=""color:navy"" value=""navy"">Navy</option>" & vbNewLine & _
" <option style=""color:maroon"" value=""maroon"">Maroon</option>" & vbNewLine & _
" <option style=""color:limegreen"" value=""limegreen"">LimeGreen</option>" & vbNewLine & _

Below those, insert the following:

" <option style=""color:crimson"" value=""crimson"">Crimson</option>" & vbNewLine & _
MaGraham
24 January 2012, 17:26


OH MY! You are simply WONDERFUL!!!

Thank you SO MUCH!!! I can hardly wait to try it!! cool

I'll let you know as soon as I do though.


MaGraham
26 January 2012, 11:38


I'm about to begin this add-on with the colors and I have a question, if there's anyone out there.

Okay, when you're in 'reply to topic' and you click on the little drop-down arrow to choose a color. . .is there a way I could make just that small amount of background a different color? Maybe a gray or something that would just make the colors show up a little better? Just the area behind the colors. . .



AnonJr
26 January 2012, 16:33


You could probably do it with a little CSS, but it would be hard to find a colour that doesn't make one or more of the names hard to read. That's one of the problems with putting the colour name in it's colour.
MaGraham
29 January 2012, 18:15


I played around with admin_config_colors.asp the other day and thought I had found a way of doing this, but alas my efforts were in vain! sad


Just a FYI with the image above. Near the bottom of that is actually a graphic I created to make it CLEAR to the members just where they needed to click in order to upload a pic. That's just another reason why it bugs me that I can't figure out how to change the background of the little color drop-down menu! I can usually do this!! (lol)


MaGraham
29 January 2012, 18:33


Carefree, I had to postpone doing this little mod add-on. I'll come back and let you know when I get to it. Again, thank you so MUCH!

MaGraham
31 January 2012, 09:48


Carefree - Your little add-on here works PERFECT!
Thank you SO MUCH for your time with this!!

I think I'm going to add a couple more colors. . . cool

Mission accomplished! :)


MaGraham
06 May 2014, 18:23


My members are loving the additional colors for fonts. bigsmile
I have one more question though.

When you start to select a color for your font. . .after you click on the drop-down arrow and see the list of colors, three colors I've added won't display the actual color in that area. Meaning, the word "Red" is colored red, the word "Blue" is colored blue, etc. These three colors below are not colored.
Seagreen
Light Seagreen
Medium Violet Red

However; those colors display fine in a post when used.
Did I mess up somewhere? I normally use Firefox but I've just now used IE to check this out to see if it's just a browser issue, but IE does the same.

Carefree
07 May 2014, 11:29


You left the word color: off in front of those three colors. It's fixed.
MaGraham
07 May 2014, 12:30


I bet I looked at that a dozen times and failed to see that error, Carefree! blush
You're the BEST!
THANK YOU!
© 2000-2021 Snitz™ Communications