Member
Member
Noppes   2010-10-04, 12:15
#1

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

Member
Member
sbillard   2010-10-04, 16:52
#2

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.

Member
Member
Noppes   2010-10-05, 02:32
#3

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?

Member
Member
Noppes   2010-10-05, 07:48
#4

Hi, I found a solution. I create in my Excel-Userlist the md5-Hash. Now I can populate directly my Administrator-Table.

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