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).
question/suggestion - in future versions, would it be possible if a user is on tachy goes to coventry, that their 'thanks' they have given out could be hidden too? this is because at my site we use tachy as an 'emergency hide' method for the users, and so we want all their thanks to temporarily be hidden while they are on tachy too
I really don't know. It keeps loading the page with the 'adding product...' message without finalizing. However I went to cpanel and the 'post_thanks' table was created.
As I've said, I've already installed other hacks which create tables in database, so I don't know why this one isn't working. :erm:
MAYBE I've found the error.
My user table has 11,000+ records
Basically the hack successfully creates the post_thanks table and also alter it by adding the 'postid' index.
What it doesn't do is alter the 'user' table to add new fields (post_thanks_user_amount....). Maybe 'cause I have too many users?:erm:
Can I manually do those 'alter table' queries via phpmyadmin?
Quote:
ALTER TABLE ****_user ADD post_thanks_user_amount INT(10) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE ****_user ADD post_thanks_amount INT(10) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE ****_user ADD post_thanks_thanked_posts INT(10) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE ****_user ADD post_thanks_thanked_times INT(10) UNSIGNED DEFAULT '0' NOT NULL;
If so, will I be able to update the hack in the future?
Thanks.
thx for the hack. i have only one problem after the update from 3.6.8 to 3.7 ...
i must press F5 for the refresh. ajax is still on.
hide is the 0.35 version.
Hi i installed this on my board
and then If i open a post i get this on blank page
Quote:
Warning: require_once() [function.require-once]: Unable to access [path]/includes/functions_post_thanks.php in [path]/includes/class_postbit.php(260) : eval()'d code on line 1
Warning: require_once([path]/includes/functions_post_thanks.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_postbit.php(260) : eval()'d code on line 1
Fatal error: require_once() [function.require]: Failed opening required '/misc/28/269/021/554/4/user/web/bonusparadise.com/forum/includes/functions_post_thanks.php' (include_path='.:/usr/share/pear') in /misc/28/269/021/554/4/user/web/bonusparadise.com/forum/includes/class_postbit.php(260) : eval()'d code on line 1
I did install via product manager and allowed to overwrite
please help with this
thanks