I think we need to list the bugs so they can more easily be fixed.
1. Poll choices error. - FIXEDTo fix, in the .sql file, replace
$rows[] = "$row[ID_POLL], SUBSTRING('" . implode("', 1, 255), '", $choice) . "'";
with
$rows[] = "$row[ID_POLL], SUBSTRING('" . implode("', 1, 255), SUBSTRING('", $choice) . "', 1, 255)";
From what I've read, this problem is also in the IPB 1.3 converter.
(
source)
2. Size tag conversion error. - FIXEDThe preg_replace in the .sql file in the members (sigs), post, and PM steps. This is incorrect
'~<span style=\'font-size:([^;]+?).+?\'>(.+?)</span>~is',
It only returns the first character of the font-size instead of the entire font-size. For example, it turns
<span style='font-size:14pt;line-height:100%'>TEXT</span>
into
[size=1]TEXT[/size]
when it should turn it into
[size=14pt]TEXT[/size]
EDIT: To fix, in the .sql replace (three times)
'~<span style=\'font-size:([^;]+?).+?\'>(.+?)</span>~is',
with
'~<span style=\'font-size:(.+?);.+?\'>(.+?)</span>~is',
Thanks to JayBachatero for this one!
3. Closing tags in the wrong order. - FIXEDIn IPB it looks like this
[color=navy][font=Times]First part[/font]Second part[/color]
but after the conversion it looks like this
[color=navy][font=Times]First part[/color]Second part[/font]
I realise that both closing tags are </span> which is the cause of the problem but it also allows it to work properly. Still, the old posts will be have the wrong order and editing/copying/quoting them will be a bit confusing as the code is misleading.
EDIT: To fix, in the .sql replace (three times)
'~<span style=\'color:([^;]+?)\'>(.+?)</span>~is',
'~<span style=\'font-size:(.+?);.+?\'>(.+?)</span>~is',
'~<span style=\'font-family:([^;]+?)\'>(.+?)</span>~is',
with
'~<span style=\'color:([^;]+?)\'>(.+)</span>~is',
'~<span style=\'font-size:(.+?);.+?\'>(.+)</span>~is',
'~<span style=\'font-family:([^;]+?)\'>(.+)</span>~is',
4. Passwords not working after conversion. - FIXEDEDIT: To fix, delete from the .sql
, '' AS passwordSalt