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: 29512
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:	11364
Size:	16.8 KB
ID:	77303   Click image for larger version

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

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

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

Click image for larger version

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

Name:	7.jpg
Views:	6291
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 19:50
[AJAX] Post Groan Hack Abe1 vBulletin 3.5 Add-ons 66 09 Jun 2013 06:09
[AJAX] Post Thank You Hack Abe1 vBulletin 3.5 Add-ons 998 23 Dec 2012 07:24

  #421  
Old 27 Mar 2008, 00:22
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by zmmmzz View Post
Abe what conditional should I use in the template to show something only to members who have already said thanks?
Well "$display_thanks_image == 'none'" should show the text if the thanks button will not be showing.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #422  
Old 27 Mar 2008, 19:06
zmmmzz zmmmzz is offline
 
Join Date: Nov 2007
Originally Posted by Abe1 View Post
Well "$display_thanks_image == 'none'" should show the text if the thanks button will not be showing.
ok and can I use something like this in the template?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #423  
Old 28 Mar 2008, 15:32
popowich popowich is offline
 
Join Date: Jun 2004
Hi. I did something really dumb. It was late, and for some reason while upgrading from vb 3.6.8 to 3.7 I uninstalled the old thanks before installing the new one. Everyone lost their thanks and some people are pissed. I have good daily backups. I restored the post_thanks table. What else do I need to restore to make the thanks show up in threads and have the thanks counts be correct? Thank you very much!

-Raymond
Reply With Quote
  #424  
Old 29 Mar 2008, 21:25
etechno etechno is offline
 
Join Date: Aug 2007
Real name: George Constantine
On our MySQL Server (5.2.5) I'm just reporting this too you on install took about 1 minute to go thru and install via the product plugin xml:

TOP:

PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND
23299 mysql 22 6 72.7 9:49.76 5.8 370m 117m 3908 S /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var
Just wanted to point this too you so if others have issues you may wanna look into this.

I did an strace on the PID as well at the same time and confirmed it was this install.
Reply With Quote
  #425  
Old 01 Apr 2008, 14:41
physiart physiart is offline
 
Join Date: Nov 2007
Thanks for the hack {clicked install}.

Is there a way to display thanked posts as new posts when clicking on the "New Posts" button?

P.S. BTW, what's a markup username?

Last edited by physiart; 01 Apr 2008 at 15:26.
Reply With Quote
  #426  
Old 01 Apr 2008, 17:14
MR-2ZZ MR-2ZZ is offline
 
Join Date: Nov 2004
Real name: Jae
I didnt see but is there a way to limit the amount of thanks a person gives in a day?
Reply With Quote
  #427  
Old 01 Apr 2008, 18:57
tgillespie's Avatar
tgillespie tgillespie is offline
 
Join Date: Jul 2002
Real name: Trent Gillespie
Great hack. Thanks a bunch. I've modified it a bit to act more or less like a Digg system. Saved me a lot of time.

My only question, is there a way to show the search results as thread titles only? I've modified $showposts in post_thanks.php to 0, but it still shows the posts and not thread titles only. Any help appreciated.
__________________
Trent Gillespie
The ModTheater
Reply With Quote
  #428  
Old 01 Apr 2008, 22:07
Namaless's Avatar
Namaless Namaless is offline
 
Join Date: Sep 2006
Location: Italy
Abe you have news for GARS integration?
Thanks ^_^
Reply With Quote
  #429  
Old 04 Apr 2008, 00:20
mblb mblb is offline
 
Join Date: Mar 2008
Real name: Lisa
It's not working properly for me. The buttons are showing but when you click one they just both disappear. They don't count. I am using 3.6.9
Reply With Quote
  #430  
Old 04 Apr 2008, 14:41
Chris-777's Avatar
Chris-777 Chris-777 is offline
 
Join Date: Jan 2006
Real name: Chris
Is there a way to disable the auto-insert of the thanks button, and manually add it to skins? This hack works fine, but it's putting my (heavy) normal thanks button into my mobile theme, and I can't seem to find where to remove it.
Reply With Quote
  #431  
Old 04 Apr 2008, 22:37
Sothside40's Avatar
Sothside40 Sothside40 is offline
 
Join Date: Feb 2008
the system was being abused on my forum and now no one wants it, is there a way to disable the thanks-reputation system....and take off all of the rep that the users got from the thanks hack??
Reply With Quote
  #432  
Old 05 Apr 2008, 02:47
maidos maidos is offline
 
Join Date: Jul 2006
when posting thanks can you make so a special icon appear on the forum sections thread, since its better if to know who that just used the thank you button
Reply With Quote
  #433  
Old 05 Apr 2008, 07:58
tgillespie's Avatar
tgillespie tgillespie is offline
 
Join Date: Jul 2002
Real name: Trent Gillespie
Originally Posted by Sothside40 View Post
the system was being abused on my forum and now no one wants it, is there a way to disable the thanks-reputation system....and take off all of the rep that the users got from the thanks hack??
Backing out the reputation given is probably going to be hard. The hack adds rep to the original rep system, and is not stand alone. I would presume the only way to back it out would be manually. As far as controlling rep, you might consider lowering the rep amount to a small number or even 0.
__________________
Trent Gillespie
The ModTheater
Reply With Quote
  #434  
Old 05 Apr 2008, 10:28
rizelim's Avatar
rizelim rizelim is offline
 
Join Date: Nov 2006
Thanks
__________________
Temizel Lift Community
Reply With Quote
  #435  
Old 06 Apr 2008, 13:58
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by popowich View Post
Hi. I did something really dumb. It was late, and for some reason while upgrading from vb 3.6.8 to 3.7 I uninstalled the old thanks before installing the new one. Everyone lost their thanks and some people are pissed. I have good daily backups. I restored the post_thanks table. What else do I need to restore to make the thanks show up in threads and have the thanks counts be correct? Thank you very much!

-Raymond
Run the recounters.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
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 01:12.

Layout Options | Width: Wide Color: