The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
I found that in the class_bbcode file as well, and it's gibberish to me. At least, the
Code:
* @param string Value for the tag * @param string Option for the tag (if it has one) * * @return string HTML representation of the tag |
#12
|
||||
|
||||
That means that your function is getting this:
PHP Code:
|
#13
|
|||
|
|||
Wait. So I should just replace every instance of $body and $name with 'param' and 'option' respectively, and turn the final output variable into 'return'?
I'm stuill really confused... |
#14
|
||||
|
||||
Please read the description properly:
PHP Code:
|
#15
|
|||
|
|||
Parameters tells me nothing. How do I add the parameter to reference the BBCode parser?
|
#16
|
||||
|
||||
Read it again, carefully. Your custom function ("bbcode_deck()") will receive three parameters.
|
#17
|
|||
|
|||
I still don't get it. Can someone please just give me a straight answer?
|
#18
|
||||
|
||||
PHP Code:
|
#19
|
|||
|
|||
Ah-So the
Code:
&$parser |
#20
|
||||
|
||||
The BB code parser calls your function, and provides three parameters for you to use. $parser is the reference for the BB code parser, in case you need it.
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|