![]() |
|
login functionality - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: login functionality (/thread-9742.html) |
login functionality - edjusted - 2012-03-05 Is there a way to do this...say my gallery is at www.domain.com/zenphoto and I have a few albums, e.g. www.domain.com/zenphoto/2010-trip and www.domain.com/zenphoto/2011-trip When I'm finished creating an album, I mail the link to that specific album to my family/friends to make it easy for them to find. Right now, I have my users set up, and they can only login by going to the admin page, which is confusing for newbies. If they go directly to the urls above, they're asked for a password only, which doesn't work. I enabled the login-out plugin to try to fix this and now when they go to the urls above, it asks for a login and password, but none of their logins/passwords work. Their logins/passwords do work if they go to www.domain.com/zenphoto/admin, but then they have to go to the gallery again and find the proper album. Too many steps. Is there a way to make it so that all 3 direct urls above will push you to a proper (i.e. one that works) login page? login functionality - acrylian - 2012-03-05 Did you read this already? login functionality - edjusted - 2012-03-05 @acrylian: Hi, yes I have. I did set up a guest login and pw, but here's what happens:
login functionality - acrylian - 2012-03-05 I have no time to try that yet. My collegue sbillard is the login expert so will surely respond later. login functionality - sbillard - 2012-03-05 There is no difference between the login that occurs if you use the user login/out form with user field enabled or the back-end form. In fact, they are the exact same form. Enable the security logger and see what it reports of the login attempts. login functionality - edjusted - 2012-03-06 @sbillard: I created a new user called "bob" for testing. (note that bob is not an admin login) Here's what the security log shows
2012-03-05 17:19:45 166.250.xx.xx Guest login Failed (password!
2012-03-05 17:19:58 166.250.xx.xx Admin login bob Success zp_admin login functionality - sbillard - 2012-03-06 So you have both a guest user "bob" and an admin user "bob"? If so, the zenphoto "bob" will have to go to the admin pages to login. login functionality - edjusted - 2012-03-06 "Bob" is the only user name with that name. The admin has a completely different user name. But that's part of the problem: I've got 4 users and one admin, all with different names, and none of them can log in except via the admin login page. login functionality - sbillard - 2012-03-07 I simply cannot reproduce this. So probably there is some bit of information that is critical that you have left out. Perhaps a detailed step-by-step recounting with exactly what you see at each step. login functionality - lukasb - 2012-03-07 I can understand you, edjusted.. I have similar problem: wanted to have several users: Mary, John, admin ...only admin could enter admin mode admin-edit.php.. Mary would have her own albums, John would have his own albums... Mary could see only her albums ...I thought, Zen photo allows to have several user accounts - e.g. after login he can only add files, without entering admin mode admin-edit.php |