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).
Is there a mod or submod of this that would allow guests to say Thank You and this be shown in a seperate part i.e. 'x Guests said Thank You for this post'?. Also on the groan hack too
I installed this on a clean vb3.6.8pl2 version and have it on another vb (same version) installation. On the clean installation when clicking the thank you, the page refreshes --- on my other installtion (which had an older version of thank you which I overwrote with the current version) thanking doesn't cause the page to refresh.
What could cause the refreshing? Or maybe I should ask which version of this add on should I be using for 3.6.8pl2?
Thanks in advance.
Edited to add: Each of my vb installations are on two different servers if this helps to figure this out.
Abe1 I have view the "fetch_musername" function and this is new coding:
PHP Code:
$thanks = $vbulletin->db->query_read("SELECT * FROM " .TABLE_PREFIX. "post_thanks AS ps INNER JOIN " .TABLE_PREFIX. "user AS u ON (u.userid = ps.userid) WHERE ps.postid IN (" . $post_ids . ") ORDER BY ps.username ASC");
For query.
For get musername use this method:
PHP Code:
//$cache[$thank['postid']][$thank['userid']]['username'] = $thank['username']; // Get vBulletin User Group ID $cache[$thank['postid']][$thank['userid']]['username'] = fetch_musername($thank);
Now the problem in vb 3.7 beta3 is solutioned by vbulletin team into vbulletin 3.7 beta4 .
Thanks.
It's all ready to go, i'm just waiting for someone to test the GARS error on.
In the postbit legacy area, I am seeing multiple instances of the text: Thanks: 0
Thanked: 0 Times in 0 Posts
Each subsequent poster in a thread has an added instance of that text.
See the attached screen shot from the postbit legacy of the 19th poster in a thread.
I'm running vB 3.6.7 PL1 and followed the 3.6.7 instructions including the template edits.
Did I miss something?
Can I look at your ACP? There is something built into the hack that fixes the vb bug for version 3.6.7 but it seems not to be active. It would be a big help if I can take a look. You can PM me.
Is there a way to exclude MYSELF from receiving thanks? My reputation is SOARING due to the thanks i get on my forum...but i want exclude myself from receiving. I'd still like to be able to issue thanks though.
I installed this on a clean vb3.6.8pl2 version and have it on another vb (same version) installation. On the clean installation when clicking the thank you, the page refreshes --- on my other installtion (which had an older version of thank you which I overwrote with the current version) thanking doesn't cause the page to refresh.
What could cause the refreshing? Or maybe I should ask which version of this add on should I be using for 3.6.8pl2?
Thanks in advance.
Edited to add: Each of my vb installations are on two different servers if this helps to figure this out.
Please make sure all the files are uploaded. Also, make sure custom styles have the new template hooks.