Marco van Herwaarden
Fri 20th Apr '07, 9:49am
The mandatory field 'importpmid' does not get set for both the $vB_pm_to and $vB_pm_from.
in systems/phpbb2/011.php:
Line 171:
$vB_pm_to->set_value('mandatory', 'userid', $users_ids["$pm[privmsgs_to_userid]"]);
Replace by:
$vB_pm_to->set_value('mandatory', 'userid', $users_ids["$pm[privmsgs_to_userid]"]);
$vB_pm_to->set_value('mandatory', 'importpmid', $pm_id);
Line 190:
$vB_pm_from->set_value('mandatory', 'userid', $users_ids["$pm[privmsgs_from_userid]"]);
Replace by:
$vB_pm_from->set_value('mandatory', 'userid', $users_ids["$pm[privmsgs_from_userid]"]);
$vB_pm_from->set_value('mandatory', 'importpmid', $pm_id);
PS To be able to import the PM's dupe checking must be disabled in the ImpExConfig.php:
define('dupe_checking', true);
change to:
define('dupe_checking', false);