Disable Certain File Type Upload

Tech support for Enterprise Version
Post Reply
User avatar
vponteras.cri
Posts: 2
Joined: Mon Aug 28, 2017 9:14 pm

Disable Certain File Type Upload

Post by vponteras.cri » Mon Aug 28, 2017 9:17 pm

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;
        }

Alexander_mb
Posts: 40
Joined: Tue Aug 08, 2017 2:01 pm

Re: Disable Certain File Type Upload

Post by Alexander_mb » Tue Aug 29, 2017 2:28 pm

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.

User avatar
vponteras.cri
Posts: 2
Joined: Mon Aug 28, 2017 9:14 pm

Re: Disable Certain File Type Upload

Post by vponteras.cri » Thu Aug 31, 2017 2:25 pm

Ah I see. So is there any other way to achieve this?

Alexander_mb
Posts: 40
Joined: Tue Aug 08, 2017 2:01 pm

Re: Disable Certain File Type Upload

Post by Alexander_mb » Mon Sep 04, 2017 9:56 am

Hello vponteras.cri ,

Unfortunately, there is no opportunity to do this.

Post Reply