Page 1 of 1

Disable "upload single file"

Posted: 20 Mar 2011, 22:20
by bole
Dear Jan,

I've already been using Phoca Gallery for J1.5 for years now on a site, but for our private site I started with a fresh J1.6. So at the moment I'm using PG 3.0.0RC4. Thanks for the good work!

What I'd like to do, is to disable the single file upload, so that the users can only use the JAVA-upload method (because of automatic resizing and because we always publish a bunch of photo's at the same time). I did find options to enable/disable multi-file uploads, but I just want to disable single file upload.

Is this possible? Or is it possible to implement easily?

Kind regards,

Bob

Re: Disable "upload single file"

Posted: 25 Mar 2011, 01:19
by Jan
Hi, I think there is no option, but you can disable the displaying of other methods, but depends on if you want to disable it in ucp or category view.

Jan

Re: Disable "upload single file"

Posted: 25 Mar 2011, 11:05
by bole
Hi Jan, thanks for answering.

You say that this is currently not an option; is it possbile to make this option available? I think it should be rather easy, as this is already implemented for the other methods.

Another good point you raise is the different methods: I would like to have the oppertunity to select that uploading is only allowed via the UCP and not in the category view. Is this possible?

Re: Disable "upload single file"

Posted: 26 Mar 2011, 01:24
by Jan
Hi, added into feature request list.

The problems with option is, you need to select only some from all possible options. For now there are so many options that it causes problems on some servers. Adding new options must be done really carefully. :-(

Jan

Re: Disable "upload single file"

Posted: 26 Mar 2011, 14:45
by bole
Thanks.

Could you giv me the filenames where I have to have a look if I'd like to change this myself? So which file is responsible for the uploadform in the category view, and which file for the normal UCP uploads?

Re: Disable "upload single file"

Posted: 30 Mar 2011, 18:18
by Jan
Hi, see controllers in frontend

components/com_phocagallery/controllers/ category.php (user.php) the same with views

Jan