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

Name:	2.jpg
Views:	9112
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

  #1606  
Old 10 Jun 2009, 00:49
vivoperdio's Avatar
vivoperdio vivoperdio is offline
 
Join Date: Jun 2009
Question About: Uninstallation

In case I'm uninstalling, will the thank's database removed as well (can I uninstall it completely) ?
Reply With Quote
  #1607  
Old 10 Jun 2009, 15:34
hlaingmu hlaingmu is offline
 
Join Date: Apr 2009
After installing this hack, the info of "thanks" & "Thanked" still missing in postbit legacy///

pls. help me how to show that info in postbit...

I want to put the info like in attached file...

But those are missing in my postbit
Attached Images
File Type: jpg Capture.jpg (6.1 KB, 10 views)
Reply With Quote
  #1608  
Old 10 Jun 2009, 19:03
dazed12 dazed12 is offline
 
Join Date: Jul 2006
Originally Posted by hlaingmu View Post
After installing this hack, the info of "thanks" & "Thanked" still missing in postbit legacy///
pls. help me how to show that info in postbit...
I want to put the info like in attached file...
But those are missing in my postbit
admincp -> styles and templates -> 'postbit' or 'postbit_legacy (depending on what you have selected for users to see)
-------------------------------------------------------------------------

you need to find "$template_hook[postbit_userinfo_right_after_posts]"
Look at the other post info and see what it is being wrapped with in your style.

Example of how a custom style uses .css to wrap it.

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


Last edited by dazed12; 10 Jun 2009 at 19:31.
Reply With Quote
  #1609  
Old 11 Jun 2009, 14:31
hlaingmu hlaingmu is offline
 
Join Date: Apr 2009
Got it. Working perfect..!!!!

Thanks a lot.
Reply With Quote
  #1610  
Old 12 Jun 2009, 22:15
bvbuk bvbuk is offline
 
Join Date: Mar 2008
is there anyway that Moderators have access to the banning of users and removing thank yous from a single post?

Thanks.
Reply With Quote
  #1611  
Old 14 Jun 2009, 18:42
Juvefan Juvefan is offline
 
Join Date: Jan 2006
Is there any way to import thanks counters from a vbulletin to another vbulletin?
Reply With Quote
  #1612  
Old 15 Jun 2009, 07:41
hdrmut hdrmut is offline
 
Join Date: Aug 2005
Originally Posted by tldagent View Post
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.

Thanx .. this is helpful
Reply With Quote
  #1613  
Old 15 Jun 2009, 10:45
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
(Utterly) Bad Query


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

This is caused by

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

You might als want to use slave db.
Reply With Quote
  #1614  
Old 15 Jun 2009, 11:08
bongmatinhoc bongmatinhoc is offline
 
Join Date: Feb 2008
i hack mod thanks
when click quote, it take
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
Reply With Quote
  #1615  
Old 16 Jun 2009, 08:07
lood lood is offline
 
Join Date: Nov 2005
I enabled the thank limit per day, and mysql cpu usage jimped from 23% to 500% !!!
(3M post.)
Reply With Quote
  #1616  
Old 16 Jun 2009, 17:07
6piston's Avatar
6piston 6piston is offline
 
Join Date: Apr 2005
hi abe, can i display avatars instead of the users who thanked the post?

thanks!
tom
Reply With Quote
  #1617  
Old 16 Jun 2009, 20:32
kyrenator kyrenator is offline
 
Join Date: Apr 2009
can i make the thanks button to bump the topic?
Reply With Quote
  #1618  
Old 16 Jun 2009, 22:08
Loki12 Loki12 is offline
 
Join Date: Jul 2004
Originally Posted by Vitaly View Post
Tested at debug site. Some comments:

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?
Reply With Quote
  #1619  
Old 16 Jun 2009, 22:17
Loki12 Loki12 is offline
 
Join Date: Jul 2004
Originally Posted by Loki12 View Post
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?
Actually, quite easy. Just disable this plugin:

global_setup_complete

Reply With Quote
  #1620  
Old 17 Jun 2009, 06:46
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Real name: Jack
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"?

Regards guys!
__________________
cobraws
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 06:46.

Layout Options | Width: Wide Color: