The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Callback Function and $GLOBAL variable
I am writing a modification that adds a custom bbcode tag.
So, I have this that is being eval'd on the bbcode_create hook: PHP Code:
|
#2
|
|||
|
|||
Okay let's take this step by step.
First are you sure that this part of the code is executed, or does it only execute the first part of the if (ie. have a valid 'vB_BbCodeParser_Wysiwyg') |
#3
|
|||
|
|||
It was parsing the tag as I expected, but just to test, I moved the $GLOBALS['dicehistory'] outside of the IF statement (modified PHP above to reflect). It had no effect. The variable is still empty when I try to access it either in the postdata_presave or even bbcode_parse_complete.
And thank you for trying to help! I appreciate it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|