Advertisement:

Author Topic: Thank-O-Matic (Updated for SMF 2.0.4)  (Read 1467845 times)

Offline lttung

  • Jr. Member
  • **
  • Posts: 125
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1980 on: March 12, 2012, 03:14:36 AM »
Pls help me, i have error:

8: Undefined index: thankYouPostCounterOutput
File: /var/www/vhosts/dothixala.net/httpdocs/Sources/ThankYouPost.php
Lie: 744

==>744:         'disable_counter_link' => $modSettings['thankYouPostCounterOutput'] == 1,

Offline lttung

  • Jr. Member
  • **
  • Posts: 125
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1981 on: March 12, 2012, 04:38:36 AM »
Pls help me, i have error:

8: Undefined index: thankYouPostCounterOutput
File: /var/www/vhosts/dothixala.net/httpdocs/Sources/ThankYouPost.php
Lie: 744

==>744:         'disable_counter_link' => $modSettings['thankYouPostCounterOutput'] == 1,

Thanks, fixed:



Oh... i think i've an small thinking error on that position... i hope it's an SMF2 problem...

ThankYouPost.php
Serach for
Code: [Select]
if (!isset($modSettings['thankYouPostStartOutput']))
Replace with
Code: [Select]
if (!isset($modSettings['thankYouPostStartOutput']) || !isset($modSettings['thankYouPostCounterOutput']) || !isset($modSettings['thankYouPostStartOutputText']))
That should solve the problem...

Offline shazoo!

  • Jr. Member
  • **
  • Posts: 102
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1982 on: April 08, 2012, 05:19:39 PM »
Hi! I LOVE this mod, and am wondering if it's possible to have a notification under the unread posts area, when the user gets thanked, it'll show the total number of new thanks in the link and when they click it, it takes them to the summary

Offline shazoo!

  • Jr. Member
  • **
  • Posts: 102
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1983 on: April 15, 2012, 09:14:05 AM »
What do I need to edit if all I want to show below the post is who thanked, instead of the counter  (see attached)?

Offline Vahid‎‎ ‎Damanafshan

  • Jr. Member
  • **
  • Posts: 101
  • Gender: Male
    • http://www.damanafshan.ir
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1984 on: April 22, 2012, 06:04:30 PM »
Is there a way to bold and change the color of the "Thank You" shown in posts?
SMF 2.0.2

Offline shazoo!

  • Jr. Member
  • **
  • Posts: 102
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1985 on: April 23, 2012, 10:53:50 AM »
Is there a way to bold and change the color of the "Thank You" shown in posts?
You mean the bottom part that lists the people?

Offline Vahid‎‎ ‎Damanafshan

  • Jr. Member
  • **
  • Posts: 101
  • Gender: Male
    • http://www.damanafshan.ir
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1986 on: April 23, 2012, 03:30:50 PM »
Is there a way to bold and change the color of the "Thank You" shown in posts?
You mean the bottom part that lists the people?
No, I mean the button which the users click on it and give a Thank You.
SMF 2.0.2

Offline Tomy Tran

  • Jr. Member
  • **
  • Posts: 239
  • Gender: Male
  • Vietnamese Translator
    • pr.tomytran on Facebook
    • tomytran on LinkedIn
    • @ceotomy on Twitter
    • Call to +84 9 0602 6930 or visit www.tomytran.com
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1987 on: April 23, 2012, 05:25:10 PM »
What do I need to edit if all I want to show below the post is who thanked, instead of the counter  (see attached)?

./index.php?action=admin;area=thankyoupostsettings;sa=layout

Select hidden ( link / text / hidden ) on the dropdown box of Count the number of thank you ...

Offline shazoo!

  • Jr. Member
  • **
  • Posts: 102
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1988 on: April 23, 2012, 05:45:02 PM »
What do I need to edit if all I want to show below the post is who thanked, instead of the counter  (see attached)?

./index.php?action=admin;area=thankyoupostsettings;sa=layout

Select hidden ( link / text / hidden ) on the dropdown box of Count the number of thank you ...
oh sweet! Thanks!!

