The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Does the callback have to direct to an external file?
|
#12
|
||||
|
||||
Look at the plugin:
PHP Code:
|
#13
|
|||
|
|||
callback/external_callback depending which way you do it.
|
#14
|
||||
|
||||
You change "external_callback"... "callback" only calls methods that are defined in the class.
|
#15
|
|||
|
|||
Ok, I dont really understand. Do I have to use 'callback' somewhere within the function?
|
#16
|
||||
|
||||
Read the entire bits of code I posted. Find the correlations between "external_callback" and defined function names.
|
#17
|
|||
|
|||
The callback has to correlate with the function name. Which mine does :\
|
#18
|
||||
|
||||
Again, "callback" only calls methods that are defined in the class. This type of custom BB code defines a function that is global - hence the need to use "handle_external" as the callback. You specify your own callback in "external_callback". Hoping you could figure this out yourself.
|
#19
|
|||
|
|||
bbcode_fetch_tags:
PHP Code:
PHP Code:
PHP Code:
Can I not simply do a return like that? Do I have to do it with a class? |
#20
|
||||
|
||||
Look at the comments on the handle_external() method in class_bbcode.php.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|