When installing a mod which uses:
I've tried replacing this with
$zdesc = $bbcode->parse($zdesc, $bbcode_uid);
However, I get an error:
Fatal error: Call to undefined method stdClass::parse()
This seems strange as the MG modified bbcode.php is being included, which contains the definition of parse - any ideas anybody?
NB I also added some declarations to 'seed' $bbcode before parsing:
- $bbcode->allow_html = $html_on;
- $bbcode->allow_bbcode = true;
- if ( !$lofi )
- $bbcode->allow_smilies = true;
- $bbcode->allow_smilies = false;
However, these make no difference, I get the same parse error if I comment them out.