![]() |
Does the callback have to direct to an external file?
|
Look at the plugin:
PHP Code:
|
callback/external_callback depending which way you do it.
|
You change "external_callback"... "callback" only calls methods that are defined in the class.
|
Ok, I dont really understand. Do I have to use 'callback' somewhere within the function?
|
Read the entire bits of code I posted. Find the correlations between "external_callback" and defined function names.
|
The callback has to correlate with the function name. Which mine does :\
|
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.
|
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? |
Look at the comments on the handle_external() method in class_bbcode.php. ;)
|
All times are GMT. The time now is 05:53 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:
|