Advertisement:

Author Topic: Slashes for quotes on conversion - Kunena to SMF  (Read 2920 times)

Offline mtstover

  • Newbie
  • *
  • Posts: 2
Slashes for quotes on conversion - Kunena to SMF
« on: August 16, 2011, 07:58:18 AM »
Howdy - thanks in advance for help.  I've imported to SMF from kunena (1.6) using the attached SQL, which I cobbled together from the forums.

All went swimingly! :laugh:

BUT -- I now have slashes before each quote and apostrophe.  Any thoughts?

Offline sixty6falcon

  • Semi-Newbie
  • *
  • Posts: 12
    • http://www.facebook.com/ajarmstrong729 on Facebook
    • Fox Mustang Forum
Re: Slashes for quotes on conversion - Kunena to SMF
« Reply #1 on: April 23, 2012, 06:51:59 PM »
Nobody knows what this could be caused by?  I'm having the same problem.
My Forum: 79-93.com

Offline Mentalist

  • Newbie
  • *
  • Posts: 4
Re: Slashes for quotes on conversion - Kunena to SMF
« Reply #2 on: May 01, 2012, 01:46:41 PM »
in kunena_to_smf.sql find:
Code: [Select]
$row['body'] = preg_replace('~\[file name=.+?\]http.+?\[/file\]~i', '', $row['body']);
add before:
Code: [Select]
$ignore_slashes = true;