We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

password protected gallery

Development and Programming

settinUpShop's avatar
settinUpShop
1 posts
20 years ago
settinUpShop's avatar settinUpShop

My client would like to make the gallery section accessable only to those who have logged in to the EE software.

Is this possible? and if so how should I go about doing this?

Thanks,

sus

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
20 years ago
Lisa Wess's avatar Lisa Wess

You could do this by making that gallery only available in templates that can be viewwed by a particular member group. Simply set up the gallery as normal then go into Templates and click Access on each of those templates and set it to the correct groups. You could then use conditionals to create links to those templates (ie {if logged_in} or {if member_group == "3"} etc….

       
Andy White's avatar
Andy White
18 posts
18 years ago
Andy White's avatar Andy White

This is great news for me, too. Can I run something past the forum, though, to see if this is do-able, or if I should look to set it up another way.

I am doing a website for a Photographer who wants to be able to easily upload, watermark, etc etc photographs for people for whom she has done shoots to view. I have literally only started playing with the Gallery module this morning, so I may be being more than a bit slow here, but is it possible to extend the password access restrictions to specific categories?

For example:

I have set up 2 galleries - one for her portfolio shots called, cunningly, ‘portfolio’, and the other for client shoots called ‘cl In client, I figured she could create a new category with its own folder for each shoot. So she may have gallery ‘cl with parent category ‘cl and sub category ‘andy_white’, if she had done a shoot for me, say. She then can batch uploads the photos from my shoot into my category and job done.

I can then get a user name and password from her so I can access the templates the client galleries are displayed by, and the URL to my category page, but, and here is the question, can I set it up logins so each one only accesses a particular category - ie mine only accesses the one for my shoot?

It’s possible I am being unrealistic, or maybe there is a better way to set the whole thing up. It’s the ease of use of the gallery that makes me want to use that over a weblog - the client is stressing about whatever it is she has as a solution being the easiset possible to use, and while locking down a category to specific users is not vital - the template lock down makes it good enough - it would be a nice touch.

Appreciate any ideas/help from anyone further down this track than me.

Cheers

       
running with scissors's avatar
running with scissors
147 posts
17 years ago
running with scissors's avatar running with scissors

i find my self in a similar situation as andy. would love to get some ideas on how to implement this in a way that would allow a single template to be able to handle multiple users that have access to individual galleries or gallery categories.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.