News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Thanks for SMF 2.1

Started by GL700Wing, May 19, 2022, 07:25:39 PM

Previous topic - Next topic

GL700Wing

Quote from: jasland on March 20, 2025, 06:16:48 AMGood morning.
Could you enable the option to disable thank yous?
I mean after thanking, that the thank you can't be removed.
Regards.
Hmm  - should be easy enough to do using a mod setting (or maybe even membergroup permissions) - give me a couple of days ...
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

GL700Wing

Version 1.6 - 23-Mar-25
1.6 - 23-Mar-25
o As per this request by @jasland added 'unthank' permission.


Note: There is an upgrade option for all previous versions of this mod.
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

jasland

Thank you very much, but it doesn't work properly. To get the "unthank" option to appear, you have to refresh (f5). Also, if a category in a lower-count group has permission to unthank, all the higher-count groups also have it.
And if it's in a lower-count group that doesn't have permission to unthank, the "thank" option won't appear either.

I hope I made myself clear.

Thank you.

GL700Wing

#43
Quote from: jasland on March 23, 2025, 05:49:34 AMThank you very much, but it doesn't work properly. To get the "unthank" option to appear, you have to refresh (f5).
Okay - I have a bit more work to do on the refresh stuff ...

QuoteAlso, if a category in a lower-count group has permission to unthank, all the higher-count groups also have it.
You need to be aware that permissions are cumulative (ie, if any membergroup a member belongs to allows an action they will be allowed to do the action even if that action is disallowed for another membergroup they belong to) so if you want to absolutely prevent a membergroup from using 'unthank' you'll need to enable the option 'Enable the option to deny permissions' in 'Administration Center -> Permissions -> Settings' and then enable 'Deny' for the unthank option for that membergroup.

QuoteAnd if it's in a lower-count group that doesn't have permission to unthank, the "thank" option won't appear either.
OK - I'll look into this ...
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

GL700Wing

@jasland
Updated v1.6 to fix the refresh issue.
You cannot view this attachment.

As for permissions you'll have to either enable and implement deny permissions for individual membergroups/post-count based groups or work out what combination of disallow permissions you need for regular membergroups and post-count based groups.


Note: No upgrade available for the v1.6 package I released yesterday - if you still have it installed you'll need to uninstall the mod before you can install this version.

Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

jasland

Thanks for the work
I'm sorry to say this but
The link to thank users exists, but clicking it does nothing, except for those who also have unthank enabled.

regards

GL700Wing

Quote from: jasland on March 24, 2025, 05:56:41 AMThanks for the work
I'm sorry to say this but
The link to thank users exists, but clicking it does nothing, except for those who also have unthank enabled.

regards
Ok - I'm getting closer but it's late at night here so I will look at it again tomorrow.
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

GL700Wing

Quote from: GL700Wing on March 22, 2025, 11:43:03 PMVersion 1.6 - 23-Mar-25
1.6 - 23-Mar-25
o As per this request by @jasland added 'unthank' permission.


Note: There is an upgrade option for all previous versions of this mod.

Fixed minor issue with 'unthank' not always working as expected - Version 1.6 now available.
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Advertisement: