SMF Support > IPB
[SMF Converter] IPB 1.3.x
Puc conDoin:
Where do I find this? Can I change that in this code in convert.php?
--- Code: ---$special_table = strtr(trim(substr($line, 4)), array('{$to_prefix}' => $to_prefix));
if (preg_match('~^([^ ()]+?)( \(update .+?\))? (\d+)$~', trim($special_table), $match) != 0)
{
$special_table = $match[1];
$special_update = $match[2] != '' ? substr($match[2], 9, -1) : '';
$special_limit = empty($match[3]) ? 500 : (int) $match[3];
}
elseif (preg_match('~^([^ ()]+?) \(update (.+?)\)$~', trim($special_table), $match) != 0)
{
$special_table = $match[1];
$special_update = $match[2];
$special_limit = 200;
}
else
{
$special_update = false;
$special_limit = 500;
}
--- End code ---
JayBachatero:
No need to edit convert.php. In the .sql file there is a line like this ---* {$to_prefix}tablename Change that to ---* {$to_prefix}tablename 100. The 100 is the limit.
Puc conDoin:
Ok, thanx! I will try this today and let you know how this works out.
Puc conDoin:
--- Quote from: JayBachatero on February 12, 2007, 01:52:43 AM ---No need to edit convert.php. In the .sql file there is a line like this ---* {$to_prefix}tablename Change that to ---* {$to_prefix}tablename 100. The 100 is the limit.
--- End quote ---
Thank you very much for this! This solution worked, and now everything seems to be converted!
Puc conDoin:
I've had some problems while editing board online/offline settings in the SMF admin panel. After saving, the whole forum went blank for everyone.
I've found what caused the problem. The board offline message in the configuration file was in a multi-line format. IPB supported this. SMF seems to support only single line messages.
When I looked in my SMF configuration file, I found out that the first line in the board-offline message was the one I set before via the SMF admin-panel. But the following lines after that one, were from my old IPB configuration file!
After removing those "old" lines, the problem was gone.
Maybe this is a little glitch in the conversion process?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version