It is possible but...
From class_bbcode.php:
Code:
/**
* Allows extension of the class functionality at run time by calling an
* external function. To use this, your tag must have a callback of
* 'handle_external' and define an additional 'external_callback' entry.
* Your function will receive 3 parameters:
* A reference to this BB code parser
* The value for the tag
* The option for the tag
* Ensure that you accept at least the first parameter by reference!
*
* @param string Value for the tag
* @param string Option for the tag (if it has one)
*
* @return string HTML representation of the tag
*/
function handle_external($value, $option = null)....
So you would have to have a bbcode that called on handle_external($value,$option) and split it
Something like that
Code:
<a href="http://stories.mysite.net/viewstory.php?sid=explode_option({option})[0]&chapter=explode_option({option})[1]">{param}</a>
where explode_option($value) was your function..
Optionally, the bbcode parser does parse javascript so you could make do with a javascript function that returned the proper URL
kk, found a mod that taught me how to call "handle external" procedures for bbcodes.
vB Code [table]
Using the xml file it is pretty straight forward. All you need is to import the plugin and create a bbcode for [chapter] with a blank replacement string