Hi,
A couple of questions:
where can I find the code to modify to send a custom message when a user requests a new password? I have been through pretty much every file and cant see the wood for the trees....
using 'queueSizeLimit': '', in admin upload I can set a maximum number of images for a user to upload. is there anyway of "locking" an album so once a user has uploaded their limit they have to delete images before they can add more?
Thanks in advance
S
I believe the correct lines are in zp-core/auth_zp.php lines 139-140. I think that, currently, the only way to edit the message is to manually edit those lines.
A good way to do this is to set queueSizeLimit dynamically based on how many images are currently in the album. To find out how many images are in a user's album, you can use Zenphoto functions (or even a filesystem call if you have a way of determining the user's directory name).
So if you have the maximum number of images per album defined, you can do something like:
queueSizeLimit = MAX_IMAGES_PER_ALBUM - $currentUserNumImages;
You got the direction that you need to hack the admin upload with an extra check for hte max number of images (hacking is of course not really recommended for obvious reasons). Since nothing for this exists and you say you know nothing about php you will probably not be able to do this.