printPasswordForm() without "I lost my password ..."?

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

Comments

  • acrylian Administrator, Developer
    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.
  • Which procedure is ingested to create a protected area for a group of people?
  • 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
  • acrylian Administrator, Developer
    There is, you can set a password on every album directly.
  • 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.
  • acrylian Administrator, Developer
    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
  • Oh! I didn't know that. OK, that's much better!
  • Just FYI, the 1.4.3 release will add a new "right" that will be required for a user to modify his credential information.
  • 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
  • $_zp_loggedin is the user rights for a Zenphoto user, so empty is correct for a guest login.
Sign In or Register to comment.