I had the customised backgrounds on my profile page to appear only to be replaced with the background loaded in the style sheet. This puzzled me and so I open firebug to see that yes, the body style was loaded again after the Profile Customizer body style. Using page view I found where it was loading in the style sheets from the template in the Profile Video block. I found that one of the videos was not being found by the Profile Videos Block; maybe related to this ticket: http://www.boonex.com/trac/dolphin/ticket/3250; however, that is a different topic.
Continuing, I traced the bug to the BxH5avModule.php file. It is loading in the style sheets, default, common, and general. I am guessing that something in those style sheets is needed for the messages but the problem is that by loading those style sheets in a second time, it is overwriting the Profile Customizer styles; not to mentioning wasting browser load times loading in style sheets that have already been loaded. The HTML5 module should have had style sheets with just the necessary bits instead of loading in the style sheets from the template a second time.
case STATUS_PROCESSING:
$sOverride = $this->_oTemplate->addCss(array('default.css', 'common.css', 'general.css'), true) . MsgBox(_t('_sys_media_processing'));
break;
case STATUS_DISAPPROVED:
if (!isAdmin()) {
$sOverride = $this->_oTemplate->addCss(array('default.css', 'common.css', 'general.css'), true) . MsgBox(_t('_sys_media_disapproved'));
break;
}
case STATUS_FAILED:
default:
if (!BX_H5AV_FALLBACK || !file_exists($sFilesPath . $iFileId . FLV_EXTENSION))
$sOverride = $this->_oTemplate->addCss(array('default.css', 'common.css', 'general.css'), true) . MsgBox(_t('_sys_media_not_found'));
break;
}
In my case it was the failed that caused my custom background to be overwritten by the Profile Video Block; for some reason that block can not find a video that exisits on the site and can be loaded and played by visiting the particular album.
I am not sure why the stylesheets are being loaded in again, perhaps to make sure they are on the page? At any rate, it is causing a problem with the Profile Customizer and thus needs to be fixed in some manner.