Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Whether you want to store all your member's files such as photos, videos, etc. on your own server or you want to utilize a cloud or CDN service for safer and/or faster page loading, you have the power to decide and change these options on the “Storage System” page. SocialEngine is configured to allow you to use any type of cloud or CDN service that uses FTP or SCP. 

Info

If using VFS on storage systems, your server must have allow_url_fopen enabled in PHP.

Accessing the Manage Storage Services

After logging in to your Admin Panel, go to Settings > Storage System to access the “Manage Storage Services” page.
Image Modified

On the “Manage Storage Services” page, you’ll see that Storage Systems are categorized by: “ID”, “Title”, “Files”, “Storage Used”, “Enabled”, and “Default”.
Image Modified

ID - is a unique number that is assigned to each Storage System.

...

Default - is where the files are going to be stored by default unless the source code says otherwise.

Adding a New Service

  1. Click on the "Add Service" button

    Image Modified
  2. Click on the arrow on the side of the select box to select a “Service Type”. The 3 options are: “Local Storage”, “Amazon S3”, and “Virtual Storage”.

    Image Modified
    • Local Storage - any location on the server your site is currently running on to store the data files

    • Amazon S3 - cloud service by Amazon. Please go to the Amazon Simple Storage System site for more information.

    • Virtual Storage - any other type of cloud or CDN service that uses FTP or SCP

  3. After you have selected a service, click on the "Add Service" button.

    Image Modified
  4. Depending on what type of storage you have chosen, you will need to fill out the proper information on the “Edit Storage Service Page”

For Local Storage or Pull-type CDNs
Image Modified

Path Prefix - If you have chosen “Local Storage”, you will need to fill out this field. You will need to put which folder on your server that you would like use to save the data files. The default path is currently set to "public" which means /public folder. For example, if you wanted to set the storage folder to a folder in your root directory called "myFiles" then you would put "myFiles" in this field and it will point to the /myFiles directory when it saves files. If you wanted to save it to a folder inside myFiles called "mySite". Then you would put "myFiles/mySite" and it will point to the /myFiles/mySite directory to save data files.

...

For instructions on how to set up other CDNs such as Amazon S3, CloudFront, or MaxCDN, please refer to the How to use the Cloud Storage Feature article.

For Virtual File System
Image Modified

If you would like to use a different server or virtual file system that uses FTP or SSH/SCP to store your data files, you would need to fill out the following fields.

...

To edit a Storage Service to turn it on/off or change its settings, click on the "edit" button for that Storage Service. Clicking on this link will bring up the same page used to create a Storage System. Please see above for information about each field.
Image Modified

Transferring your Files

If you have recently enabled a Storage Service and would like to transfer all of your existing files to this Storage Service, select the “Transfer” link for the Storage Service where you would like to transfer your files.
Image Modified

Once you click on the "Transfer" button, the transferring of files from your existing data location(s) to this Storage Service should start.
Image Modified

Removing a Storage Service

To remove a Storage Service from your “Manage Storage Services” list, you click the "delete" link on the same line as the Storage System you would like to remove.
Image Modified

Great work with Storage Services! Please feel free to contact us if you have any questions or need further tutorials. Visit our community to have more interactions with us and other clients or third party developers. We’d love to see you there!