Gallery integration into aMember?
saschxd
Joined: 2002-09-24
Posts: 1 |
Posted: Tue, 2002-09-24 14:16 |
I would like to integrate Gallery into aMember (http://cgi-central.net/scripts/amember/) in a way that gallery should be able to read/use the log/pass used when signing up in aMember!!! thx in advance, saschxd |
|
Posts: 2
I am using amember too, and would really like to restrict gallery to logged in amember users only, but I'm only part way to figuring it out.
I am using Gallery 1.4.2. amember supports "php include" protection and .htpassword protection.
Gallery already uses .htaccess in its structure, and it would probably be too difficult to point amember to add information to each gallery (especially if you have loads of sections).
So I'm thinking of using the php include thing - However, I am trying to work out where to best put the include line... which needs to be at the top of each page in Gallery:
If any Gallery-knowledgable person or dev guru could possibly tell me where I can stick this line, it would really help. It's a hack, but it should work....
Also, I would need to add a standard .htaccess rule in the images directory, which would only allow gallery pages as the referrer for the image... so outside linking is impossible... (Or is this how it works already?).
Anyway, I've done quite a bit of research, if someone could just help me finish it off that would be great.
Alek.