Offline shubha

  • Jr. Member
  • **
  • Posts: 207
  • Gender: Male
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1989 on: April 25, 2012, 08:12:54 AM »
Hi,
when it will be updated for 2.0.2, four months passed still waiting.

Offline shazoo!

  • Jr. Member
  • **
  • Posts: 102
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1990 on: April 25, 2012, 08:34:29 AM »
Hi,
when it will be updated for 2.0.2, four months passed still waiting.
Mine's working fine for 2.0.2

Offline zzuzu

  • Semi-Newbie
  • *
  • Posts: 49
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1991 on: April 25, 2012, 04:41:10 PM »
@kindred
sorry for my mistake. i wasn't known to that.

@shambles
yup its working now, i was doing wrong before.
but still there is another error with stats.template.php file.

Hi,

were you able to find where to put that part of code?

Offline Yiorgos

  • Semi-Newbie
  • *
  • Posts: 93
  • Gender: Male
    • Δορυφορικά Νέα
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1992 on: April 27, 2012, 04:52:06 AM »
Hi,
when it will be updated for 2.0.2, four months passed still waiting.
Mine's working fine for 2.0.2

Mine's working fine for 2.0.2 too

www.sdtv.gr


Abandoned modifications that I corrected to apply on SMF 2.0 Gold
Simple Awards System  To award good members
Limit Posts Per Day  for over-posting members

Offline Tomy Tran

  • Jr. Member
  • **
  • Posts: 239
  • Gender: Male
  • Vietnamese Translator
    • pr.tomytran on Facebook
    • tomytran on LinkedIn
    • @ceotomy on Twitter
    • Call to +84 9 0602 6930 or visit www.tomytran.com
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1993 on: April 27, 2012, 08:23:32 PM »
I have installed this mod on my forum 2.0.1, now I want to move thank you button to the bottom of post where I have +1 button already.

Could anyone tell me how (which file and lines or link answered) to move all list button of: Thank you, Lock, Unlock, Delete thank you from top right of each post to bottom of each post which right before of Complain and IP logged ?

Oh, finally I did it for my bacninhpro.net he he.

Offline Vahid‎‎ ‎Damanafshan

  • Jr. Member
  • **
  • Posts: 101
  • Gender: Male
    • http://www.damanafshan.ir
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1994 on: April 28, 2012, 03:39:56 PM »
Thanks for this great mod, but I have two problems. Let me explain what I mean.
A few months ago, I installed this Mod on my SMF 2.0.2. Everything worked fine until I had to uninstall this mod for some reason. A few days ago, I installed the mod again but this time I came across two problems:
1- I can’t translate the Profile.english.php into my own language. Actually, despite translating the strings into my own language, I still see English sentences in members’ profile pages.
2- In the posts which have already received one (or more) Thank You (I mean in the first installation), it is written that “For this post, 0 member gave a thank you”!.
Can anyone please tell me how to solve these problems?
SMF 2.0.2

Offline Liam_michael

  • SMF Hero
  • ******
  • Posts: 1,852
    • Free Homework Help
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1995 on: April 29, 2012, 11:48:44 PM »
Thanks for this great mod, but I have two problems. Let me explain what I mean.
A few months ago, I installed this Mod on my SMF 2.0.2. Everything worked fine until I had to uninstall this mod for some reason. A few days ago, I installed the mod again but this time I came across two problems:
1- I can’t translate the Profile.english.php into my own language. Actually, despite translating the strings into my own language, I still see English sentences in members’ profile pages.
2- In the posts which have already received one (or more) Thank You (I mean in the first installation), it is written that “For this post, 0 member gave a thank you”!.
Can anyone please tell me how to solve these problems?

Do you have access to phpmyadmin?

Offline Vahid‎‎ ‎Damanafshan

  • Jr. Member
  • **
  • Posts: 101
  • Gender: Male
    • http://www.damanafshan.ir
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1996 on: April 30, 2012, 02:45:56 PM »
Thanks for this great mod, but I have two problems. Let me explain what I mean.
A few months ago, I installed this Mod on my SMF 2.0.2. Everything worked fine until I had to uninstall this mod for some reason. A few days ago, I installed the mod again but this time I came across two problems:
1- I can’t translate the Profile.english.php into my own language. Actually, despite translating the strings into my own language, I still see English sentences in members’ profile pages.
2- In the posts which have already received one (or more) Thank You (I mean in the first installation), it is written that “For this post, 0 member gave a thank you”!.
Can anyone please tell me how to solve these problems?

