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: 29511
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:	11362
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:	11466
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

  #406  
Old 21 Mar 2008, 14:51
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by NeutralizeR View Post
I know... but there are 700.000+ posts...
The option on the box with nothing in it.
__________________
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
  #407  
Old 21 Mar 2008, 18:01
Namaless's Avatar
Namaless Namaless is offline
 
Join Date: Sep 2006
Location: Italy
Found problem with gars..
edit the line 222 into function_post_thanks.php and added if statment for check if $thanks is array..

Abe.. need to fix problem with gars add-on... How possible to fix this?

If you want I take to you a gars package..

Thanks
Reply With Quote
  #408  
Old 21 Mar 2008, 18:15
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by Abe1 View Post
Can you revert the template if you edited it? (post_thanks_memberinfo_block)
Yes sir, I could...

What would you like me to change as a test?

Thanks for your help...

http://www.vbulletin.org/forum/showp...&postcount=379

Regards,
Badger
Reply With Quote
  #409  
Old 21 Mar 2008, 23:14
Dabbi's Avatar
Dabbi Dabbi is offline
 
Join Date: Sep 2007
If this has been addressed I'm sorry but is there a way to turn off the tracking on thanks in posts?

So far my membership seems divided on this mod and I'm hoping if there's not the tracking to make it feel like a popularity contest it might help.

Over all I personally think this is a wonderful mod btw.
Reply With Quote
  #410  
Old 23 Mar 2008, 14:46
choccyclaire's Avatar
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
When I upgraded to the newest version, the count doesn't show in their profile;

* Total Thanks:
* Thanked:
times in posts
* Find all thanked posts by choccyclaire
* Find all posts thanked by choccyclaire

But it's missing the numbers. The numbers appear in postbit.

I'm running 3.7 beta 5.

I've also gone through the whole updating counters options.

EDIT: Nvm, I reverted the memberinfo block template. I didn't even know I edited that!
Reply With Quote
  #411  
Old 25 Mar 2008, 05:24
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by Namaless View Post
Found problem with gars..
edit the line 222 into function_post_thanks.php and added if statment for check if $thanks is array..

Abe.. need to fix problem with gars add-on... How possible to fix this?

If you want I take to you a gars package..

Thanks
I want to be able to test it on a live site with gars.
__________________
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
  #412  
Old 25 Mar 2008, 05:26
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by BadgerDog View Post
Yes sir, I could...

What would you like me to change as a test?

Thanks for your help...

http://www.vbulletin.org/forum/showp...&postcount=379

Regards,
Badger
Use the revert option on the template if you have it edited.
__________________
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
  #413  
Old 25 Mar 2008, 05:27
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by Dabbi View Post
If this has been addressed I'm sorry but is there a way to turn off the tracking on thanks in posts?

So far my membership seems divided on this mod and I'm hoping if there's not the tracking to make it feel like a popularity contest it might help.

Over all I personally think this is a wonderful mod btw.
What tracking?
__________________
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
  #414  
Old 25 Mar 2008, 09:31
Sgt Pepper Sgt Pepper is offline
 
Join Date: Mar 2008
Haven trouble here.When i click thanks nothing happens.The icon dissapears and nothing happens any help?
Reply With Quote
  #415  
Old 25 Mar 2008, 12:10
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by Abe1 View Post
Use the revert option on the template if you have it edited.
Ok, I reverted it, but all that did was remove the "Thanks" box as part of the member profile....

It removed this statement ....... $template_hook[memberinfo_foruminfo]

As per the original post, I'm just trying to get a carriage return to separate the two "thanks" statements as opposed to having them run together.

Thanks ..

Regards,
Badger
v3.6.7pl1
Reply With Quote
  #416  
Old 26 Mar 2008, 04:48
SCRIPT3R SCRIPT3R is offline
 
Join Date: Jan 2005
Originally Posted by BadgerDog View Post
As per the original post, I'm just trying to get a carriage return to separate the two "thanks" statements as opposed to having them run together.

Thanks ..

Regards,
Badger
v3.6.7pl1
If the attached image is what you're after; there's a few ways to accomplish this, but an easy one...

In the product-post_thanks.xml file...

Find...


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


Replace with...


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

Attached Images
File Type: jpg thnxbr.jpg (31.7 KB, 36 views)
Reply With Quote
  #417  
Old 26 Mar 2008, 11:45
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by GearTripper View Post
If the attached image is what you're after; there's a few ways to accomplish this, but an easy one...
Thank you Sir ...

Worked great .... appreciate it ...

Regards,
Badger
Reply With Quote
  #418  
Old 26 Mar 2008, 16:05
Dabbi's Avatar
Dabbi Dabbi is offline
 
Join Date: Sep 2007
Originally Posted by Abe1 View Post
What tracking?
Sorry.. I probably used the wrong term (I'm still fairly new to vBulletin, etc and and still learning terminology). What I'm talking about is where it tracks thanks and thanked under "posts" etc like this:
Join Date: Jul 2005
Location: Living On The Edge - NNY
Posts: 2,987
Thanks: 5
Thanked 20 Times in 13 Posts
Can I turn the bolded part off?

Thanks!
Reply With Quote
  #419  
Old 26 Mar 2008, 18:01
Namaless's Avatar
Namaless Namaless is offline
 
Join Date: Sep 2006
Location: Italy
Originally Posted by Abe1 View Post
I want to be able to test it on a live site with gars.
You have a MP :P
Reply With Quote
  #420  
Old 26 Mar 2008, 18:22
zmmmzz zmmmzz is offline
 
Join Date: Nov 2007
Abe what conditional should I use in the template to show something only to members who have already said thanks?
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 13:44.

Layout Options | Width: Wide Color: