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)
Added securty token check for all thanks added. This will prevent a user from giving out a link or somehow making an image that will get him a lot of thanks.
Should have fixed some 'foreach()' errors.
Fixed Delete All of a Users Thanks bug
vBulletin 3.7.x compatible only
Version 7.6 (06/02/08):
FIX: Fixed Security Check for vb 3.7.1
Updated files: functions_post_thanks.php
Version 7.7 (07/28/08):
FIX: Fixed problem with giving thanks using Blazer (palmOS browser).
I have recently moved to another server I did a clean install of vbulletin 3.7.4 . So now there are two databases, one from the old forum and one from the new one. I used ImPEx and got all data from the old to the new one, but after installing this mod all posta-thanks counters of all members have gone away. I mean everyone has 0 thanks.. Is there any way to import the post_thanks data table from the old database to the new one so that everybody will have their number of thanks?
Thankyou!
make sure you move the post_thanks table and then use the post thanks recounters.
Nice mod! I think this will meet our desires with a small tweak.
I'm not overly familar with vB mods programming yet and I've been poking around the files, but I'm not sure if I can even get this info..
Basically I would like to remove the box below each post (postbit_end I guess is where it hooks) that has been thanked and instead have something in the user info (postbit_userinfo_right_after_posts hook maybe), and not a list of users but a count of thanks instead.
Easy to do maybe with a simple template modification and a phrase (not sure how phrases work yet)? Or would I have to modify the code of the add-on itself?
Thanks in advance.
EDIT: In the icon and title area would be better I think (for postbit legacy), there's no hook there though. Does that mean I couldn't do it, or just mean that I would have to modify my template?
I have been getting a MySQL error for a few days, on an off. Always related to Post_thanks. I am on 3.73, and yesterday updated from version 7.6 to 7.7 of post thanks to see if it would make a difference. It didn't.
This doesn't happen every time a thanks is given. Also, for comletely unrelated reasons my VPS was moved last night to a new hardware node, so this has happened on two different underlying hardware nodes.
I also optimized the MySQL tables to see if there was any issue there:
Database error in vBulletin 3.7.3:
Code:
Invalid SQL:
SELECT text, languageid, special
FROM phrase AS phrase
LEFT JOIN phrasetype USING (fieldname)
WHERE phrase.fieldname = 'frontredirect'
AND varname = 'reportthanks' AND languageid IN (-1, 0, 1);
MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Sunday, November 9th 2008 @ 08:39:06 AM
Error Date : Sunday, November 9th 2008 @ 08:40:41 AM
Script : http://www.broncosforums.com/forums/report.php?do=sendemail
Referrer : http://www.broncosforums.com/forums/report.php?p=449534
IP Address : removed
Username : removed
Classname : vB_Database
MySQL Version :
I'm sorry, but i dont see how that mysql has nothing to do with the post thanks hack.
I get the same results, this does not show up for me either, in addition I cannot get it to dosplay under the username... the bit that states "thanked x times"