@Phalynx,
First of all, very nice hack. Thanks for integrating my thank you hack into this hack.
I found 1 interesting thing though. There are 3 colums that post thanks adds to the user table.
post_thanks_user_amount - the amount of times the user clicks thanks
post_thanks_thanked_posts - the amount of posts that this user was thanked in
post_thanks_thanked_times - the total amount of thanks the user got.
You only use post_thanks_thanked_posts and post_thanks_thanked_times only. It seems that you are using post_thanks_thanked_times instead of post_thanks_user_amount.
Also, I think it would be best if you gave an option for all 3 to be used.
|