Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[AJAX] Post Thank You Hack Details »
[AJAX] Post Thank You Hack
Mod Version: 7.7, by Abe1 (Coder) Abe1 is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (411 votes - 4.81 average) Installs: 4908
Released: 20 Dec 2007 Last Update: 28 Jul 2008 Downloads: 29500
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Translations  

vB 4.0 version of this hack here: http://www.vbulletin.org/forum/showthread.php?t=231666

Post Thank You Hack 7.7


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.

Features:
  • Uses vBulletin easy Product installer/updater/uninstaller
  • Uses AJAX technology so your users don't have to refresh when they thank.
  • Places an easy to use button next to the edit button
  • Separate looks for postbit and postbit_legacy
  • Places all Thanks into one small box
  • Uses only ONE query every time you view a showthread page!
  • Users can't thank twice
  • Option to not allow users to thank their own post
  • Guests don't see 'thanks' button
  • Counts how many thanks a user gives
  • Counts how many thanks a post gets
  • Shows how many thanks a user gave in every post of his
  • Shows how many thanks a user gave in profile
  • Shows how many thanks a user got
  • Shows how many posts or a user are thanked
  • Shows info in profile
  • Search for a users thanked posts
  • Search for all thanked posts
  • Administrator can remove all Thanks from a single post
  • Users can remove their own Thanks
  • Turn on and off hack totally
  • Turn on and off hack for only some forums
  • Option to turn off hack for all but the first post of a thread
  • Option to turn off hack for all but the first post of a thread in specific forums
  • Option to turn off hack view of date for specific or all forums
  • Option to add to post count when someone clicks 'thanks'.
  • Option to give a user who receives thanks reputation points.
  • Ban Usergroups
  • Ban Users
  • Uses Phrases
  • Cache Templates
  • Guaranteed to be liked by ALL users on your forum!
Installation information on hack: (If installed on vb 3.7)
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 7
  • Time to install: 1 minute max

Updates:

Version 7.0 (12/20/07):
  • Release of this hack for vBulletin version 3.7
  • This version works on all vBulletin versions from 3.6.0 and up

Version 7.1 (12/24/07):
  • Fixed up the vb3.7 profile block code including fixing showing your info and not the member you are looking at.

Version 7.2 (01/24/08):
  • Updated files: post_thanks.php, functions_post_thanks.php
  • Updated templates: post_thanks_memberinfo_block, post_thanks_member_info
  • 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.

Version 7.5 (05/12/08):
  • Updated files: post_thanks.js, post_thanks.php, functions_post_thanks.php
  • Updated template: post_thanks_button
  • 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).
  • Updated file: post_thanks.js
  • Updated templates: post_thanks_button, post_thanks_postbit, post_thanks_postbit_legacy
  • New option: Show Stats in Postbit?
  • New option: Show Stats in Profile?

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:
  1. Showing the 'thanks' button and stats in Postbit
  2. Showing post after 'thanks' (user view)
  3. Showing post after 'thanks' with legacy posts (admin view)
  4. Stats in members profile and link
  5. Link in Search drop down menu
  6. Hacks settings

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	1.jpg
Views:	11351
Size:	16.8 KB
ID:	77303   Click image for larger version

Name:	2.jpg
Views:	9111
Size:	29.4 KB
ID:	77304   Click image for larger version

Name:	4.jpg
Views:	11460
Size:	27.1 KB
ID:	77305   Click image for larger version

Name:	5.jpg
Views:	11511
Size:	38.1 KB
ID:	77306  

Click image for larger version

Name:	6.jpg
Views:	3644
Size:	5.9 KB
ID:	77307   Click image for larger version

Name:	7.jpg
Views:	6286
Size:	128.0 KB
ID:	77308  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Show Thread Enhancements [AJAX] Post Thank You Hack Abe1 vBulletin 3.6 Add-ons 2155 17 Aug 2015 18:50
[AJAX] Post Groan Hack Abe1 vBulletin 3.5 Add-ons 66 09 Jun 2013 05:09
[AJAX] Post Thank You Hack Abe1 vBulletin 3.5 Add-ons 998 23 Dec 2012 06:24

  #601  
Old 19 May 2008, 11:05
jilly jilly is offline
 
Join Date: Jul 2002
Real name: jilly
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
__________________
(alphabetically) My Hacker Heros - Thank You Coders!! Your hard work and creativity is appreciated!
Abe1 - Andreas - Calorie - CMX_CMGSCCC - Cyb - Darkwaltz4 - Mosh - MrZeropage - Oblivion Knight - Paul M. - Phalynx - PixelFX - Psionic Vision - randominity - Sabret00the - tamarian - tehste - Tygertyger - Zachariah - Zero Tolerance
Reply With Quote
  #602  
