Fixed XenForo Importers 1.3.0

Affected version
Xenforo 2.1.7, Importers 1.3.0

bluecrab

Member
There seems to be a bug in the 1.3.0 importer for SMF 2.0.

None of the private messages are being pulled over.
 
Last edited:

bluecrab

Member
I found the bug, the if condition starting at line 782 in SMF.php currently reads:
Code:
    if ($pms)
    {
      return $state->complete();
    }

It should read:
Code:
    if (!$pms)
    {
      return $state->complete();
    }
It's currently returning complete() when $pms is true instead of when $pms is false (no more pms to process).
 
Last edited:

bluecrab

Member
There still seems to be bugs, while the private messages did come over now, they're all showing as from myself (i.e., the sender is me, the recipient is me). Also, none of the avatars seem to have come over from SMF.
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XFI release (1.3.1).

Change log:
Properly import SMF private messages
There may be a delay before changes are rolled out to the XenForo Community.
 
Top