jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => Bugs! => Topic started by: fstltna on 01.06.2025 11:42:54

Title: Error with allowed upload file types...
Post by: fstltna on 01.06.2025 11:42:54
When my users try uploading .hpkg files they get a error and it says the file type extension must be: Allowed file extensions: zip, rar, pdf, txt".

In the jdownload setting I have these extensions listed: zip,txt,pdf,doc,docx,ppt,xls,lha,7z,tgz,rar,sit,hqx,dmg,hpkg.

Did I miss where to set it up? I don't see any settings with just those four extensions...
Title: Allowed File Types
Post by: ColinM on 01.06.2025 15:03:04
Hi,
I guess you have some users who are allowed to upload from the Front End.

For Frontend users the settings are in the relevant User Group Settings So if they are in say the Registered UG then in the Group Creation/Editting tab you will find an entry 'Allowed File Types' where you need to add the required extension.  Note that these settings do not 'cascade' to other user groups, that is each User Group needs modifying separately.  This even includes the SuperUser.

Generally I create a Usergroup called uploaderUG and join users to that UG. Note you also have to  set View Access for a new user group.

Colin
Title: Re: Error with allowed upload file types...
Post by: fstltna on 01.06.2025 15:11:58
Quote from: ColinM on 01.06.2025 15:03:04Hi,
I guess you have some users who are allowed to upload from the Front End.

For Frontend users the settings are in the relevant User Group Settings So if they are in say the Registered UG then in the Group Creation/Editting tab you will find an entry 'Allowed File Types' where you need to add the required extension.  Note that these settings do not 'cascade' to other user groups, that is each User Group needs modifying separately.  This even includes the SuperUser.

Generally I create a Usergroup called uploaderUG and join users to that UG. Note you also have to  set View Access for a new user group.

Colin
I don't see that option. Where is it?
Title: Re: Error with allowed upload file types...
Post by: ColinM on 01.06.2025 15:40:31
Hi
In the admin iN Components click on jDownloads.  Then scroll down a bit and you will see User Groups Settings - so click on it.  This will show a list of all of your user groups. If the users who can upload from the front end are is usergroup 'Registered' then click on Registered.
Next select the 'Group Creation/Editting Settings'.  Scroll dow to find 'Allowed File Types - it is on the right hand side.  You can then add the required extensions in that field.

Articles at https://www.jdownloads.net/documentation?view=article&id=167&catid=32
and https://www.jdownloads.net/documentation?view=article&id=325&catid=32
give the relevant information

Best wishes
Colin
Title: Re: Error with allowed upload file types...
Post by: fstltna on 01.06.2025 16:24:46
Quote from: ColinM on 01.06.2025 15:40:31Hi
In the admin iN Components click on jDownloads.  Then scroll down a bit and you will see User Groups Settings - so click on it.  This will show a list of all of your user groups. If the users who can upload from the front end are is usergroup 'Registered' then click on Registered.
Next select the 'Group Creation/Editting Settings'.  Scroll dow to find 'Allowed File Types - it is on the right hand side.  You can then add the required extensions in that field.

Articles at https://www.jdownloads.net/documentation?view=article&id=167&catid=32
and https://www.jdownloads.net/documentation?view=article&id=325&catid=32
give the relevant information

Best wishes
Colin
Awesome, found it. Thanks!