-
BBCODE all the same?
My bbcodes don't seem to be working properly. They all say the same thing when pressed?
I'm speaking of the [H][/H] [COMMENT][/COMMENT] etc..they all just say the wikitag instead
I"m also getting this error while editing a wiki
Code:
Warning: array_unshift() [function.array-unshift]: The first argument should be an array in [path]/vault/functions/bbcode/headline.php on line 75
-
If all the BB-Codes are saying the same thing, you are running vBulletin 4.1.4. This is a bug in vBulletin and they fixed it in 4.1.5.
As far as the other error goes, it sounds like a conflict with another mod, because that code by design only gets called on wiki pages where the array is available. Something else must be calling it indirectly and not supplying the array.
We can try to avoid the code executing in that case by modifying vault/functions/bbcode/headline.php. Find:
Code:
if (wiki_only_bbcode())
{
$option = 2;
}
Replace with:
Code:
if (wiki_only_bbcode() OR !is_class_type($parser, 'wiki'))
{
$option = 2;
}