Fri 20th Apr '07 10:49am
|
 |
vBulletin Team
|
|
|
Import PM's fail phpBB2, ImpEx 1.80
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:
PHP Code:
$vB_pm_to->set_value('mandatory', 'userid', $users_ids["$pm[privmsgs_to_userid]"]);
Replace by:
PHP Code:
$vB_pm_to->set_value('mandatory', 'userid', $users_ids["$pm[privmsgs_to_userid]"]); $vB_pm_to->set_value('mandatory', 'importpmid', $pm_id);
Line 190:
PHP Code:
$vB_pm_from->set_value('mandatory', 'userid', $users_ids["$pm[privmsgs_from_userid]"]);
Replace by:
PHP Code:
$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);
|