ZenphotoCMS Forum
Multi-user Zen - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Multi-user Zen (/thread-1702.html)



Multi-user Zen - Sam - 2007-10-15

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 :-)




Multi-user Zen - aitf311 - 2007-10-15

Awesome idea, and thank you very much for sharing but I cannot create an account on your test site. I keep getting email taken.




Multi-user Zen - Sam - 2007-10-15

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




Multi-user Zen - aitf311 - 2007-10-15

Made an account, logged in, uploaded an image, clicked view gallery...

There is no image showing up and the users list is blank.




Multi-user Zen - Sam - 2007-10-15

seems ok to me?




Multi-user Zen - aitf311 - 2007-10-15

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.




Multi-user Zen - kottobass - 2007-12-05

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.