Log in

View Full Version : Parse BBCode?


acidmax
10-03-2003, 01:31 PM
I wrote a script to display posts outside of VB, and the problem I am having is all the vbcode showing up instead of it being replaced, so I need to parse the bbcode with the same functions that vBulletin uses in the forums.

I am using vBulletin 3 beta 7 if anyone has any help or that can point me in the right direction with maybe an example that would be great.

Thanks,
Andy

assassingod
10-03-2003, 01:37 PM
Try:

$variable = parse_bbcode($query['pagetext']);


Replace $query with the query variable