cclaerhout
Well-known member
i'm very please w/ what you've done. installed the update today & when I get home I'm going to play around with it and see if I can redo my stuff to work the way ur doing it. looks like I have plenty enough to work with.
Ok but I've made what you wanted in a few minutes thanks to a framework I'm going to use for my next bbcodes ^^ The bbcode you want is in the php file attached to this message (it's the callback, you need to change the path at the top of the file). If you use my base.php file above, this bbcode will work. Otherwise you will have to wait for the 0.5 version (which should come in a few minutes ^^). I will explain this framework later. Just focus the first three functions (below is the framework code). The first one is the basic one where you set your replacement and tell the framework if in replacement your bbcode will use options. In your case, yes, just one option. The second function is to play with theses options. The third one is to set the bbcode behaviour if no option has been set.
I tested it and it works