MTGDarkness
01-16-2009, 04:01 AM
I recently received a BBCode modification, and I tried to install it. I got errors. It worked in vBulletin 3.6.x, but not in 3.7.x. What I need to do is get it up and running. It gave my two plugin codes to install:
The first one went in 'BBCode Fetch Tags'
$tag_list['no_option']['mana'] = array(
'callback' => 'handle_external',
'strip_empty' => true,
'external_callback' => 'handle_bbcode_manacost'
);
I can understand the first part fine. But for some reason, this brings back an error about handle_bbcode_manacost(); that it doesn't exist. Well, of course. But after I turn on the other part, which defines the function, and stick it in 'Gobal Start', you'd think it would work... It did on 3.6.x. How can I get this certain function (which I believe could work on its own; the only variable not defined within it is $external, and that is not necessary for the primary function thereof) to work as a BBCode?
The first one went in 'BBCode Fetch Tags'
$tag_list['no_option']['mana'] = array(
'callback' => 'handle_external',
'strip_empty' => true,
'external_callback' => 'handle_bbcode_manacost'
);
I can understand the first part fine. But for some reason, this brings back an error about handle_bbcode_manacost(); that it doesn't exist. Well, of course. But after I turn on the other part, which defines the function, and stick it in 'Gobal Start', you'd think it would work... It did on 3.6.x. How can I get this certain function (which I believe could work on its own; the only variable not defined within it is $external, and that is not necessary for the primary function thereof) to work as a BBCode?