Posted on: 12/08/04 10:33pm
By: Anonymous (Mel)
I have a website with Gallery Installed.v1.4.4-pl4 (installed at www.mysite.com/gallery/)
I've just installed GL into the root of the website (www.mysite.com)
I went back and re-configured Gallery to work embedded in GL - no problem.
My site is just for family members - anonymous browsers dont get nothin... gotta login.... except that if you go directly to www.mysite.com/gallery - there's all my photo albums hanging out there.
How do I integrate Gallery (and other pages/programs/etc.) into GL so GL manages the visibility?
The site isnt going to be a blog or news site - I'm not using the topics. It's going to be a website that our (extended) family can go and look at (and upload) family photos, post on the message board, look at geneology info, etc.
I'm just using the CMS to manage the Users. Right now I have a clunky .htpasswd set up that forces a userID / password, but I'd rather have a little more elegant solution, and I think GL will work well for us.
...but I need a way for GL to integrate into all the pages/programs I use (Gallery, a geneology php proggie, several static pages/folders/sub-sites, etc.)
Suggestions?
Mel
User Management w/Gallery etc.
Posted on: 12/08/04 11:00pm
By: Blaine
If gallery does not have a setting to disable anonymous viewing then you will need to add code at the top of each public accessible program to check the user permissions.
Check that gallery does not allready have the permission logic. If the user logs into GL then they should be authenticated with Gallery and have the user and album permissions assigned by gallery for the member.
User Management w/Gallery etc.
Posted on: 12/09/04 09:46am
By: Anonymous (Mel)
[QUOTE BY= Blaine] you will need to add code at the top of each public accessible program to check the user permissions.[/QUOTE]
This did the trick.
Downloaded External Pages from GPlugs - works great.
Gallery is hidden from everyone but logged in users now.
Thanks.
Mel