ahmedzbeda
09-12-2008, 12:51 AM
As it is in the title ..
i want to know if there is any possibilities to add, modify, and remove colors on the bbcode palette that appear in post box so i can change them as i like ..
i searched here and on the web, i searched on my vb files and templates .. but NOTHING :eek:!...
so ... :confused: ?
Lynne
09-12-2008, 02:26 AM
You would change them in the javascript file - /clientscript/vbulletin_textedit.js
ahmedzbeda
09-14-2008, 06:31 PM
ok ... i think you are talking about this ..
coloroptions=new Array();coloroptions={"#000000":"Black","#A0522D":"Sienna","#556B2F":"DarkOliveGreen","#006400":"DarkGreen",
"#483D8B":"DarkSlateBlue","#000080":"Navy","#4B0082":"Indigo","#2F4F4F":"DarkSlateGray",
"#8B0000":"DarkRed","#FF8C00":"DarkOrange","#808000":"Olive","#008000":"Green",
"#008080":"Teal","#0000FF":"Blue","#708090":"SlateGray","#696969":"DimGray","#FF0000":
"Red","#F4A460":"SandyBrown","#9ACD32":"YellowGreen","#2E8B57":"SeaGreen",
"#48D1CC":"MediumTurquoise","#4169E1":"RoyalBlue","#800080":"Purple",
"#808080":"Gray","#FF00FF":"Magenta","#FFA500":"Orange","#FFFF00":"Yellow"
,"#00FF00":"Lime","#00FFFF":"Cyan","#00BFFF":"DeepSkyBlue","#9932CC":"DarkOrchid"
,"#C0C0C0":"Silver","#FFC0CB":"Pink","#F5DEB3":"Wheat","#FFFACD":"LemonChiffon",
"#98FB98":"PaleGreen","#AFEEEE":"PaleTurquoise","#ADD8E6":"LightBlue","#DDA0DD":"Plum",
"#FFFFFF":"White"};
so .. i will try to change some of them and then come back ..
with my results and thanks .. or questions ..
--------------- Added 1221423655 at 1221423655 ---------------
so ...
i tryed to modify the codes .. by replacing some colors and color names , but , the color box stopped appearing with some new page errors
any idea ... ?
Lynne
09-14-2008, 08:13 PM
I don't know. I'd have to see that exact part in your file and also see the exact error.
ahmedzbeda
09-18-2008, 03:52 PM
so .. what i meant ..
that i changed the quoted code in my second post here ... to some other names like ..
"#d00800":"Blablabla",
but .. after saving the file ..
there is nothing changed on my forums reply box , and the yellow triangle "explorer found error" in explorer appear ..
excuse my english ..
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.