The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
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).... Something like that Code:
<a href="http://stories.mysite.net/viewstory.php?sid=explode_option({option})[0]&chapter=explode_option({option})[1]">{param}</a> 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 |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|