Please...I need help with subcatagories and user galleries

Phoca Gallery - image gallery extension
pixelhouse
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Jan 2009, 01:49

Please...I need help with subcatagories and user galleries

Post by pixelhouse »

Hi...I just downloaded Phoca and I'm very satisfied with the program but I came across some problems.

First off every time I assign a user to a particular gallery and the user user logs into their interface it also shows other users locked folder galleries on their page. The user can't view the locked folders only their own folder but is there any way the logged in user can just view their gallery folder and not any other folders (locked or not)?

Second, is there a way to assign users their own private folder gallery as soon as they sign up for access on my site? Or do I have to assign the user a private folder gallery every time a new user signs up for my account? I wish to implement my site by having new registered users the option to upload images to their private gallery folder as soon as they log in.

Third, is it possible to create sub categories?

Any help would be much appreciated. :D

Mike
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Please...I need help with subcatagories and user galleries

Post by Jan »

Hi, just set the rights and parameters

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

you can set in parameters if locked folder will be displayed or not.

- displayed - user who have no rights for the category can see the folder with the lock but cannot access it
- not displayed - user who have no rights for the category cannot see it not the folder with lock

2. You can create a link to user control panel where user is able to create one category and he can upload images into this category there or in categories tree... now on my localhost there is a version where user can create more categories and subcategories but this feature will take time to implement (because of security settings :-( )

Jan
If you find Phoca extensions useful, please support the project
pixelhouse
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Jan 2009, 01:49

Re: Please...I need help with subcatagories and user galleries

Post by pixelhouse »

Thanks for your quick reply. I'm just a little confused on how I can create a link to user control panel where user is able to create one category and he can upload images into this category there or in categories tree. Can you please explain in more detail on how I would go about doing this? Thanks Jan...hope to hear from you soon.

Mike
rakdrak
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 04 Oct 2008, 12:21

Re: Please...I need help with subcatagories and user galleries

Post by rakdrak »

Sub categories for users will be nice Jan. When we can expect this implementation?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Please...I need help with subcatagories and user galleries

Post by Jan »

No idea, it is now on my localhost but I think it will be released not in the comming version (there are a lot of security problems :-() so this will take a time :-( ... next problem is, I can add this behaviour but what if user will create a lot of subcategories, then there need to be option to edit them, publish, delete,etc... so the whole new framework for frontend need to be written :-(
If you find Phoca extensions useful, please support the project
DooSHeK
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 13 Mar 2009, 14:42

Re: Please...I need help with subcatagories and user galleries

Post by DooSHeK »

You can create a link to user control panel where user is able to create one category and he can upload images into this category there or in categories tree
but is there a way to do that when user create a new account the private folder/category is created automatically for this user?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Please...I need help with subcatagories and user galleries

Post by Jan »

Hi, no this need to be customized... This cannot be done in Phoca Gallery, becasue you can create account in Joomla! not in Phoca Gallery... While account is creating, Phoca Gallery doesn't run and cannot use any function to create category :-(

So customizing activation code need to be done.

Jan
If you find Phoca extensions useful, please support the project
DooSHeK
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 13 Mar 2009, 14:42

Re: Please...I need help with subcatagories and user galleries

Post by DooSHeK »

But I think It can be done through the plugin system in Joomla. Plugin that will add function that will trigger functions in Phoca gallery which are responsible for creating folders and categories in Phoca Gallery.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Please...I need help with subcatagories and user galleries

Post by Jan »

Hi, yes, you can customize it direct or you can create some system plugin which listen to the system and can change the behaviour of the system.

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