Yet another one...
Notice: Undefined index: ThankfulPeople in /home/myserver/public_html/library/Framework/Framework.Functions.php on line 522
Notice: Undefined index: ThankfulPeople in /home/myserver/public_html/library/Framework/Framework.Class.SqlBuilder.php on line 68
Notice: Undefined index: ThankfulPeople in /home/myserver/public_html/library/Framework/Framework.Class.SqlBuilder.php on line 117
Notice: Undefined index: ThankfulPeople in /home/myserver/public_html/library/Framework/Framework.Class.SqlBuilder.php on line 117
Notice: Undefined index: ThankfulPeople in /home/myserver/public_html/library/Framework/Framework.Class.SqlBuilder.php on line 68
A fatal, non-recoverable error has occurred
Technical information (for support personel):
Error Message
An error occurred while retrieving data.
Affected Elements
ThankfulPeople.CommentGrid_InitThankfulPeople();
The error occurred on or near: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as CommentID, tp. as UserID, u.Name as UserName from LUM_Comment m inner join ' at line 1
For additional support documentation, visit the Lussumo Documentation website at: lussumo.com/docs
Any suggestion?
Could it be related to http://lussumo.com/community/discussion/6945/databasephp-erased-oh-noes-helps/#Item_12 ?
It happened simultaneously.
Add the followings lines to database.php// Thankful People Table Structure
$DatabaseTables['ThankfulPeople'] = 'ThankfulPeople';
$DatabaseColumns['ThankfulPeople']['CommentID'] = 'CommentID';
$DatabaseColumns['ThankfulPeople']['UserID'] = 'UserID';
Also check that you have in settings.php:$Configuration['THANKFULPEOPLE_VERSION'] = '1.0';
If I wanted to create a new add-on that only works when the number of Thankful People for a particular user is greater than 1, what is the code that I use in that other add on?
I'm basically looking for an "if" statement that figures out the Thankful People count for any particular user. Any ideas?
Dear people
very new BUT NOT totally DUMB one here...I would like to use this extension BUT..it ain't got a read me file. It dont seem to work on the extension folder....and it changed the conf/extensions.php.....which with my small brain I feel very clever for fixing myself..said the little red hen BUT can someone tell moi where to put it. I love vanilla.....so its not wasted on me!
Thanks
After you activate this extension, you will only see the ability to thank someone on the Comments page. Then on each person's account page they can see how many thank you's they have received.
Been using this and love it, as does my userbase, I think. It'd be a great candidate for ajaxifying, so no page load is necessary after hitting thanks -- any plans (asking the author) or any tips (asking anyone) to leverage Mootools to make that happen?
Comments
// Thankful People Table Structure $DatabaseTables['ThankfulPeople'] = 'ThankfulPeople'; $DatabaseColumns['ThankfulPeople']['CommentID'] = 'CommentID'; $DatabaseColumns['ThankfulPeople']['UserID'] = 'UserID';
Also check that you have in settings.php:
$Configuration['THANKFULPEOPLE_VERSION'] = '1.0';
if (!AppendToConfigurationFile($Configuration['APPLICATION_PATH'].'conf/database.php', $Structure)) $Errors = 1;
to this:
if (!AppendToConfigurationFile($Configuration['DATABASE_PATH'], $Structure)) $Errors = 1;
Where your conf/settings.php file has the $Configuration['DATABASE_PATH'] pointing to the location of your database.php file.
Thanks for a great extension.
I'm basically looking for an "if" statement that figures out the Thankful People count for any particular user. Any ideas?
Never mind, I figured it out.
It would be nice if the amount of thankfull peoples who have voted for the initial discussion-post would be displayed on the overview-page/frontpage.