Multi-user Zen

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

  • Awesome idea, and thank you very much for sharing but I cannot create an account on your test site. I keep getting email taken.
  • Sam Member
    My bad, should be sorted now. Also, not sure if I just forgot to put the full path to the tarball, or if it got chopped, but here it is again. Re-tarballed it after the changes.

    http://www.creativejoos.com/code/multi-user-zen-1.0.8.2.tar.gz
  • Made an account, logged in, uploaded an image, clicked view gallery...

    There is no image showing up and the users list is blank.
  • Sam Member
    seems ok to me?
  • Well thats probably because you are the admin, regular users do not get the user list or anything to see (ie: images) on the index after they have uploaded an image.
  • Hi, can you repost the multi-user zenphoto on the site? The one you have on seems corrupt. I'm interested to help with the development. If you can, also email me a copy to kotto_bass at yahoo dot com.
Sign In or Register to comment.