News:

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

Main Menu

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.

Advertisement: