Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Sesquipedalian on March 18, 2019, 05:25:12 AM

Title: Unlimited Attachments Permission
Post by: Sesquipedalian on March 18, 2019, 05:25:12 AM
Link to the mod (https://custom.simplemachines.org/index.php?mod=4215)

Unlimited Attachments Permission

A modification for SMF 2.1 that adds a permission to allow membergroups to post attachments on a given board without any limits on their number, size, or file extensions.


Settings

Adds an "Exempt from attachment limits" permission to the board permission profiles available in Administration Center ► Permissions ► Edit Profiles. The permission can be granted to any given membergroup in any given permission profile.

The permission is always enabled for administrators.


License

Unlimited Attachments Permission is released under the MIT License. A full copy of this license is included in the package file.


Changelog

Version 1.2:

Version 1.1:

Version 1.0:
Title: Re: Unlimited Attachments Permission
Post by: ORIONzitos on March 20, 2019, 08:21:06 AM
PT-BR Translation \o  8)

Total of Translations: 6
Title: Re: Unlimited Attachments Permission
Post by: -Rock Lee- on March 20, 2019, 08:55:08 AM
Thinking vaguely something, can not this bring some kind of problem if for example the user uploads malicious things? ... I leave the translation to Latin Spanish.


Regards!
Title: Re: Unlimited Attachments Permission
Post by: Sesquipedalian on March 23, 2019, 04:43:52 PM
Quote from: Rock Lee on March 20, 2019, 08:55:08 AM
Thinking vaguely something, can not this bring some kind of problem if for example the user uploads malicious things?

That's why this is set up as a permission. It should only be granted to groups that can be trusted not to break anything.
Title: Re: Unlimited Attachments Permission
Post by: Sesquipedalian on March 23, 2019, 04:49:07 PM
Quote from: ORIONzitos on March 20, 2019, 08:21:06 AM
PT-BR Translation \o  8)

Total of Translations: 6
Quote from: Rock Lee on March 20, 2019, 08:55:08 AM
I leave the translation to Latin Spanish.

Thank you both. I've added your translations in version 1.1. :)
Title: Re: Unlimited Attachments Permission
Post by: @rjen on February 28, 2022, 10:48:50 AM
Attached the language file for dutch
Title: Re: Unlimited Attachments Permission
Post by: Sesquipedalian on March 01, 2022, 11:34:27 AM
Thanks, @@rjen. I will add that to the package and post an update soon.
Title: Re: Unlimited Attachments Permission
Post by: DeadMan... on March 04, 2023, 10:33:39 PM
Not sure if found a bug or not.

When go to post, and want to attach a file, I see this:

SMF_Max_Attachments.png

As can see, no attachments there yet, and plenty of space and attachment numbers to go.

Funny thing is, I can upload and post, so not sure what it telling me that I reached the max number of attachments yet letting me upload/post, is all about.
Title: Re: Unlimited Attachments Permission
Post by: Aleksi "Lex" Kilpinen on March 05, 2023, 12:37:44 AM
That's an SMF bug I think, already reported here False message that the allowed number of attachments has been exceeded. (https://www.simplemachines.org/community/index.php?topic=584965.0)
SMF doesn't understand the word unlimited, and thinks if you offer unlimited diskspace you are a con artist. :P
Title: Re: Unlimited Attachments Permission
Post by: Sesquipedalian on March 05, 2023, 01:41:25 AM
Quote from: Aleksi on March 05, 2023, 12:37:44 AMThat's an SMF bug I think, already reported here False message that the allowed number of attachments has been exceeded. (https://www.simplemachines.org/community/index.php?topic=584965.0)

This is correct. The fix for this SMF bug has been submitted as part (https://github.com/SimpleMachines/SMF/pull/7676/commits/2d1e63f39fda5839611f787508114524bd80da2c) of #7676 (https://github.com/SimpleMachines/SMF2.1/pull/7676), which is scheduled for inclusion in SMF 2.1.4.
Title: Re: Unlimited Attachments Permission
Post by: DeadMan... on March 05, 2023, 05:17:27 AM
Quote from: Aleksi "Lex" Kilpinen on March 05, 2023, 12:37:44 AMThat's an SMF bug I think, already reported here False message that the allowed number of attachments has been exceeded. (https://www.simplemachines.org/community/index.php?topic=584965.0)
SMF doesn't understand the word unlimited, and thinks if you offer unlimited diskspace you are a con artist. :P

Quote from: Sesquipedalian on March 05, 2023, 01:41:25 AMThis is correct. The fix for this SMF bug has been submitted as part (https://github.com/SimpleMachines/SMF/pull/7676/commits/2d1e63f39fda5839611f787508114524bd80da2c) of #7676 (https://github.com/SimpleMachines/SMF2.1/pull/7676), which is scheduled for inclusion in SMF 2.1.4.

Go figure. I'd originally posted in support, then figured out it was only when had this mod installed that got message, so posted here instead. Oh well.... LOL
Title: Re: Unlimited Attachments Permission
Post by: Sesquipedalian on March 05, 2023, 11:12:21 AM
No worries. :)