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

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

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

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

Click image for larger version

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

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

  #2221  
Old 03 Mar 2012, 00:07
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
This has to modify the post table so it can take a long time. It's possible it may even time out.

I would suggest closing your forum before trying to install again.

You can open the xml file and you will see the queries it tries to run during install- you may try running them manually.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #2222  
Old 03 Mar 2012, 02:57
Gladius2007 Gladius2007 is offline
 
Join Date: Nov 2007
Thanks for the response - I actually "fixed" it by rerunning the install - that went through the ACP skin reload and the final steps in like 2 seconds and everything SEEMS to be working now (*knocks on wood*). Maybe it initially timed out just before completing, or was it the fact that I didn't tick YES on overwrite? I thought that that was relevant only for upgrades, but I did it the second time around for obvious reasons...
Reply With Quote
  #2223  
Old 03 Mar 2012, 16:13
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Like BOP5 said it does take a long time if you have a large post table, if it timed out then ticking the overwrite was the right thing to do although it may not have completed the whole post table, but if it appears to be working then all well and good
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #2224  
Old 03 Mar 2012, 18:54
Gladius2007 Gladius2007 is offline
 
Join Date: Nov 2007
Hm, is there any easy way to check if it properly processed the whole post table?
Reply With Quote
  #2225  
Old 03 Mar 2012, 19:08
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Check using phpmyadmin (or whatever you want) to check if you have this field in the post table: post_thanks_amount

Also make sure every entry is set to 0 or a number. You can sort the results by this field and make sure there aren't any empty entries.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #2226  
Old 03 Mar 2012, 19:53
Gladius2007 Gladius2007 is offline
 
Join Date: Nov 2007
Is there a query I could run to check this? I've got over 15k user records...
Reply With Quote
  #2227  
Old 03 Mar 2012, 20:02
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
In phomyadmin simply "browse" the table... Click on the field name post_thanks_amount and it will sort the column from lowest to highest value. Make sure the first value is zero.

Then click on the post_thanks_amount field again, now it will sort results from highest to lowest... Make sure again that there is a number in that box too.

If the highest and lowest values are both numbers you are good.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #2228  
Old 03 Mar 2012, 22:00
Gladius2007 Gladius2007 is offline
 
Join Date: Nov 2007
Hm... I've got a separate table "vb_post_thanks" and it contains the usernames of the members who have given thanks...

Inside the post table / post_thanks_amount / all I see is this:


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

Note that only two users have received thanks so far... so does that look right?
Reply With Quote
  #2229  
Old 03 Mar 2012, 23:12
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
The default value for post_thanks_amount was 0 so I think every post (except the 2 that got thanks) should show 0.

But if it's working, don't worry about it.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #2230  
Old 03 Mar 2012, 23:38
Gladius2007 Gladius2007 is offline
 
Join Date: Nov 2007
Ok, thanks.
Reply With Quote
  #2231  
Old 10 Mar 2012, 14:01
Jaydee 2 Jaydee 2 is offline
 
Join Date: Oct 2008
Real name: Jörg
Thanks for that.
Once again installed on a 3.8.7 plattform. (and translated into german language)
Reply With Quote
  #2232  
Old 23 Mar 2012, 11:33
mblesch mblesch is offline
 
Join Date: Jun 2009
Thumbs up

Awesome mod. Installed in minutes.
Reply With Quote
  #2233  
Old 23 Mar 2012, 22:33
BrightStar's Avatar
BrightStar BrightStar is offline
 
Join Date: Nov 2008
Ignore me........
Reply With Quote
  #2234  
Old 09 Apr 2012, 21:10
shervin_dvb shervin_dvb is offline
 
Join Date: May 2008
Originally Posted by HastleGames View Post
i have the same error
Originally Posted by alexchairman View Post
Any one Please give me Post Thank error solution

Member total post 25 but thanks showing 4294967295

how to fix this error
i have the same error
Reply With Quote
  #2235  
Old 13 Apr 2012, 16:35
Aexo's Avatar
Aexo Aexo is offline
 
Join Date: Sep 2008
Originally Posted by shervin_dvb View Post
i have the same error
Idem
Any solution?
__________________
Aexo Auseva
ClubiFone
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 16:13.

Layout Options | Width: Wide Color: