Page 1 of 1

Guest user registration

Posted: 28 Aug 2009, 02:52
by depl0y
I really love your image gallery and I am using it on the website where I post images of my kids (for family & friends).

I would like the site to be password protected and users to be able to request a username/password. I am now doing this with an external PHP script, which authenticates the users and then lets them continue to the correct page. This is of course not completely hacker-proof.

As there already is a user section in ImageVue, I would love to see that people could register themself via the script and that I could "approve" the users and allow them access to certain photo folders.

Posted: 28 Aug 2009, 04:32
by mjau-mjau
We already have plans to add a "password" feature to make gallery folders password protected. Not sure about any separate "registration" page though ... Can ´t you just set a password for a specific page and provide this password to your user?

Posted: 28 Aug 2009, 19:50
by depl0y
Problem is, not all these people are good with computers, they have an easier time to remember their own password than another password supplied by us :D.

If it is not possible, I will try to just write a script that edits the users file when a new user is approved. Is the password stored as MD5 in that file?

Posted: 31 Aug 2009, 05:12
by mjau-mjau
Well, it ´s not integrated yet, so I can ´t answer that yet. But how are you going to have it? A global link on the gallery page "apply for password here"? And then a page where they "sign up" for a password? To what folders do they get access?

Posted: 31 Aug 2009, 06:53
by Nick
depl0y wrote:If it is not possible, I will try to just write a script that edits the users file when a new user is approved. Is the password stored as MD5 in that file?
You can hack a script which will edit /imagevue/config/users.php, the structure is quite obvious and the passwords are stored as sha1 or md5 if sha1 is not supported (old php).