Where is the code that displays a topic?

Started by mymmaster, April 05, 2006, 01:16:53 AM

Previous topic - Next topic

mymmaster

Where is the code that displays a topic? I'm hoping to use some of the functions in the code to be able to display a topic and it's replies completely outside of the forum. Any advice is welcome but I am mainly looking for the code that parses the body of a reply into readable text.

IE: I want to go from what is stored in the database....

[quote author=jake link=topic=5.msg6#msg6 date=1140419232]yea.
so what do you think? Like them better or no? :)
[/quote]



Into something that has the proper "quote" boxes and correct smiley faces showing...

Quote from: jake on February 20, 2006, 02:07:12 AMyea.
so what do you think? Like them better or no? :)

Any help is VERY appreciated!!!!!

Dannii

Don't tripple post topics please.

What do you really want? Do you want to display a topic, or do you want to parse BBCodes?
Look in Subs.php for the BBCode parser
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

mymmaster

Sorry about that.

Thanks for pointing me to the right file. I couldn't find the parsebbc function for the life of me. I think this is doing what I need it to.

Advertisement: