News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Upload File & Uncategorized - [Fixed in 3.2.42]

Started by coupeborgward, 15.01.2016 00:21:43

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

coupeborgward

Hi

The upload file UI in the frontend allows the end user to select uncategorized as the categoy. I would like to disable that. I noticed the option for the drop down box  on the top but how do I disable that from the upload UI. I don't want that any end user uploads a file and assigns it to uncategorized. Is there a way to do it

cheers
rolf
  •  

ColinM

Hi Rolf
It would seem that at the moment one cannot stop the Uncategorised from showing in the pull down list when creating/editing a new download from the Front end.

I had thought that setting the field "Also include a link for 'Uncategorised Only'" in the Config - Front End tab would have disallowed it.  Checking that out was the reason for the delay.

It would seem reasonable that if users cannot see the uncategorised downloads then they should also not be able to load into them but there may be implications.  Perhaps a neater way would be to have an extra field in the User Groups Settings that would allow/disallow inclusion of Uncategorised in pull down list for uploading.

So I have moved this topic to Bugs.

Colin
Colin M
  •  

Arno

It exist an option in the menu options for 'Create Download'. See pic.
This solved it not completely but could be a temporary solution.

[gelöscht durch Administrator]
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

coupeborgward

#3
Don't have this option. I'm using latest jdownloads and joomla

Any updates if this is considered as a bug and if it will be fixed in the near future ?
  •  

Arno

QuoteDon't have this option. I'm using latest jdownloads and joomla
Create a menu type like this on the screenshot.

QuoteI had thought that setting the field "Also include a link for 'Uncategorised Only'" in the Config - Front End tab would have disallowed it. 
I will try to fix this later today and publish here the fix.

[gelöscht durch Administrator]
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Arno

#5
Hi,
- please copy the unzipped files (from the file below) to this folder on your server: /administrator/components/com_jdownloads/models/fields/ and overwrite the older versions
- go to the jD configuration Tab Frontend and deativate the option: "Also include a link for 'Uncategorised Only'"
- try it then again and post here your result

Edit:
You should reset the menu option (from my tip above) as he is not more required in your case.

Edit: use the file from my later post.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

coupeborgward

#6
the uncategorized not listed anymore but now I get the following error when uploading new or editing existing files. The functionality still works just get the error below

Warning: str_repeat(): Second argument has to be greater than or equal to 0 in mywebsite/administrator/components/com_jdownloads/models/fields/jdcategoryselecteditfe.php on line 117

  •  

Arno

Hm. Okay will fix this tomorrow.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

coupeborgward

ok thank you. Much appreciated providing fixes so quickly.
  •  

Arno

Try it wit the unzipped file below again.

[gelöscht durch Administrator]
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

coupeborgward

all good. Working now. Tested delete, modify and upload of a new file

awesome. Thanks a lot
  •