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).
Yes, this was due to the post groan hack on our forum. People didn't like the groan so we disabled it. If it was still integrated in the vb settings, it caused the page refresh. Disable post grown and or remove it but make sure you de-integrate it in your vbsettings. If you need a hand feel free to PM me.
Seems that the mod creator isn't answering anything here.
Anyone know how to add padding to this hack or move it over to the far right, past the 'blog this'
Becky, it is OK with 3.8.1 it's just quirky. Disable post grown integration and turn it off and you should be OK.
# Time: 090615 12:01:57
# User@Host: xxx[xxx] @ localhost []
# Query_time: 12 Lock_time: 0 Rows_sent: 605 Rows_examined: 784838
use xxx;
SELECT postid
FROM post AS post
INNER JOIN thread AS thread ON(thread.threadid = post.threadid)
WHERE post.post_thanks_amount != 0
AND thread.forumid IN(5,20,3,45,8,18,39,1,11,31,46,10,76,25,59,4,14,53,15,54,35,55,36,56,16,58,52,57,19,7,17,13,6,66,47,21,30,23,78,77,80,79,81,82,83,84,85,86,87,88,89,90,91,27,63,71,29,93)
ORDER BY post.dateline DESC
LIMIT 1000;
This is caused by
PHP Code:
$posts = $db->query_read("
SELECT postid
FROM " . TABLE_PREFIX . "post AS post
INNER JOIN " . TABLE_PREFIX . "thread AS thread ON(thread.threadid = post.threadid)
WHERE post.post_thanks_amount != 0
AND thread.forumid IN(" . implode(',', $forumids) . ")
ORDER BY post.dateline DESC
LIMIT " . ($vbulletin->options['maxresults'] * 2) . "
");
Fatal error: Call to undefined function: set_thankscache() in /home/shopcard/public_html/thegioichuavn.com/cv2/newreply.php(1006) : eval()'d code on line 1
1. Function "find all thanked posts" causes full scan, because lack of indexes. Very slow.
2. Unable to remove that link (and access via URL) in setting.
3. It would be nice to have option "disable hack for guests" (to hide all thanks and so on). That's good for SEO.
I also want to remove that option. Does anyone know how to? It's silly really, why would anyone want to do a search to find all thanked posts?
Does anyone know how to import thanks received from VS-Hide Hack Resurrection to Abe1's? Could I just rename the column "thankedcount" to "post_thanks_user_amount"?