Right then.... Aeolian... here goes...
I didn't go about finding how to change the default colour... that was way too annoying... but you can easily limit the colurs your members have a choice of...
Open "Plugin System" > "Plugin Manager" > "vBShout [Template Alteration]"
Find this section >>
PHP Code:
$hex = array();
$hex[] = '0';
$hex[] = '3';
$hex[] = '6';
$hex[] = '9';
$hex[] = 'C';
$hex[] = 'F';
for ($a = 0; $a < 6; $a++)
{
for ($b = 0; $b < 6; $b++)
{
for ($c = 0; $c < 6; $c++)
{
$Options_DropDown['color_selector'][] = '#' . $hex[$a].$hex[$a].$hex[$b].$hex[$b].$hex[$c].$hex[$c];
}
}
}
Replace it with >>>
Quote:
$Options_DropDown['color_selector'][] = '#00FF00';
$Options_DropDown['color_selector'][] = '#FF0000';
$Options_DropDown['color_selector'][] = '#0000FF';
|
You can add, change or delete the values in the replace section to your requirements... They will appear in the order that you have them listed..
Go here
Colour Picker, to find values for hex colours..
Also... I did a small hack in the same template a while back that displays the colour in the list instead of the colour hash values...
https://vborg.vbsupport.ru/showthrea...636#post771636
Hope this helps BR