Say Thanks

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

Previous topic - Next topic

Bugo

@kelvincool, in version for SMF 2.1 your mod does not need such fixes, you can safely delete them:


if ($context['user']['language'] == 'russian')
{
  
$arr['response'] = iconv('Windows-1251''UTF-8'$arr['response']);
}

if (
$context['user']['language'] == 'russian')
{
  
$arr['list'] = iconv('Windows-1251''UTF-8'$arr['list']);
  
$arr['response'] = iconv('Windows-1251''UTF-8'$arr['response']);
}


kelvincool

Thank you @Bugo, I will remember to remove that with my next release  :)

Klauser

I just upgrade from SMF 2.0.19 to 2.1.4 and installed this MOd which I had before running. I am getting an error while I am watching an Thread

Database Error: Unknown column 't.date_thanked' in 'order clause'


         SELECT
            m.id_msg, u.id_member, u.real_name as member_name
         FROM smf_messages m, smf_messages_thanks t, smf_members u
         WHERE m.id_msg IN (108401) AND m.id_msg = t.id_msg AND t.id_member = u.id_member
         ORDER BY t.date_thanked ASC


Lucarella

HI,
Is it possible to add the total number of users who thanked below the list?
Like something like this:


Thanks

kelvincool

@Klauser please refer to this post and the following replies on how to resolve the issue https://www.simplemachines.org/community/index.php?topic=527032.msg4135268#msg4135268

@Lucarella I can look into something like that

Klauser

Hello, this mod ist not working on my Site  SMF 2.1.4

/homepages/xxx/Sources/SayThanks.php (Line 92)
Backtrace-Information


Database Error: Unknown column 't.date_thanked' in 'order clause'


         SELECT
            m.id_msg, u.id_member, u.real_name as member_name
         FROM smf_messages m, smf_messages_thanks t, smf_members u
         WHERE m.id_msg IN (108401) AND m.id_msg = t.id_msg AND t.id_member = u.id_member
         ORDER BY t.date_thanked ASC

kelvincool

@Klauser see my previous reply to you.

Klauser

@kelvincool

I apologize very much for the double posting, it was just too late yesterday. Your solution worked, thank you very much and happy Easter.

Dave J

Hi Kelvin,

I'm using 2.1.4 but for some reason I'm (Admin) not getting alerts when thanked. The settings are all correct
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Steve

What about in your profile?
DO NOT pm me for support unless asked to!

Dave J

Quote from: Dave J on June 28, 2024, 02:56:58 AMHi Kelvin,

I'm using 2.1.4 but for some reason I'm (Admin) not getting alerts when thanked. The settings are all correct

Ignore that...I've just received a few thanks..but this is the first time I have seen alerts for it since it was installed on 12th June
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Dorin1

Hello , if you can help me, i want to change the color of the button and the image, can you tell me please where i can find this button and image to change this. thank you



kelvincool

Quote from: Dorin1 on December 14, 2024, 04:56:53 AMHello , if you can help me, i want to change the color of the button and the image, can you tell me please where i can find this button and image to change this. thank you




The image on the button is located here: \Themes\default\images\thank.png you will also find a number of other thank_ images in there that you may also want to replace.

Advertisement: