User Control Panel, creating categorie somewhere else

Phoca Gallery - image gallery extension
pach
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 17 May 2010, 10:27

User Control Panel, creating categorie somewhere else

Post by pach »

Good morning,
First and foremost, thank you for this amazing component !!

So I have a little question :
With the UCP, when a user create a category, it's a real new category.
I would like to have a "top category" called "User's pictures" (created in the admin panel by the administrator) in which each user, thanks to the UPC, create a "subcategory" of "User's pictures".
To sum up, I'd like to have a parent category for my user's pictures :
-User's pictures
---benjamin's pictures (created and managed by benjamin's UCP)
---elodie's pictures (created and managed by elodie's UCP)
-Other pictures

Is it possible ? Thank you for your answer :D

Excuse me for my bad english, I'm french :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: User Control Panel, creating categorie somewhere else

Post by Jan »

Hi, admin can create main category for the user (in administration) and user can create subcategories in frontend. But the possibility to not create main category in frontend doesn't exists. User if he get link to UCP can create main category if it is not created:

https://www.phoca.cz/documents/2-phoca-g ... ser-upload

Jan
If you find Phoca extensions useful, please support the project
pach
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 17 May 2010, 10:27

Re: User Control Panel, creating categorie somewhere else

Post by pach »

Yes but I can I do this ? :

I (admin) create a main category (called user's pictures) in backend (I know how to do it).
And after, each user can create (thanks to UCP) a "subcategory" (called username) only in this main category "user's pictures".

Is it possible ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: User Control Panel, creating categorie somewhere else

Post by Jan »

Hi, yes, every user can create subcategories in main category which included his/her owner id.

Jan
If you find Phoca extensions useful, please support the project
pach
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 17 May 2010, 10:27

Re: User Control Panel, creating categorie somewhere else

Post by pach »

I think you didn't understand what I want :)
I'll try to be understandable (sorry if I'm not) :

I already have several categories and subcategories
- Nintendo (which is empty, contain just 2 subcategories)
--- Gamecube (which contain nintendo's gamecube pictures)
--- Wii (which contain nintendo's wii pictures)
- Sega (which is empty, just 2 subcategories)
--- dreamcast (which contain sega's dreamcast pictures)
--- saturn (which contain sega's saturn pictures)

So 2 categories which contain 2 subcategories each.

I created a third category which I called "member's pictures" (in the admin panel).
Now I would like each user be able to create their "main category" in member's pictures (which is already a main category).
For having this :
- Member pictures (which is empty)
---user1 (which is the "main category" of the user1 created thank to its UCP)
------nintendo pictures of user1 (which is a subcategory created with UCP by user1)
------sega pictures of user1 (...)
---user2 (which is the "main category" of the user1 created thank to its UCP)
------nintendo pictures of user2 (which is a subcategory created with UCP by user2)
------sega pictures of user2 (...)

To sum up, I'd like this :
- Nintendo
--- Gamecube
--- Wii
- Sega
--- dreamcast
--- saturn
- Member pictures
---user1
------nintendo pictures of user1
------sega pictures of user1
---user2
------nintendo pictures of user2
------sega pictures of user2

And not this :
- Nintendo
--- Gamecube
--- Wii
- Sega
--- dreamcast
--- saturn
- Member pictures
- user1
---nintendo pictures of user1
---sega pictures of user1
- user2
---nintendo pictures of user2
---sega pictures of user2

You think it's possible to do such a thing ?

Thanks a lot :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: User Control Panel, creating categorie somewhere else

Post by Jan »

Hi, no ... because of different security options, users can be owners only of main category, so there canno be subcategory as main category. You can create menu link to UCP called Members pictures (not category but only as link) and there users can create categories (only root categories as main categories :-( )


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