Do you have access to phpmyadmin?
I don't know, what is this for? where can I find it?
SMF 2.0.2

Offline Welovea1

  • Semi-Newbie
  • *
  • Posts: 48
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1997 on: April 30, 2012, 05:39:33 PM »
We are also receiving this same error: "2- In the posts which have already received one (or more) Thank You (I mean in the first installation), it is written that “For this post, 0 member gave a thank you”!."

By way of background information, we have just started to see in some member profiles the following error:

Quote
Column 'id_msg' in where clause is ambiguous
File: /home/welovea2/public_html/JDBTest/Sources/Profile-ThankYouPost.php
Line: 199

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.2, while your database is at version 2.0.1. The above error might possibly go away if you execute the latest version of upgrade.php.

We've tried a couple of different approaches in our test forums to correct the problem, both of which resulted in the error message described by vdamanafshan.

We first deleted the error log and then recalculated the thank-o-matic stats.  That resulted in elimination of the  "Column 'id_msg'...... but also in the 0 posts error.
We restored our database, uninstalled our previous version of Thank-O-Matic, which was emulated for 2.0.1 and installed the current version.  Again this resulted in the error described by vdamanafshan.  On all previous re-installs of thank-o-matic, we have never lost data.

We do know how to access phpmyadmin but don't know what to do to fix the error. 

Thanks for any assistance that can be provided.


« Last Edit: April 30, 2012, 06:14:51 PM by Welovea1 »

Offline Yiorgos

  • Semi-Newbie
  • *
  • Posts: 93
  • Gender: Male
    • Δορυφορικά Νέα
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1998 on: May 03, 2012, 12:14:00 PM »
Code: [Select]
// Load the Post data :)
$post = $smcFunc['db_query']('', '
SELECT id_msg, id_member, thank_you_post, thank_you_post_counter
FROM {db_prefix}messages
WHERE id_topic = {int:topic} AND id_msg = {int:id_msg}
LIMIT 1',
array(
'topic' => $topic,
'id_msg' => (int) $_GET['msg'],
)
);

The clause is ambiguous because id_msg it exists twice!
But that is not the problem I think.

There are many posts regarding clause is ambiguous in SMF

I read some and I concluded that it should be caused by an other modification that you installed probably after the installation of ThankOmatic.

I would suggest you to uninstall the modifications one after the other on a reverse order...
Emulate the error after each uninstall to locate the incompatible modification package.

In case you cannot remember the installation order, consider to install Sortable Packages (and Installed Time) by emulating the SMF version to 2.0 RC3

www.sdtv.gr


Abandoned modifications that I corrected to apply on SMF 2.0 Gold
Simple Awards System  To award good members
Limit Posts Per Day  for over-posting members

Offline ChalkCat

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,611
  • Gender: Female
  • Forum Tea Maker - go on have a cuppa!
    • ChalkCat
Re: Thank-O-Matic (Updated for SMF 2.0.1)
« Reply #1999 on: May 03, 2012, 06:45:45 PM »
I love this mod, I would be completely lost without it.  However, if and evidently only if I activate the Ajax (inline) thank you, my members and I see the following error message appearing randomly during normal navigation.  Backbrowsing and refreshing restore the page as it should be, and I haven't found a pattern to predict when it will appear, but it's annoying just the same.  Any suggestions?

Quote
Warning: require(/home/content/**/*******/html/sabrinova/cache/data_c41c53b6129a9ba1d0559d24ef4e715b-SMF-modSettings.php) [function.require]: failed to open stream: No such file or directory in /home/content/**/*******/html/sabrinova/Sources/Load.php on line 2716

Fatal error: require() [function.require]: Failed opening required '/home/content/**/*******/html/sabrinova/cache/data_c41c53b6129a9ba1d0559d24ef4e715b-SMF-modSettings.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/**/*******/html/sabrinova/Sources/Load.php on line 2716