Attachment Improvements By Xon

Attachment Improvements By Xon 2.6.1

No permission to download

Xon

Well-known member
Xon submitted a new resource:

Attachment Improvements By Xon - A collection of improvements to XF's attachment system

A collection of improvements to XF's attachment system.
  • SVG support
  • Nginx's X-Accel-Redirect
  • New Permissions for forum/conversations (Respects global attachment size & count limits):
    • Attachment Size (kb).
    • Maximum Attachment Count.


SVG Support
Support for SVG attachments to be displayable as normal images.

Nginx X-Accel-Redirect (OPTIONAL)

Enables the use of Nginx's X-Accel-Redirect header feature for attachment serving.

This...

Read more about this resource...
 
Hi Xon... I got this error message when I click on install.
  • Invalid class: SV\AttachmentImprovements\XF\FileWrapper
  • Please enter a valid callback class.
 
Respects the global forum wide attachment size/count limits, with per-usergroup settings allowing smaller values.
If I only want to allow attachments in one forum, how do I set this?
 
If I only want to allow attachments in one forum, how do I set this?
The XF permission "can upload attachments" which is per-forum.

This just lets you limit attachments by size/count per-forum as well.
 
Hi Xon... I got this error message when I click on install.
  • Invalid class: SV\AttachmentImprovements\XF\FileWrapper
  • Please enter a valid callback class.
Try v2.0.1, I'm not 100% sure but I'v cleared out some non-updated files which may help. Please ensure you fully remove the old src/addons/SV/AttachmentImprovements folder and then re-upload the files.
 
The XF permission "can upload attachments" which is per-forum.

This just lets you limit attachments by size/count per-forum as well.
so I have to disable upload on all forums except the one?
 
Try v2.0.1, I'm not 100% sure but I'v cleared out some non-updated files which may help. Please ensure you fully remove the old src/addons/SV/AttachmentImprovements folder and then re-upload the files.

It works, thanks.
 
  • Like
Reactions: Xon
so I have to disable upload on all forums except the one?
You can not assign the permission by default, and then assign it for one forum. But that sort of permission configurations is beyond this add-on's support
 
Our situation may be unique, however we would love the ability to limit the number of attachments a member can post per thread.
 
@Xon
I'm so confused that if I only use AWS S3 to store attachment (internal_data). data folder will still be served as regular as I use CDN.
I'm not sure how to change config file and nginx file.
 
Top Bottom