How to use SMF bbcode outside SMF?

Started by Johnsen Design, October 18, 2009, 03:38:44 PM

Previous topic - Next topic

Johnsen Design

Hey!
For a website I am making there are some "hidden" boards that only the admins can view, but they post posts in there that will be shown on the website for EVERYONE to see.
So I gotta collect the posts directly from the database.

But the body row has the bbcode, so how can I use the SMF bbcode script to display the body rows properly?

Any help would be much appreciated!


Best regards,
Peder Johnsen.

Kays

HI, if you are including SSi.php then you can use the parse_bbc() function.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods


Advertisement: