- Affected version
- XFI 1.1.0
When importing an XF 2.1 forum into XF 2.1, the attachments step may omit setting the data
This should be fairly rare as XF 2.1 hasn't been out for long yet, but if you are importing the recommended change is to open
And below add:
file_path
field which is used specifically for video attachments (which use a custom attachment path in XF 2.1).This should be fairly rare as XF 2.1 hasn't been out for long yet, but if you are importing the recommended change is to open
src/addons/XFI/Import/Importer/XenForo2.php
and find:
PHP:
$import->setDataExtra('upload_date', $attachment['upload_date']);
PHP:
$import->setDataExtra('file_path', $attachment['file_path']);