Limit Number Of Albums Limit Number Of Albums
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Limit Number Of Albums

Started by ddiamant, January 13, 2008, 09:02:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ddiamant

Hello Forum Members,
I've been configuring CPG for the past couple of weeks, have read the docs, spent hours in the forums, etc. I have created a free gallery section for registered users at my site.

I'd like to know if there's a way to restrict registered users to allow the creation of 1 album per user only.  I'd like them to be able to create 1 album and have the ability to upload approximately 10 photos to the album they create.  I understand the number of photos will be determined by the variables I set in the admin config page.  If I can restrict each user to 1 album that will satisfy my concerns about disk space conservation over a long period of time as more users sign up.

Best wishes, and thank you for this wonderful gallery.

Diana

Joachim Müller

I'm not aware of a hack that allows you to specify only one album, nor is there a hack that allows you to restrict user to a certain number of uploads. What's wrong about the group quota? It will do exactly what you're up to: restrict webspace usage.

ddiamant

Hello Joachim,

Thank you for the information.  I'll do some calculations to determine approximately how many images correspond to a quota I will set in the group quota section.  I saw in my research at your CPG forums the "formula" for dertiming this information, so I'll find it again and see if it helps.  If I remember, the "formula" is only a guide for an estimation, and depends on other user-determined actions.  But it doesn't have to be exact.  I just want to make sure that my server doesn't end up with all its disk space allocated to gallery images.

I'll include instructions on the registration page stating that although users can create multiple albums, the number of images in each album will be limited by the group quota value.

Thank you for the excellent contribution to the open-source community.

Diana