Convert to SMF without convert HTML

Started by cenourinha, July 08, 2009, 09:46:25 AM

Previous topic - Next topic

cenourinha

Hi there,

I want to convert my IPB forum to SMF without convert the html to bbcode. I want to do this, so i can convert the html to bbcode later with html_to_bbc function from SMF 2.0.

The actual convertor does this:

[div][a href="http://www.site.com"]Hello World[/a][/div]

Thanks for your time

cenourinha

I'm currently using mysql replace funtion.

UPDATE smf_messages SET BODY = replace( BODY, '[div]', '<div>' );

All my links have the same struct, like target=\"_blank" rel=\"nofollow\" i want to convert target=\"_blank" rel=\"nofollow\"] to target=\"_blank" rel=\"nofollow\">, how can i do this?

cenourinha

Worked with:

UPDATE smf_messages SET BODY = replace( BODY, "target=\\\"_blank\\\" rel=\\\"nofollow\\\"]", ">" );

Advertisement: