I really like the simplicity of zenphoto, but thought a multi-user version would be very nice to have. I looked around but couldn't find much by way of a multi-user version, so I modified the code a bit to support multiple users. You can download a tarball at
http://www.creativejoos.com/ and see a working version at
http://www.movemberdiaries.com/ (a little test bed site I set up).
Some of the fundamental changes:
- no more admin username/password in zp-config, authentication is now MySQL based.
- distinction between a normal user and an admin user
- new registration section of the admin.php file
- each user gets one album to upload photos to
- basic users can't delete/edit comments or change the theme
- basic users can't delete/edit anyone else's album/photo
I think that's all, off the top of my head.
I did it quite quickly, and while I think I understand how user authentication and general security works, I can't vouch that all my work is hole proof, so use at your own risk.
If it's useful let me know :-)
Comments
http://www.creativejoos.com/code/multi-user-zen-1.0.8.2.tar.gz
There is no image showing up and the users list is blank.