HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Karma Bank - Feedback - Ideas
To make the Thankful People plugin work with Karma, I just added around line 109 in /plugins/KarmaBank/default.php:
public function MetaMap(){ $this->Meta=array( 'CountVisits'=>'Counts every session vist', 'CountComments'=>'Counts every time a member adds a comment', 'CountDiscussions'=>'Counts every time a member adds a discussion or question (regardless of type)', 'QnACountAccept'=>'(Requires Q&A plugin) Counts every time a member accepts an answer to their question', 'QnACountAcceptance'=>'(Requires Q&A plugin) Counts every time a member has their answer to a question accepted (excluding their own)', 'ReceivedThankCount'=>'(Requires Thankful People plugin) Counts every time a member receives a thanks' );
That little ReceivedThankCount
line seems to make it work with that plugin.
0
Comments
Why not make little plugin called ThankfulPeopleKarma?
if you use this hook
don't forget to require Karma Bank
grep is your friend.
I suppose I could play around with making a plugin having never done it before. Thanks! You could also simply add this to your next update - would keep the clutter of plugins to a minimum I suppose.
Actually I would most likely do the opposite. Move the meta hooks out of the core. it could be added to ThankfulPeople
@S
grep is your friend.
Right - I was looking throught the LikeThis plugin within /plugins/LikeThis/default.php and see:
So your recommendation to put it within the Thankful People plugin would make the most sense