There is a more harsh problem which lies in the convertor and which prevens me from converting now.
Quotes are not converted correctly.
Original this quote:
Code: Select all
[quote author=Black Tiger link=topic=15766.msg91441#msg91441 date=1504617642]
Which is probably gotten from clicking the quote button, is converted to this:
which is displayed as text and should have been converted to:
for phpBB if I'm not mistaken.
I don't know how to change this by a database query and I'm no code so I don't know how to change it in the convertor.
The issue lies probably in functions_smf20.php:
Code: Select all
// turn SMF's extended quotes into quotes that can be parsed by phpBB
if (strpos($message, '[quote') !== false)
{
$message = preg_replace('/\[quote=(.*?)\]/s', '[quote="\1"]', $message);
$message = preg_replace('/\[quote=""(.*?)""\]/s', '[quote="\1"]', $mes
sage); // Removes double quotes inserted by previous preg_replace
$message = preg_replace("#\[quote author=(.+?) link=.+?\]#i", '[quote="\1"]', $message);
$message = preg_replace("#\[quote author="(.+?)"\]#i", '[quote="\1"]', $message);
$message = preg_replace("#\[quote author=(.+?)\]#i", '[quote="\1"]', $message);
// let's hope that this solves more problems than it causes. Deal with escaped quotes.
$message = str_replace('\"', '"', $message);
$message = str_replace('\"', '"', $message);
}
$message_parser->message = $message;
// Already the new user id ;)
$user_id = $convert->row['id_member'];
$message = str_replace('<br />', "\n", $message);
// make the post UTF-8
$message = smf_set_encoding($message);
$message_parser->warn_msg = array(); // Reset the errors from the previous message
$message_parser->message = $message;
unset($message);
But I have no clue on what to change to fix this.
Another issue is that on a converted forum, this works:
Code: Select all
[img]https://www.imagehost.nl/broodjes.jpg[/img]
but this does not work, whilest this works on any other phpbb forum (at least 3.2.1 versons):
Code: Select all
[img]https://www.imagehost.nl/broodjes.jpg]Lekkere Broodjes[/img]
Or does this only work on 3.2.1. and not on 3.0.14?
Any help is greatly appreciated!