1) Some bbcode doesn't translate, for example [list]. Does FUDforum have the [list] bbcode? Do I have to add that?
2) Internal links do not translate well. Any links within a topic/post that redirect to another topic/post within the forum appear broken. The phpbb "viewtopic.php/viewforum.php" functionality is apparently in the index.php script in FUDforum, and the forum/topic/message number variables are different, even though the numbers referenced match up. I will get more info to you on that, if you want to address this in the converter. It would be nice if the messages were checked for internal forum post links which would be translated from <webroot>/viewtopic.php?etc. or <webroot>/viewforum.php?etc. to the FUDforum <webroot>/index.php?etc. topic/message URL format, so the internal links aren't broken post-conversion.
3) Any external links to the forum will also be broken, because although the forum ID, topic ID and post ID are all consistent, the URL format is different. Is there a possibility of perhaps a plugin that would "unbreak" external links so someone linking to your site with the phpbb format link would have it translated to the FUDforum url for the same forum/topic number, or will all of those external links also be broken?
4) There appears to be a difference in max message length between my phpbb forum and FUD. Is there a way to either detect messages that would be truncated or change the max message length to match the source forum?
/* if (is_numeric($message['ip_addr'])) { $message['ip_addr'] = decode_ip($message['ip_addr']); } */ q('INSERT INTO '. $GLOBALS['DBHOST_TBL_PREFIX'] .'msg (id, thread_id, poster_id, post_stamp, update_stamp, updated_by, subject, ip_addr, foff, length, file_id, msg_opt, apr ) VALUES ( '. $message['id'] .', '. (int)$message['thread_id'] .', '. (int)$message['poster_id'] .', '. (int)$message['post_stamp'] .', '. (int)$message['update_stamp'] .', '. (int)$message['updated_by'] .', '. _esc($message['subject']) .', '. _esc(decode_ip($message['ip_addr'])) .', '. $off .', '. $len .', '. $file_id .', '. (int)$message['msg_opt'] .', 1)' ); }
$ php convert.php phpBB2 ../phpBB2 phpBB2 to FUDforum conversion Read phpBB2's config... ... reading config file ../phpBB2/config.php ... reading config file ../phpBB2/includes/constants.php Connecting to phpBB2's database... ... connected to mysql4 database <username>@<database> Import avatars... ...Skip invalid avatar [index.htm] Import smilies... Import users... Import categories... Import forums... Import topics... Import messages... PHP Warning: strpos(): Offset not contained in string in /home/<username>/FUDforum/include/theme/default/post_proc.inc on line 447 Warning: strpos(): Offset not contained in string in /home/<username>/FUDforum/include/theme/default/post_proc.inc on line 447 PHP Notice: Uninitialized string offset: 1240 in /home/<username>/FUDforum/include/theme/default/post_proc.inc on line 431 Notice: Uninitialized string offset: 1240 in /home/<username>/FUDforum/include/theme/default/post_proc.inc on line 431 PHP Notice: Uninitialized string offset: 2621 in /home/<username>/FUDforum/include/theme/default/post_proc.inc on line 431 .... a whole bunch more like that.... Import attachments... Import polls... SQL statement: SELECT vd.*, p.forum_id, p.post_id, p.poster_id FROM <username>_site.phpbb_vote_desc vd INNER JOIN <username>_site.phpbb_topics t ON t.topic_id=vd.topic_id INNER JOIN <username>_site.phpbb_posts p ON p.post_id=t.topic_first_post_id MySQL error: MySQL server has gone away