Page 1 of 1

Automatically create folders for new user

Posted: 31 Oct 2011, 13:44
by pasha4ur
Hello

I want to create a multi-blogs. PhocaGallery be used as a gallery. Now I use 2.7.4 vers

There is a problem in that users can create galleries category in the main directory. Accordingly, there is a problem with grouping of categories and folders.

Needs to be done so that would be the first time a user logs into the control panel user PhocaGallery default it created:
- A subcategory in the main category: "users/$ login";
- The user's folder in the the home folder: "images/phocagallery/$userid"?
As a result, the user can create categories and subcategories only in its category.

I look forward to your help.

Thank you!

Re: Automatically create folders for new user

Posted: 02 Nov 2011, 01:03
by Jan
Hi, search this forum, there are similar posts. The creation of folder while user is registering needs to be customized on Joomla! login code, because registering or logging does not run any part of Phoca Gallery so this cannot be done in Phoca Gallery :-(

Jan

Re: Automatically create folders for new user

Posted: 03 Nov 2011, 19:29
by pasha4ur
Hello
Thank you for your answer.

I found how automate create a folder for user by ID. Through editor JCE. But I didn't found how make that Phoca's gallery will use it for uploading image for current user in the folder by his id

Re: Automatically create folders for new user

Posted: 09 Nov 2011, 19:05
by pasha4ur
:)