Import User with password

Hi,

I use a zenphoto/zenpage installation. Now I would like to import a bunch (about 250 User) of new users from a textfile to the zp_administrator table. The import works fine, but I have a problem with the passwords. I would like to give every user a default password. How can I generate this password 'offline'? For my part they can have all the same password, but does someone know how to create the password?

Thanks for your help

Noppes

Comments

  • Well, you have not said how you did the import. If you are just populating the administrators table you have a small problem. Passwords are not stored at all for security reasons.

    If you use the Zenphoto administrator object, then you just set use the setPassword() method.
  • Thanks for your answer. I thought I can just populatung the administrators table. Or is there a script available to do this with the zenphoto function?
  • Hi, I found a solution. I create in my Excel-Userlist the md5-Hash. Now I can populate directly my Administrator-Table.
Sign In or Register to comment.