Old 19 May 2008, 12:24
coverrequest.dk coverrequest.dk is offline
 
Join Date: Jan 2008
Real name: Kim
have a problem with this hack
i cant get this to work, have installed it on 3.7.0 and still i cant get it to work.
is there a person hvo can help
Reply With Quote
  #603  
Old 19 May 2008, 12:43
dwessell dwessell is offline
 
Join Date: Aug 2005
How do we upgrade? Just overwrite the files? Do we need to reimport the XML file? If so, do we need to delete the old one?

Thanks
David
Reply With Quote
  #604  
Old 19 May 2008, 15:06
Hamel el Mesl's Avatar
Hamel el Mesl Hamel el Mesl is offline
 
Join Date: May 2008
Thank you Abe1
Can you give us the sentences that should be translated.
__________________
Reply With Quote
  #605  
Old 20 May 2008, 09:21
Sunsetdriver Sunsetdriver is offline
 
Join Date: Mar 2007
Lightbulb

Originally Posted by Sunsetdriver View Post
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.
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?

Can I manually do those 'alter table' queries via phpmyadmin?

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.
Reply With Quote
  #606  
Old 20 May 2008, 10:46
verino verino is offline
 
Join Date: May 2008
Thank's and Installed.
Reply With Quote
  #607  
Old 20 May 2008, 11:08
Hypo Hypo is offline
 
Join Date: Feb 2007
After my uprade to vBulletin 3.7.0, I get this error when I click thanks:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
What's this, & how to solve this?

Thanks in advance,
Hypo
Reply With Quote
  #608  
Old 20 May 2008, 12:25
X-Man70 X-Man70 is offline
 
Join Date: Mar 2007
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.

can some help ? please
Reply With Quote
  #609  
Old 20 May 2008, 13:53
Bonus Paradise Bonus Paradise is offline
 
Join Date: May 2008
Hi i installed this on my board
and then If i open a post i get this on blank page

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
Reply With Quote
  #610  
Old 20 May 2008, 14:06
Bonus Paradise Bonus Paradise is offline
 
Join Date: May 2008
ohhhhh
I see I have to upload the files 1st
ooops ....

ok i try that later today
Reply With Quote
  #611  
Old 20 May 2008, 16:52
Bonus Paradise Bonus Paradise is offline
 
Join Date: May 2008
great i installed it now
lol
works excellent
many thanks
Reply With Quote
  #612  
Old 20 May 2008, 19:23
echo2kk5 echo2kk5 is offline
 
Join Date: Dec 2004
**Installed, Thanks for the great mod!
Reply With Quote
  #613  
Old 20 May 2008, 22:18
BlakeMichael BlakeMichael is offline
 
Join Date: Jan 2008
Warning: Unknown([path]/includes/functions_post_thanks.php): failed to open stream: No such file or directory in [path]/includes/class_postbit.php(260) : eval()'d code on line 1

Fatal error: (null)() [function.require]: Failed opening required '/home/edited/public_html/includes/functions_post_thanks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/edited/public_html/includes/class_postbit.php(260) : eval()'d code on line 1

I followed the instructions exactly and I can't get this to work, can you help me out? I can't view any threads on the forum until this is resolved.
Reply With Quote
  #614  
Old 20 May 2008, 22:38
echo2kk5 echo2kk5 is offline
 
Join Date: Dec 2004
Originally Posted by BlakeMichael View Post
Warning: Unknown([path]/includes/functions_post_thanks.php): failed to open stream: No such file or directory in [path]/includes/class_postbit.php(260) : eval()'d code on line 1

Fatal error: (null)() [function.require]: Failed opening required '/home/edited/public_html/includes/functions_post_thanks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/edited/public_html/includes/class_postbit.php(260) : eval()'d code on line 1

I followed the instructions exactly and I can't get this to work, can you help me out? I can't view any threads on the forum until this is resolved.
Looks like some or none of the mods files were uploaded as directed...upload again using a different FTP client.
Reply With Quote
  #615  
Old 20 May 2008, 23:15
rareclownfish rareclownfish is offline
 
Join Date: Mar 2006
I get this error after installation.

Warning: Unknown([path]/includes/functions_post_thanks.php): failed to open stream: No such file or directory in [path]/includes/class_postbit.php(260) : eval()'d code on line 1

Fatal error: (null)() [function.require]: Failed opening required '/home/admin/public_html/forums/includes/functions_post_thanks.php' (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/admin/public_html/forums/includes/class_postbit.php(260) : eval()'d code on line 1
__________________
www.rareclownfish.com. (RCF), we are a growing community that is dedicated to the captive breeding of Marine fishes, with an emphasis on Clownfishes.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:39.

Layout Options | Width: Wide Color: