![]() |
Trying to figure out an update from 3.6 to 3.7.4...
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' Code:
$tag_list['no_option']['mana'] = array( |
The function (handle_bbcode_manacost) should ideally be inside its own PHP file in the includes directory. That file should be included at the hook bbcode_start.
|
bbcode_start doesn't exist. I tried putting it into bbcode_parse_start and it gives me
Fatal error: Cannot redeclare handle_bbcode_manacost() (previously declared in <snip>/forums/includes/class_bbcode.php(343) : eval()'d code:5) in <snip>/forums/includes/class_bbcode.php(343) : eval()'d code on line 5 And this just confuses me to no end... I'm not redeclaring it; this function has never been declared! |
Sorry, I meant bbcode_create. But also, PHP doesn't lie. :D (Meaning it has already been declared.)
|
k. Either way, I got it. My solution was to edit the function explanation itself into the class_bbcode_alt.php file, then drop this as a plugin into BBCode_fetch_tags:
Code:
$tag_list['no_option']['mana'] = array( Oh wait. There is one thing left: How can I add a clickable image for it like I would a normal bbcode? |
All times are GMT. The time now is 12:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|