Member
Member
Wete   2012-02-24, 09:34
#1

Hi there,

another question from Wete's coming: As you know I use ZenPhoto for my musical society webpage. The musicians are allowed to see the internal section (the images with the beer etc.), and therefor I created a user account for all members. When s.o. enters the internal section, password.php askes for the login data, and there is the link to "I lost my password ...". Is it possible to blank out this line/link? I read the documentation for printPasswordForm() in template-functions.php, but there is no solution for this task. My users and guests should not have the possibility to initiate a password reset.

Wete

Administrator
Administrator
acrylian   2012-02-24, 10:40
#2

Try CSS. It is not exactly meant to have one account for several people. Any user should always have the ability to reset or change his password.

Member
Member
Wete   2012-02-24, 12:03
#3

Which procedure is ingested to create a protected area for a group of people?

Administrator
Member
Member
Wete   2012-02-24, 13:34
#5

OK, as I supposed, there is no feature for "password protected album" but for "album only accessable with special rights, defined for users". Then I think it is the best way to define one user for the group of people which is allowed to see the internal area and I have to hope that nobody klicks "I lost my password" just for fun ...

Wete

Administrator
Administrator
acrylian   2012-02-24, 13:43
#6

There is, you can set a password on every album directly.

Member
Member
Wete   2012-02-24, 13:59
#7

Yes, but not a password without a user - which is not the behaviour of "password protected" but of "user login requested". In my opinion, that are two different things.

Administrator
Administrator
acrylian   2012-02-24, 14:11
#8

Quote:User names and passwords for guest users are assigned by an administrator. The user name is optional.
http://www.zenphoto.org/news/an-overview-of-zenphoto-users#guest_users

Member
Member
Wete   2012-02-24, 14:13
#9

Oh! I didn't know that. OK, that's much better!

Member
Member
sbillard   2012-02-25, 02:45
#10

Just FYI, the 1.4.3 release will add a new "right" that will be required for a user to modify his credential information.

Member
Member
Wete   2012-02-25, 20:41
#11

I have just set .logon_link { display: none; } which is nor really good style neither safe in any way, but I think it's okay for preventing mischief. I also removed the user name - I think that makes it impossible to try to change the login data (?)

And a second question: the value for $_zp_loggedin is empty, even when I'm logged in with this guest account?

Wete

Member
Member
sbillard   2012-02-26, 02:31
#12

$_zp_loggedin is the user rights for a Zenphoto user, so empty is correct for a guest login.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.