vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how can i modify the color palette bbcode (https://vborg.vbsupport.ru/showthread.php?t=190700)

ahmedzbeda 09-12-2008 12:51 AM

how can i modify the color palette bbcode
 
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 ..


PHP Code:

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"}; 

[S]so[/S] .. i will try to change some of them and then come back ..

with my results and thanks .. or questions ..

--------------- Added [DATE]1221423655[/DATE] at [TIME]1221423655[/TIME] ---------------

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 ..


All times are GMT. The time now is 03:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01027 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete