Member
Member
Sam   2007-10-15, 00:21
#1

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

Member
Member
aitf311   2007-10-15, 00:39
#2

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

Member
Member
Sam   2007-10-15, 04:12
#3

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

Member
Member
aitf311   2007-10-15, 04:38
#4

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

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

Member
Member
Sam   2007-10-15, 04:49
#5

seems ok to me?

Member
Member
aitf311   2007-10-15, 12:52
#6

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.

Member
Member
kottobass   2007-12-05, 05:12
#7

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.

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