Page 1 of 1

Disable Certain File Type Upload

PostPosted: Mon Aug 28, 2017 9:17 pm
by vponteras.cri
Hi,

I just want to know how to disable upload for certain file types, because I saw this on the javascript file.

Code: Select all
        if (config.UploadableExts && jq.inArray(ext, config.UploadableExts) == -1) {
            displayInfoPanel(config.NotSupportedFormatErrorMsg || "Sorry, this file format isn't supported", true);
            return false;
        }

Re: Disable Certain File Type Upload

PostPosted: Tue Aug 29, 2017 2:28 pm
by Alexander_mb
Hello vponteras.cri ,

The part of code you have mentioned is from the file upload manager, which is used only in Forum section of the Community module. The one used in Documents module is different and there are no file type limits.

Re: Disable Certain File Type Upload

PostPosted: Thu Aug 31, 2017 2:25 pm
by vponteras.cri
Ah I see. So is there any other way to achieve this?

Re: Disable Certain File Type Upload

PostPosted: Mon Sep 04, 2017 9:56 am
by Alexander_mb
Hello vponteras.cri ,

Unfortunately, there is no opportunity to do this.