• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

[bd] Data Storage 1.2.1

No permission to buy ($19.00)
Compatible XF 1.x versions
1.2, 1.3, 1.4, 1.5
Visible branding
[bd] Data Storage
Store data in remote servers.

All data which is currently stored in external data directory (/data) will be processed by this add-on and pushed to remote server. By default, XenForo saves avatars and attachment thumbnails in here. That means with this add-on, you can serve avatar from Amazon S3! It's much easier to run a cluster of web servers now.

1. Store data with Amazon S3
2. Store data in remote server via FTP

1. Upload files and directories inside `upload` to XenForo's root directory. Select "Merge" for everything if you are asked
2. Import the .xml file using XenForo add-on importer
3. Edit config.php (see below)
4. Upload existing files in external data directory (/data) to your remote server before enable the add-on.

If you want to use Amazon S3, add this to config.php

$config['bdDataStorage'] = array(
        'type' => 's3',
        'key' => '<paste your key here>',
        'secret' => '<paste your secret here>',
        'bucket' => '<enter bucket name here>',
        // 'region' => 'us-east-1',
        // 'url' => '',
        // 'acl' => 'public',
        // ‘meta’ => array(‘key’ => ‘value’, ‘key2’ => ‘value2’),
If you use any a different region from US Standard, you have to uncomment `region` line (remove the slashes) and use one of the values below:
  • us-west-1 = Northern California
  • us-west-2 = Oregon
  • eu-west-1 = Ireland
  • eu-central-1 = Frankfurt
  • ap-southeast-1 = Singapore
  • ap-northeast-1 = Tokyo
  • ap-southeast-2 = Sydney
  • ap-northeast-2 = Seoul
  • sa-east-1 = Sao Paulo
If you don't want to use s3.amazonaws.com urls (using your domain or using CDN services), you can enter the root address for `url`, make sure you uncomment the line.

If you use CloudFront and want to restrict access to the file (only available via CloudFront), you can change the line `acl` to "private", make sure you uncomment it first.

A complete Amazon S3 config.php example:

$config['bdDataStorage'] = array(
        'type' => 's3',
        'key' => 'BROIQ53MQHOLEPAKLQCE',
        'secret' => 'p29m83MpQkO9+veIn3i9ENXQpN0ceqn4nr/nPXbq',
        'bucket' => 's3.xfrocks.com',
        'region' => 'ap-southeast-1',
        'url' => 'http://s3.xfrocks.com',
If you want to use Amazon S3, add this to config.php

$config['bdDataStorage'] = array(
        'type' => 'ftp',
        'host' => '<enter FTP host here>',
        'username' => '<enter your username here>',
        'password' => '<enter your password here>',
        'path' => '<enter FTP upload path here>',
        'url' => '<enter URL to upload path here>',
        // 'port' => 21,
        // 'passive' => true,
        // 'backup' => '<enter local directory if you want to backup files>',
It's important to set `path` and `url` correctly.

If your FTP server use some port other than 21, uncomment the line (remove the slashes) and put the port number there.

If it is required to connect to your FTP server with passive mode one, uncomment the `passive` line. If you are unsure, you can test with the line and without it to find a mode that works.

A complete FTP config.php example:

$config['bdDataStorage'] = array(
        'type' => 'ftp',
        'host' => '',
        'username' => 'xfrocks',
        'password' => 'rMtd4vSt',
        'path' => '/domains/ftp.xfrocks.com/public_html',
        'url' => 'http://ftp.xfrocks.com',
        'port' => 12121,
        'passive' => true,
        'backup' => 'data',
First release
Last update
5.00 star(s) 1 ratings

More resources from xfrocks

Latest updates

  1. Feature Update

    Added support for custom meta data (S3) Added support for XenForo built-in sitemap Added...

Latest reviews

Such a great add-on but even more great support! xfrocks nearly spent an hour because of me not being cautious enough! Highly recommend this add-on and any other add-ons by xfrocks!