Page 1 of 1
Please...I need help with subcatagories and user galleries
Posted: 16 Jan 2009, 02:15
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.
Mike
Re: Please...I need help with subcatagories and user galleries
Posted: 17 Jan 2009, 01:02
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
Re: Please...I need help with subcatagories and user galleries
Posted: 18 Jan 2009, 08:36
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
Re: Please...I need help with subcatagories and user galleries
Posted: 18 Jan 2009, 15:11
by rakdrak
Sub categories for users will be nice Jan. When we can expect this implementation?
Re: Please...I need help with subcatagories and user galleries
Posted: 20 Jan 2009, 01:30
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

Re: Please...I need help with subcatagories and user galleries
Posted: 13 Mar 2009, 14:54
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?
Re: Please...I need help with subcatagories and user galleries
Posted: 14 Mar 2009, 00:43
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
Re: Please...I need help with subcatagories and user galleries
Posted: 14 Mar 2009, 12:41
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.
Re: Please...I need help with subcatagories and user galleries
Posted: 14 Mar 2009, 19:19
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