Search…

X3 Photo Gallery Support Forums

Search…
 
depl0y
Topic Author
Posts: 4
Joined: 27 Aug 2009, 16:36

Guest user registration

28 Aug 2009, 02:52

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.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

28 Aug 2009, 04:32

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?
 
depl0y
Topic Author
Posts: 4
Joined: 27 Aug 2009, 16:36

28 Aug 2009, 19:50

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?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

31 Aug 2009, 05:12

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?
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

31 Aug 2009, 06:53

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).
firedev.com