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)
installed hack and BIG PROBLEM... no post in forum
Warning: require_once(c:\domains\*******.com\wwwroot\forums/includes/functions_post_thanks.php) [function.require-once]: failed to open stream: No such file or directory in \includes\class_postbit.php(268) : eval()'d code on line 1
Fatal error: require_once() [function.require]: Failed opening required 'c:\domains\******.com\wwwroot\forums/includes/functions_post_thanks.php' (include_path='.;C:\php5\pear') in c:\domains\*******.com\wwwroot\forums\includes\cla ss_postbit.php(268) : eval()'d code on line 1
This is working great for me - very nice job Abe1. I think I found 2 small issues however although they're not really bugs...
If a has thanks, and thatpost is edited by that member (using the quick edit ajax method) when the edit is saved, the post_thanks_postbit template fails to re-load. After a page refresh it's there, howerever would be more in-line with vbulletin if this were re-loaded upon edit as well.
Something to do with vb. They dont run all the hooks again.
Quote:
Originally Posted by Antivirus
After a post is thanked, although the post_thanks_postbit template reloads, the post_scores_member_info template fails to reload resulting in the post's author's post-thanks info not being updated
OK, the members no longer seem to care about old thanked posts.
However I do have a strange conflict where hovertext doesn't reflect what reps people have.
Almost all reputation points are given via thanks and it seems no thanked posts are being reflected in the reputation hovertext, yet it still contributes points and green dots.
The only way I've found to compensate for this issue is rebuilding rep points every day. This is not a very desirable way to go about it though.
Something to do with vb. They dont run all the hooks again.
Ah i see... I suppose I will report their omission of hook: postbit_display_start within the quickedit execution as a bug then. Hopefully they'll issue a fix for this.
I just wanted to tell you that you have an incredibly useful hack. In fact, I find myself going back into posts just to see who has thanked whom for useful posts. It's really been an incredible enhancement to our forum. I'm quite shocked vBulletin hasn't paid you to take this feature over. It's a remarkably well thought out idea.
...It's really been an incredible enhancement to our forum. I'm quite shocked vBulletin hasn't paid you to take this feature over. It's a remarkably well thought out idea.