[SOLVED] Require login

bx3

Joined: 2013-10-04
Posts: 2
Posted: Fri, 2013-10-04 03:25

Hi, I've been working on setting up a family photos website with Gallery 3, is there a way to show only a login page at the begining and once users are logged in they can see the rest of the website?
Thanks

 
bx3

Joined: 2013-10-04
Posts: 2
Posted: Fri, 2013-10-04 03:28

Never mind, i figured it out, i just needed to set the permissions on the parent (default) album.

Thanks anyways

 
spags

Joined: 2010-03-26
Posts: 120
Posted: Fri, 2013-12-13 11:53

Just a tip - you may find that at some stage you will want to have a public access area but still have the family photos private. There are probably modules to assist in this but there is also a purely permissions way to do it.

Just leave the root album with the unrestricted permissions and create both a "public" and "private" album under the root album. For the "private" album, restrict its permissions and then put all the family photos within it. You would probably want to set this up sooner rather than later (and to give yourself a chance to experiment and confirm what it does).

Whenever you have a generic image you want anyone to be able to see, you can then put it in the "public" album for all to see.

The only "disadvantage" is that registered users will need to remember to login to see the "private" album, but hopefully it's pretty obvious by the fact that only the "public" album is shown.