Basically, there are several examples in the vbulletin code of this being done. I'm wondering if you've looked any of them up? There is an example in the function I posted about, there is also an example in a couple of the widgets. They all do this slightly differently and it may help if you take a look and see what they are doing and why.
In debugging, you may want to spit out the pagetext first before doing the bbcode parsing just to see what it is and see if you can figure out why it is having problems. Try different posts - do you still have the same problem? Put in text of your own - still the same problem?
|