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 guaranteed liking by ALL the members of your forum.
New option: Remove User's Thanks Count When Deleting Post
New phrase: post_thanks_search_user_gave
FIX User reputation level now updates. (Thanks to liwo for this one.)
NEW Added option to view all posts a user has thanked.
FIX Fixed Special Action - Delete All of a Users Thanks
FIX Should have fixed some 'foreach()' errors.
Version 7.3 (03/15/08):
Updated file: functions_post_thanks.php
Updated template: post_thanks_memberinfo_block
Deleted template: post_thanks_memberinfo_css
New option: Choice to use Markup Usernames or not. (Thanks to Namaless)
New option: Ban User from Getting Thanks
New option: Max Thanks a User can Give Per Day
FIX Fixed repeating bug on vb 3.6.7 forums.
CHANGE Changed where the post thanks info shows on the Profile Page. Moved to same box as statistics. (This will require a template edit if you are running vb3.7 beta 2-4)
Version 7.4 (03/21/08):
FIX: Fixed Profile Stats for vb3.7.0 RC1 users.
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' with legacy posts (admin view)
Actually, this hack uses up a lot of extra cpu, esppecially on large sites...
Abe1...
In javascript, lines of code should end with a ;... Otherwise the hack won't work on older browsers (as a matter of fact, it shouldn't work on new ones either, but strangely it does). Also, perhaps you should implement some sort of cache cause your hack has a lot of queries that could be eliminated, and goes through much more data than it could have. Just a suggestion.
Can you give me an example of how to make it use less?
This hack uses one query for evey showthread page shown. How can you get better?
I dont want to save the threadID since if you move a post, the thanks stay with it.
Thanks for your reply,
Yes I have the correct, and the latest version of the post thank-you hack (5.3) from Abe1.
In fact I have used it for quite a while before I installed your hide hack and I had no problem with it what so ever.
The strangest part is that after clicking the Thanks button, it disappears (the thanks button) so I have no idea what could be the problem.
Also as I mentioned in my previous post the other issue is that after navigating to another thread and returning where I previously pressed the thanks button the content is hidden again.
Thank you in advance for your feed back
Thank you for this great mod. I've noticed that if I go into a post and edit it for any reason that the Thank you button disappears. I can always be sure to thank someone before editing the post or I could turn on the option to Thank Self, but I wondered if there was a way to not have to turn that on and have the link still remain after editing? Thanks.
Thank you for this great mod. I've noticed that if I go into a post and edit it for any reason that the Thank you button disappears. I can always be sure to thank someone before editing the post or I could turn on the option to Thank Self, but I wondered if there was a way to not have to turn that on and have the link still remain after editing? Thanks.
Thats true, need to be fixed!
But if you reload page, F5, the button apears again!