Log in

View Full Version : Looking for function/method to parse post text


UNWebman
04-16-2009, 02:45 AM
I have been through a ton of files, and I just can't seem to find what I'm looking for. I am finishing up a new site that closely integrates with the board. I have a couple areas where I'm creating new threads using custom code.

When I'm using the data manager, and I insert a new thread, the message text is not getting parsed and converted into bb code. I've looked at the newreply.php file, but I just don't see what exactly is converting the message text.

For example, the message text just contains www.whatever.com, but it's not actually parsing it and surrounding the link with [url] tags.

The closest thing I can find is where it runs 'convert_wysiwyg_html_to_bbcode', but of course, I'm not using wysiwyg. I know I'm close, but I just don't see it. I've also scoured the bbcode class... I can get the actual HTML parsed version of the post, but I want the unparsed, bbcode fixed version of the post text.

Thanks for the help!