[bd] Attachment Store for XenForo 2.0 2.0.2

Store attachment differently and more effectively.

  1. Compatibility Update

    xfrocks
    • Add support for XF2 video attachment files
    • Fix ContentType / ContentDisposition for S3
    RoldanLT likes this.
  2. Added support for XenForo 2.1

    xfrocks
    This version includes support for XenForo 2.1.

    It also makes it easier to use the same storage (s3, ftp, etc.) for all files in /data. Just add this into config.php:

    PHP:
    $config['fsAdapters']['data'] = function () {
        return \
    Xfrocks\AttachmentStore\Fs::getAdapterDefault();
    };
    $config['externalDataUrl'] = function ($externalPath$canonical) {
        return 
    'https://s3.amazonaws.com/bucket/' $externalPath;
    };
  3. v2.0.0

    xfrocks
    Official release for XenForo 2.
Loading...