Really love the mod, but have been having trouble with the default color. I've noticed that this always seems to come up FALSE on my boards (4.0.2 PL1):
Code:
if (vB_Template_Runtime::fetchStyleVar('body_color'))
{
$vsacb_colorfirstp = vB_Template_Runtime::fetchStyleVar('body_color');
}
else
{
$vsacb_color_acplist = explode(",",str_replace(" ","",$vbulletin->options['vsachatbox_textcolors']));
$vsacb_colorfirstp = $vsacb_color_acplist[0];
}
So the first color in the ACP list is always doubled. I set $vsacb_colorfirstp to '#00FF00' on the ELSE statement just to test and it came up green.
Thanks
:quick edit:
$vsacb_colorfirstp = vB_Template_Runtime::fetchStyleVar('body_color');
Does seem to work. Tried adding that to the ELSE as well and now it's the right color, so I guess it just doesn't like being the condition.