How to Use File Upload
Default File Uploading Settings
- Out of the box the following file types are accepted: txt, jpg, jpeg, gif, png, bmp, tiff, ico, zip, gz, tar.gz, tgz, psd, ai, fla, swf, pdf, doc, xls, ppt, docx, xlsx, log, rar, 7z.
- The maximum file size users will be able to upload is 50 mb.
- We can whitelist additional file extensions if you needed.
Setting Roles and Permissions
To control who can download or upload files, head to your Roles & Permissions screen in the “Users” menu. Here you can determine which roles have the ability to upload/download attachments.
So, for example, click on edit for the Member role. On the next screen scroll down until you reach the Plugins permissions. There are two options: Allow Attachment Download and Allow Attachment Upload. For example in the screenshot below, members are allowed to upload and download files. You can change this if you decide to allow, for example, members to only have permission to download files. Just uncheck their ability to upload files. How file upload works, and who has the ability in your community, is totally at your discretion.
*NOTE: You can assign these permissions to Member, Moderator, Administrator, and any custom roles you create
Using File Upload
Uploading a file
Once you have setup your user roles go to your forum. In any comment box you will notice the ‘Attach a file’ link. Click on the ‘Attach a file’ link and browse to the file you wish to upload. Below is an example of adding a file to a new discussion:
That’s all. Now go share some files!