Private home page, private gallery,private album for each user

squid96

Joined: 2013-10-05
Posts: 14
Posted: Wed, 2013-10-16 15:18

Hi,

How can we create one user, one gallery with private albums viewable only for this user ?
In fact i want each user to have his own gallery and his own album, his own pages....

Thanks

 
dkerlee
dkerlee's picture

Joined: 2005-06-09
Posts: 50
Posted: Wed, 2013-10-16 21:23

Update the security settings on each album.
From the pop-up menu on the gallery, select Edit Permissions.
uncheck Everybody>view, full size, edit, add
uncheck registered users> all four
check <username> all four.

I think the permissions inherit to future albums created by that user. Or, the sub-albums automatically inherit their permissions from the parent album. Mouse over the icons and it will tell you why/where they got their permissions.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-10-16 22:46
 
squid96

Joined: 2013-10-05
Posts: 14
Posted: Thu, 2013-10-17 12:59

Ok.Let me try

 
squid96

Joined: 2013-10-05
Posts: 14
Posted: Thu, 2013-10-17 13:44

OK.Now I have something which I would like.The users auto album are private only if I use the settings u gave me.But from each user session, when I create a new album, I have in the form , 'username' and 'password' and 'confirm password' What is this about ? whatever I do, I have the error message below and the album is not created :

%3Cform%20action%3D%22/archivage/index.php/albums/create/1%22%20method%3D%22post%22%20id%3D%22g-add-album-form%22%3E%0A%3Cinput%20type%3D%22hidden%22%20name%3D%22csrf%22%20value%3D%22dcc97212e0fff6f7781e6b8acdbc76af%22%20%20/%3E%20%20%3Cfieldset%3E%0A%20%20%20%20%3Clegend%3EAdd%20an%20album%20to%20Gallery%3C/legend%3E%0A%20%20%20%20%3Cul%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22title%22%20%3ETitle%3C/label%3E%0A%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22text%22%20name%3D%22title%22%20value%3D%22almbum1%22%20class%3D%22textbox%22%20%20/%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22description%22%20%3EDescription%3C/label%3E%0A%20%20%20%20%20%20%20%20%3Ctextarea%20name%3D%22description%22%20rows%3D%22%22%20cols%3D%22%22%20class%3D%22textarea%22%20%3E%3C/textarea%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22name%22%20%3EDirectory%20name%3C/label%3E%0A%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22text%22%20name%3D%22name%22%20value%3D%22almbum1%22%20class%3D%22textbox%22%20%20/%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22slug%22%20%3EInternet%20Address%3C/label%3E%0A%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22text%22%20name%3D%22slug%22%20value%3D%22almbum1%22%20class%3D%22textbox%22%20%20/%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22submit%22%20value%3D%22Create%22%20class%3D%22submit%22%20%20/%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%3C/ul%3E%0A%20%20%20%20%3Cinput%20type%3D%22hidden%22%20name%3D%22type%22%20value%3D%22album%22%20%20/%3E%0A%20%20%3C/fieldset%3E%0A%20%20%3Cfieldset%3E%0A%20%20%20%20%3Clegend%3Ealbum%20privacy%20settings%3C/legend%3E%0A%20%20%20%20%3Cul%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Clabel%3E%3Cinput%20type%3D%22checkbox%22%20id%3D%22uh_private%22%20name%3D%22private%22%20value%3D%221%22%20class%3D%22checkbox%22%20checked%3D%22checked%22%20onClick%3D%22pc%28%29%22%20%20/%3E%20Private%3C/label%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%3Cli%20class%3D%22g-error%22%3E%0A%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22username%22%20%3EUsername%3C/label%3E%0A%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22text%22%20id%3D%22uh_username%22%20name%3D%22username%22%20value%3D%22kouame%22%20class%3D%22textbox%22%20%20/%3E%0A%20%20%20%20%20%20%20%20%3Cp%20class%3D%22g-message%20g-error%22%3E%0A%20%20%20%20%20%20%20%20%20%20There%20is%20already%20a%20user%20with%20that%20username%0A%20%20%20%20%20%20%20%20%3C/p%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22password%22%20%3EPassword%3C/label%3E%0A%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22password%22%20id%3D%22uh_password%22%20name%3D%22password%22%20value%3D%22qwerty%22%20class%3D%22password%22%20%20/%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22password2%22%20%3EConfirm%20password%3C/label%3E%0A%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22password%22%20id%3D%22uh_password2%22%20name%3D%22password2%22%20value%3D%22qwerty%22%20class%3D%22password%22%20%20/%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%3C/ul%3E%0A%20%20%3C/fieldset%3E%0A%3Cscript%20type%3D%22text/javascript%22%20src%3D%22http%3A//www.enligne-ci.net/archivage/modules/user_homes/js/user_homes_add_album.js%22%3E%3C/script%3E%0A%3Cscript%20type%3D%22text/javascript%22%20src%3D%22http%3A//www.enligne-ci.net/archivage/modules/gallery/js/albums_form_add.js%22%3E%3C/script%3E%0A%3C/form%3E

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2013-10-17 13:51

That was the user_homes module?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
squid96

Joined: 2013-10-05
Posts: 14
Posted: Thu, 2013-10-17 13:53

It is like users can not create new album

 
squid96

Joined: 2013-10-05
Posts: 14
Posted: Thu, 2013-10-17 14:02

Yes

 
squid96

Joined: 2013-10-05
Posts: 14
Posted: Thu, 2013-10-17 14:49

How can an user create a new album ?
See the attachment on what I have here.
Also thanks very much.I will donate.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2013-10-18 15:35

I tried the user homes module and it seems to work for me. It does not work for old users so you will have to delete /create users over again as far as I can tell.

I will try to update the documentation to show how it works as the docs are sparse.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team