Ok finally worked this out (sorry I was gone for vacation for a while).
The problem is caused by the mchat hook that you have running on the install pages as well. However the style setup there isn't the usual (as the special install style is used) and apparently bbcodes don't work correctly there.
So the simple fix would be to change your hook to do the following, to avoid running it on install pages:
- Code: Select all
function hook_mchat(&$hook)
{
if (defined('IN_INSTALL'))
{
return;
}
I suppose the unavailability of bbcode handling on the installation pages is a bug as well, but I think one that can be looked at for 3.0.12.
The problem is that set_custom_template will remove any information about inheritance, as the custom template (adm/style) does not inherit from anywhere. However the custom adm/style template does not provide any bbcode.html file. This can either be solved by copying the prosilver one there as a default, or by building in some sort of hardcoded bbcode rendering. Neither of these seems ideal to me.