Category Owner Workaround

Phoca Gallery - image gallery extension
Leprechaun
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Jun 2014, 11:21

Category Owner Workaround

Post by Leprechaun »

Dear Phoca-team,

First of all I'd like to thank you for this wonderful component.

After spending some time on this message board I learned that it isn't possible for users to upload images - through the UCP - to pre-defined categories. I don't know if this is a functionality you're working on for a future release, but I was wondering if there's a workaround by editing the Phoca core files? In other words, is it possible to remove the category owner check in the UCP? If yes, what particular files need to be edited? I would understand if you're not that thrilled about people altering the core files, but for me it's pretty much vital that my users can upload images to all categories through the UCP.

Thanks in advance for your help!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category Owner Workaround

Post by Jan »

Hi,

users can upload images to own categories in UCP or to all categories where they have upload rights in category view, see:
https://www.phoca.cz/documents/2-phoca-g ... ser-upload
Jan
If you find Phoca extensions useful, please support the project
Leprechaun
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Jun 2014, 11:21

Re: Category Owner Workaround

Post by Leprechaun »

Yes, I read that solution in other topics, but my problem with that is that users don't have an overview of their images. That's why I would like my users to be able to upload images through the UCP, so they have a list of their images. Is their no way to alter the core files, so users don't need to create categories themselves?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category Owner Workaround

Post by Jan »

Hi, if you will create a main category and you will set in administration that some user will be owner, then in UCP, the category is created and user only can upload images or add subcategories to this main category.

Jan
If you find Phoca extensions useful, please support the project
Leprechaun
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Jun 2014, 11:21

Re: Category Owner Workaround

Post by Leprechaun »

But you can only set one owner per category, right? A category can't have multiple owners, or am I missing something?

Thanks again for your help!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category Owner Workaround

Post by Jan »

Hi, yes, only one owner but more users with permissions.

Jan
If you find Phoca extensions useful, please support the project
Post Reply