Tms
02-20-2005, 08:28 PM
Hello,
I was not sure where to ask about this, so I thought this was the best place.
At the moment, A friend and I are developing a "portal"-type system, that displays the 5 most recent posts from the vBulletin, and the 5 most recent announcements. We're retrieving the information directly from the database, and you can see the WIP @ http://www.hostmatrix.org/index3.php.
Anyway, we got the past 5 posts done great, and the announcements came along fine. The only problem is: The announcements aren't BBCode Parsed. I tried numerous attempts with preg_replace, and I looked into the vBulletin sources to try to find how BBCode was parsed, but I had no luck.
So, my question is, How do I parse BBCode from outside vBulletin?
Thanks a bunch,
Tim
I was not sure where to ask about this, so I thought this was the best place.
At the moment, A friend and I are developing a "portal"-type system, that displays the 5 most recent posts from the vBulletin, and the 5 most recent announcements. We're retrieving the information directly from the database, and you can see the WIP @ http://www.hostmatrix.org/index3.php.
Anyway, we got the past 5 posts done great, and the announcements came along fine. The only problem is: The announcements aren't BBCode Parsed. I tried numerous attempts with preg_replace, and I looked into the vBulletin sources to try to find how BBCode was parsed, but I had no luck.
So, my question is, How do I parse BBCode from outside vBulletin?
Thanks a bunch,
Tim