Log in

View Full Version : Getting parsed version of post text


UNWebman
06-22-2008, 07:16 PM
I'd like to know if there is a way to force creation of the records in the postparsed table, OR get the parsed version of the post text, after adding a post via the datamanager, without having to load the thread page via http (showthread.php) first?

I've gone as far as to have a php script load contents of the thread page via http to force the update. And while this could work, it won't work in forums that aren't public. (i.e. my test forum).

Dismounted
06-23-2008, 07:17 AM
Parse them with the BB code class.

UNWebman
06-24-2008, 02:27 PM
I've gone through the BB code class and while I am able to get the parse method to parse smilies, it does not seem to parse any actual BB code even though the option for the specified forum is set to do so, and I have verified that it is receiving forum info from the fetch_foruminfo function.

Even using the parse_bbcode method by itself does not parse the bbcode, but rather only the smilies. Is there something I'm missing?

--------------- Added 1214322094 at 1214322094 ---------------

Never mind. I was missing the fetch_tag_list() function from the code parser class instantiation.