[XB] Attachment Constraints Permissions

[XB] Attachment Constraints Permissions 2.0.3

No permission to buy ($10.00)
  • Added an optional dimension check for avatars and profile banners supplied outside standard upload forms (disabled by default)
  • Added an optional setting to use the server's maximum upload size when no file size limit is configured (disabled by default)
  • Improved upload limit handling to never exceed the server's maximum upload size
  • Improved image dimension validation to account for EXIF rotation
  • Improved upload hints for attachments, avatars, profile banners, and videos, including:
  • Preserved the recommended image size hint on the profile banner form
  • Updated permission lists to display attachment width before height
  • Fixed oversized images being rejected instead of resized when dimension rejection is disabled
  • Fixed forum attachment limits not correctly falling back to general attachment permissions when configured
  • Fixed unlimited attachment size and count permissions not being respected when forum permission fallback is disabled
  • Fixed video upload limits being overridden when no custom media size permission applies
  • Fixed media size limits not being enforced for audio uploads
  • Fixed avatars and profile banners being restricted by attachment limits when no specific limits are configured
  • Fixed avatar and profile banner limits being applied when staff edit another member's images
  • Fixed dimension rejection settings affecting uploads handled by other add-ons
  • Fixed upload hints displaying incorrect limits or appearing when the corresponding upload type is unavailable
  • Fixed unclear errors when images exceed width-only or height-only limits
Fixed template modification apply on XF 2.3.10
Feature: show max image dimensions and hide max video size if it's same as max attachment size
2.0.1:
Added option to reject image uploads larger than allowed
Fixed displaying video upload limits even if they are disabled
Fixed incorrect attachment size calculation with "Permission-based limits behavior" option enabled
Changed add-on title (but not add-on id)
Added node-based attachment constrains permissions (for posts)
Added max attachment count permission (also node-based for posts)
Added permission behavior option if user has no content (node) related permissions
Don't allow unlimited permissions (will be applied options value if unlimited permission set)

7.webp


8.webp
Added permission to configure max image dimensions (own per upload type)
Add max upload size hints

Attachments

  • 3.webp
    3.webp
    12.5 KB · Views: 118
  • 5.webp
    5.webp
    23.9 KB · Views: 121
  • 6.webp
    6.webp
    18.2 KB · Views: 108
Back
Top Bottom