News:

Join the Facebook Fan Page.

Main Menu

Say Thanks

Started by kelvincool, August 30, 2014, 05:16:29 PM

Previous topic - Next topic

kelvincool

That's weird, I've tried it on my local and it works fine:

You cannot view this attachment.

I can see in your screenshot the say thanks button itself is in the right encoding so very confused why the other text is incorrect.

Two things to try, see if the same thing happens for the default theme, secondly try uninstalling and re-installing the mod.

Butiks

#541
Hello.
Can standard "likes" counts be transferred to "Say Thanks" mod?

There is a very interesting function "saythanks_hide_thanked"!
But in order for this function to be in demand on the forum, you must have a limit of "thanks per hour" (or "thanks per day").

Dear kelvincool, can you add a thank you time limit feature?

kelvincool

Running this query will transfer likes to say thanks. Obviously ensure to backup and test locally first. Need to change the prefix smf_ of the tables to whatever you have set it to.

INSERT INTO `smf_messages_thanks` (id_member, id_msg, date_thanked) SELECT id_member, content_id, like_time FROM `smf_user_likes` a WHERE content_type = 'msg' AND NOT EXISTS (
  SELECT *
  FROM `smf_messages_thanks` AS b
  WHERE a.content_id=b.id_msg AND a.id_member=b.id_member
)

Regarding your suggestion, I can certainly look into it.

ateofilo

Hello @kevincool

Is it possible to have the "list of users who have thanked the post" listed in order of time of thankyou occurrence?
Maybe with an administrative option to select that order, or the current order (should be the order in the table...)

Thanks for this very useful mod.

kelvincool

@ateofilo that should be possible, I will add it to the list of feature requests.

kelvincool

@Butiks time limit feature is now available in v2.5.0

CMBurns

Hi @kelvincool
I found out about a major issue recently: when showing thanks in the user profile, the user rights aren't respected. If a user clicks on my profile, checks for any TYs I've given in the past, he'll also be able to see internal posts, it just needs a thank you on it.
I updated to the latest version, but it still shows the same behaviour.

kelvincool

@CMBurns Thanks for reporting that bug, this has now been fixed in v2.5.1.

To be honest I am considering removing this feature in the next release, not sure anyone finds those two pages useful.

Steve

DO NOT pm me for support!

CMBurns

Quote from: kelvincool on August 15, 2023, 03:53:51 PMTo be honest I am considering removing this feature in the next release, not sure anyone finds those two pages useful.

I removed them after I noticed the issues. Our users weren't very happy about it. That's a +1 for keeping them.


CMBurns

The patch is installed and works fine. Huge thanks for fixing it that quickly.

kelvincool

v2.6.0 now released, can choose how to order the list of thanks.

Steve

Looks like it's working like a charm.  ;D
DO NOT pm me for support!

artvolt

Hello. After the forum was transferred to a new hosting, the mod stopped working - the posts had the message "Class 'SayThanks' not found" and the content of the posts was not shown because of this. I deleted the mod and installed it again. But now the service text of the mod began to appear at the top of the forum (I attach a photo). Please help me set up the mod, because everything worked correctly on the old hosting. Forum version 2.0.17.


SMF Forum - "Art Cafe" - https://art-cafe.info/

kelvincool

Can you find and attach this file:

Themes\default\languages\Modifications.russian.php

Perhaps it is missing the php tags. Also does it do this if you switch to english?

artvolt

Quote from: kelvincool on January 14, 2024, 04:33:00 PMCan you find and attach this file:

Themes\default\languages\Modifications.russian.php

Perhaps it is missing the php tags. Also does it do this if you switch to english?

I am attaching the file "Modifications.russian-utf8.php" . The mod menu is immediately displayed in English by default, and the "thank you" button in posts is also in English. And before, on the old hosting, everything was installed in the forum language. I am attaching a screenshot of the mod menu immediately after installation.

The mod version is 1.36, it worked normally on the forum on the old hosting since 2020. Version 2.6 unfortunately does not install at all, even with emulation.

Please help me figure it out, I really need a mod for thanking people in posts.

You cannot view this attachment.
SMF Forum - "Art Cafe" - https://art-cafe.info/

kelvincool

Ok I see the problem, in this file:

$txt['vob_protected'] = 'Защищено';?>
// Say Thanks Mod

Move the ?> to the end of the file

artvolt

Kelvincool, thank you, the mod is installed and everything works fine.
SMF Forum - "Art Cafe" - https://art-cafe.info/

Lucarella

Hi guys, today I installed the latest version of this mod however, a little while ago, I realized a problem...
As you can see from the image, this mod tells me that I have installed the old version while I have the latest one, and I am missing the button for removing the mod.
I tried removing the mod version checker and putting it back, but nothing changed.

Is there a way to reset everything?

Ah, the mod version checker tells me that the BCC message box mod is also obsolete, but I have installed version 1.0 and the uninstall button is present, so I think the support of @vbgamer45 is also needed here

Thank you

Lucarella

Guys, I apologize for the previous post, but a friend of mine installed the previous version and I didn't realize it, also because it was at the bottom of the list and I hadn't seen it...  :-[

Thanks for what you do

Advertisement: