![]() |
|
Maximum number of images and galleries per user - 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: Maximum number of images and galleries per user (/thread-12252.html) |
Maximum number of images and galleries per user - davidpb - 2018-05-19 Hello to the community! The need is to have (or permit to set) only 1 album per user with a max of 10 images per user in that album. Thanks in advance to all, Maximum number of images and galleries per user - acrylian - 2018-05-19 Take a look at this included plugin: http://www.zenphoto.org/news/quota_manager/ Maximum number of images and galleries per user - davidpb - 2018-05-19 Thank you acrylian for quick response! Thanks again! Maximum number of images and galleries per user - acrylian - 2018-05-19 Sorry, I admit I haven't used this for some time myself. It is need only a size quote which you can also set on each user accout individually. There is an actually unsupported plugin for this task: http://www.zenphoto.org/news/image_upload_limiter/ Maximum number of images and galleries per user - davidpb - 2018-05-19 Thank you! Maximum number of images and galleries per user - acrylian - 2018-05-19 Let me know if it still works. Maximum number of images and galleries per user - davidpb - 2018-05-19 Malte, unfortunately image_upload_limiter does not work. It cannot be activated (checkbox is hidden) and it says that quota_manager is already active. Even though I can set up number of images per album and avoid new album creation, it seems not working. User has no limit on images...and album also. This is the end? :-) Thanks for your interest, Maximum number of images and galleries per user - acrylian - 2018-05-19 I can only suggest to disable the quota_manager. Quote/size limiting and image number limiting are different concepts so that might be the reason those don't work together. Maximum number of images and galleries per user - davidpb - 2018-05-19 Wait a second... it seems working without quota manager. Great! Maximum number of images and galleries per user - acrylian - 2018-05-19 Yes, if you just like to prevent that people upload huge files then that is the best. The quota_limiter actually limits the max size allowed per album in total, not the limit per file upload itself Maximum number of images and galleries per user - davidpb - 2018-05-19 Hi! It seems working but taking a look at debug tab, it prints this: EXCEPTION (8192): Methods with the same name as their class will not be constructors in a future version of PHP; uploadlimit has a deprecated constructor in /home/accanew/public_html/gall/plugins/image_upload_limiter.php on line 33 require_once called from require_once (load_objectClasses.php [35]) from require_once (functions.php [33]) from require_once (admin-functions.php [8]) from require_once (admin-globals.php [15]) from admin-logs.php [8] Should I make some corrections at the given lines or can I safely ignore it? Thanks for your great support! Maximum number of images and galleries per user - acrylian - 2018-05-19 Yes, that is a common warning on newer PHP versions, it does nothing currently besides warning. But quite easily fixed. Get the new version here mile: https://www.zenphoto.org/news/image_upload_limiter/ (note: new url to download!) Maximum number of images and galleries per user - davidpb - 2018-05-19 This is awesome!!! Thank you Malte. I hope this thread will help other users. |