PDA

View Full Version : Can galleries be password protected?


PrimaPhoto
04-06-2008, 02:33 PM
Just a quick question and I may already know my answer, but can galleries be password protected?

Thanks you PP!

PrimaPhoto.

Dennis
04-06-2008, 05:31 PM
Yes they probably could. But the thing is that we don't have galleries. That makes it difficult.

We can also not password protect a post. Although we can write an addon for that.

eversonl
05-30-2008, 08:28 AM
how about password protecting a category?
is that possible via a plugin or is that a 'core' hack?
Thanks

criche
05-30-2008, 09:13 AM
hello,

i'm planning on such a thing : users can only see allowed categories.
- admin side
- create a "users" table,
- create a users/categories association table
- create a "users" pages : manage users and allowed categories
- modify categories page : manage allowed users

- front side
- add login : if login fails, only public categories are allowed
- navigation thru allowed categories only (browse, next/previous, tag by tag navigation ...)

So, I don't know if it's possible only by addon. Core pages modification is needed, IMO.

First, I plan to make modifications, and only AFTER try to export theses in an add-on.

btw, development will be long, because there's a life beside PP :)

eversonl
06-01-2008, 06:31 PM
Hi Criche,
Thanks that would be great! I found an addon written by austriaka+
you can see the original post here (http://www.pixelpost.org/forum/showthread.php?t=5642&highlight=private+addon)

It was written for 1.5 but may work with 1.7 given a few chnaged required to images_edit.php (but these are already documented in the readme) I am going to have a play, so will let you know how I get on with this

criche
06-01-2008, 08:27 PM
Hi,

Admin part is done. It's no yet an addon ...

I PMed to Austrakia+ and she mailed me her add-on. It's a good one (thanks, Austrakia+. My webmail is not very good and I don't remember if I did thank you So I do : thanks a lot !).
Austrakia+'s addon is a private access to a sub-folder of Images, protected by an htaccess generator. Good. But not enough for what I want : allow access user by user, category by category.