Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Kira_ on March 25, 2022, 01:56:12 PM

Title: Hide Attachs
Post by: Kira_ on March 25, 2022, 01:56:12 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=4315)

Restricts access to each individual attachment.

If the user is not in a group that is allowed to view the attachment, a warning about the unavailability of the attachment is displayed instead of the image or file name of the attachment.

When trying to download an attachment to which the user is denied access, an error message is displayed listing the groups to which access is allowed.
Title: Re: Hide Attachs
Post by: -Rock Lee- on May 02, 2022, 10:13:14 PM
I had some time and translated it, I'm catching up on my translations O:)!


Regards!
Title: Re: Hide Attachs
Post by: tratru on January 30, 2023, 04:06:15 AM
hi
an upgrade to the latest version is planned
Title: Re: Hide Attachs
Post by: -Rock Lee- on January 30, 2023, 06:06:32 PM
Quote from: tratru on January 30, 2023, 04:06:15 AMhi
an upgrade to the latest version is planned

It is already compatible with 2.1.x so you shouldn't have any problems but tell us what error you get.


Regards!
Title: Re: Hide Attachs
Post by: User2 on November 08, 2023, 05:12:04 AM
It is not installed on version 2.1.4.
Error: The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: Hide Attachs
Post by: Steve on November 08, 2023, 08:16:40 AM
It's not compatible with anything less than 2.1.x.
Title: Re: Hide Attachs
Post by: Diego Andrés on November 08, 2023, 09:08:30 AM
Quote from: User2 on November 08, 2023, 05:12:04 AMError: The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Emulate to install. In the package manager it will indicate you can install the package emulating 2.1.1

This is not updated but the info is still useful.
How can I install a mod that doesn't work in my SMF version? (https://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version)
Title: Re: Hide Attachs
Post by: User2 on November 13, 2023, 09:49:16 AM
In emulation mode, it shows an error.
Title: Re: Hide Attachs
Post by: Doug Heffernan on November 13, 2023, 10:02:26 AM
Quote from: User2 on November 13, 2023, 09:49:16 AMIn emulation mode, it shows an error.

You can add the edits for the filed file(s) manually.
Title: Re: Hide Attachs
Post by: User2 on November 13, 2023, 11:16:02 AM
I'm just a user, I'm not a web programmer or an SMF developer, how do I know where and what changes to make?
Title: Re: Hide Attachs
Post by: Doug Heffernan on November 13, 2023, 11:22:21 AM
Quote from: User2 on November 13, 2023, 11:16:02 AMI'm just a user, I'm not a web programmer or an SMF developer, how do I know where and what changes to make?

You can see what changes need to be made and where by either clicking that post icon next to the Add Before text, or by parsing the mod and looking at the edits there.

If you are not comfortable with making edits yourself, you can put in a paid/free request at our Help Wanted board. Or you can start learning how to do it for yourself.
Title: Re: Hide Attachs
Post by: Kindred on November 13, 2023, 11:26:10 AM
https://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: Hide Attachs
Post by: User2 on November 13, 2023, 12:25:32 PM
Quote from: Doug Heffernan on November 13, 2023, 11:22:21 AMOr you can start learning how to do it for yourself.
I'm busy with other things, of which I have a lot. I don't have the opportunity to study web programming.
Title: Re: Hide Attachs
Post by: Doug Heffernan on November 13, 2023, 12:32:55 PM
Quote from: User2 on November 13, 2023, 12:25:32 PMI'm busy with other things, of which I have a lot. I don't have the opportunity to study web programming.

I hear you. In that case, as mentioned previously, you can post for help at our Help Wanted (not for support) (https://www.simplemachines.org/community/index.php?board=50.0) board.
Title: Re: Hide Attachs
Post by: User2 on November 13, 2023, 12:37:40 PM
Let the developers write a solution to the problem in this topic. I asked a question in the topic that relates to this MOD.
Title: Re: Hide Attachs
Post by: Diego Andrés on November 13, 2023, 12:58:01 PM
The options would be
a) Author updating the MOD, this depends on the author availability or interest, everyone in here is just volunteering.
b) Using the parse to manually do the changes.

In this case since the author has not responded (yet), others are suggesting you to go route b.

Other than opening a new topic in that board Doug suggested, you could also attach said file for others to make the edit for you, so that your can upload it. However this implies three different situations:
a) Making the edit first, and then install the MOD with the error (it will skip it but you'd have it already).
b) Installing the MOD first, and then making the edit.
c) Editing the file to match what the instruction is looking for (looks like just a commented line), and then the MOD will install cleanly.

Regards