About this hack:
One of the biggest problems on forums as you may know is 'posts boosting'. There are users who LOVE to say 'thanks' when ever they can. How can it hurt? Their post count goes up, they have nothing to loose.
There are also users who really like to express their thanks to post but don't like posting a post that looks like they're post boosting.
Then comes the moderators who have to delete people's thanks yous so a thread can look readable with out the thanks yous thrown around.
Finally comes the posters of these useful posts. They have no idea how many people really likes their posts if only some people say 'thanks'.
What this hack does is fix ALL these problems - except those users who like post boosting. This places a button called 'thanks.' When a user clicks on it, it places his username in a box right under the post saying that so-and-so says 'thanks' for the post. Every-one who clicks is placed in one box.
By giving your users the extra feature, you forum will look allot nice and organized. It is a granted liking by ALL the members of your forum.
[FIXED] Bug with AJAX if you had the date showing.
Version 4.5 (6/19/06):
[FIXED] Bug with AJAX if you had hacks that added things to your output.
Please post your comments or suggestions for this hack. I read ALL posts.
MAKE SURE YOU CLICK INSTALL! You will get an email when a new version is released.
Pictures:
Showing the 'thanks' button and stats in Postbit
Showing post after 'thanks' (user view)
Showing post after 'thanks' (admin view)
Showing post after 'thanks' with legacy posts (admin view)
Stats in members profile and link
Link in Search drop down menu
Hacks settings
This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Thanks again Abe for fixing it for me. To everyone else it was my fault it wasn't working, I had put the code in the wrong place and forgotten to put another piece of code in. Note to self: Never install mods when you're half asleep
Ops.... I catch a small bug, but it's not your's....
Whan i translate phrases in plugin i get the SQL error when i try to delete own thank's with old translation. Because:
Code:
DELETE FROM ". TABLE_PREFIX ."reputation WHERE postid = $postid AND reason='$vbphrase[post_thanks_thanked_post]
I must run that query:
Code:
UPDATE ". TABLE_PREFTIX ."reputation SET reason = "translated phrase" WHERE reason = "Thanked Post"
MySQL Error : 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 '[post_thanks_reputation] + reputation
WHERE userid = 110261' at line 2
Error Number : 1064
Reputation is disabled under the hack settings. Waiting for a fix...