Om ook de andere tabellen van de site te kunnen converteren in MYBB, heb ik de volgende wijziging aangebracht aan MyBB:
Open admin/modules/tools/system_health.php and find
if(substr($tablename, 0, strlen($old_table_prefix)) == $old_table_prefix)
{
$table = $db->show_create_table($tablename);
preg_match("#CHARSET=([a-zA-Z0-9_]+)\s?#i", $table, $matches);
if(fetch_iconv_encoding($matches[1]) != 'utf-8')
{
$not_okey[$key] = $tablename;
++$not_okey_count;
}
else
{
++$okay_count;
}
$mybb_tables[$key] = $tablename;
}
Vervang met:
/*if(substr($tablename, 0, strlen($old_table_prefix)) == $old_table_prefix)
{*/
$table = $db->show_create_table($tablename);
preg_match("#CHARSET=([a-zA-Z0-9_]+)\s?#i", $table, $matches);
if(fetch_iconv_encoding($matches[1]) != 'utf-8')
{
$not_okey[$key] = $tablename;
++$not_okey_count;
}
else
{
++$okay_count;
}
$mybb_tables[$key] = $tablename;
/*}*/