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.4, by Abe1 (Coder) Abe1 is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.x Rating: (210 votes - 4.76 average) Installs: 2721
Released: 03 Aug 2006 Last Update: 21 Mar 2008 Downloads: 16524
Not Supported DB Changes Uses Plugins Template Edits Additional Files  

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

Post Thank You Hack 7.4


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.

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:	3355
Size:	16.8 KB
ID:	76775   Click image for larger version

Name:	2.jpg
Views:	2347
Size:	29.4 KB
ID:	76776   Click image for larger version

Name:	4.jpg
Views:	2653
Size:	27.1 KB
ID:	76777   Click image for larger version

Name:	5.jpg
Views:	1982
Size:	38.1 KB
ID:	77310  

Click image for larger version

Name:	6.jpg
Views:	779
Size:	5.9 KB
ID:	77311   Click image for larger version

Name:	7.jpg
Views:	1565
Size:	128.0 KB
ID:	77312  

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.8 Add-ons 2386 27 Aug 2019 07:19
[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

  #751  
Old 01 Apr 2007, 20:19
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by vampireus View Post
Hi, I really need that function even if it's not perfect yet. Would you please show me how to do it? Thx a lot.
It would be really painful for users since it wont mark threads as read ever.
__________________
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
  #752  
Old 01 Apr 2007, 21:52
Exitilus's Avatar
Exitilus Exitilus is offline
 
Join Date: Jul 2004
Real name: Derek
I downloaded the Beta earlier in this thread ... have their been any updates to that file? I lost where that thread was *L*
__________________
Owner / Webmaster
House of Crazed
http://www.houseofcrazed.com
Reply With Quote
  #753  
Old 02 Apr 2007, 12:01
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Abe any news on the GOLD version yet bro?

Keep up the good work. Post Groan almost done as well?
Reply With Quote
  #754  
Old 02 Apr 2007, 14:21
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by rjmjr69 View Post
Abe any news on the GOLD version yet bro?

Keep up the good work. Post Groan almost done as well?
Almost ready. I'm just finishing with the post groan update, will release one more RC and then Gold hopefully.
__________________
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
  #755  
Old 02 Apr 2007, 22:14
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Real name: Clément
It would had been really nice to say who was the first author of this hack !
Reply With Quote
  #756  
Old 04 Apr 2007, 03:40
redtailboa redtailboa is offline
 
Join Date: Aug 2004
Feature request:

Limit the amount a user can thank in 24 hours.

Great hack btw!!
__________________
Linuxgangster.org
Reply With Quote
  #757  
Old 04 Apr 2007, 13:40
NolF's Avatar
NolF NolF is offline
 
Join Date: Nov 2006
It is probably going to late to add my suggestions (if you ever have the intention to put them) on the next release but it would be good to consider adding a couple of features to both Thank you and Groan hacks.

IMPORTANT I would add on the user profile a search options to find out which posts X users has either groaned or thanked. I had I look my self but the query would be too complicated for my level . This is important, because immature users tend to abuse from the system either over thanking or over groaning (specially the second one). This feature would make finding this guys much easier.

Another interesting option would be allow X user-groups (defined on acp) to delete all groan/thanked (in one post) instead of hardcoded.

(this one might be in this upcoming version but still...) Number of groaned or thanked posts updated via AJAX.

Add a confirmation when you are going to delete all the thanked or groaned from one post.

In my forum I also added a nice little feature so u can compress who has thanked or groaned a post, this way, good topics are not interrupted when a post is thanked/groaned. (Couldn't get it to use just one image to compress and decompress the table, still... it works xD) [see attachments](PS sorry the buttons are in Spanish, one says "praise" (green) and the other "criticize" (red) and the Chinese things go with the site topic)

Another thing (if reputation activated) I've came to notice is that when you give a thank or groan to a post, afterwards if you try to give reputation to it you get an error message saying this post has already been given reputation, but if you give the reputation first, then you can thank or groan. Maybe this could lead to a db corruption, maybe is harmless, or it was done in purpose so you can do both ^^.

It would be cool to use decimals instead of whole numbers for the reputation feature, put I guess it requires a lot of db changes and of the system it self which would make it a pain in the ass to do.

-------------------------
Besides that, the hack is a joy to have. Will be anxiously waiting for the new versions ^^
Attached Images
File Type: jpg elogio criticas.jpg (6.5 KB, 27 views)
File Type: jpg elo crit 2.jpg (10.4 KB, 27 views)
Reply With Quote
  #758  
Old 05 Apr 2007, 14:48
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Post Thank You Hack 6.0 RC5 Released in this Post.



This is hopefully the finial release candidate for this version.

Some bugs fixed.
Hooks (plug-ins) added around the hack to make it easy to play around with the hack and make your own mods.
Integration with Post Groan Hack 3.0 RC1.

Some template edits changed.
Attached Files
File Type: zip post_thanks_6_0_rc5.zip (20.0 KB, 22 views)
__________________
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
  #759  
Old 05 Apr 2007, 14:53
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Feel free to suggest locations of hooks.
__________________
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
  #760  
Old 05 Apr 2007, 17:45
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Do we have to do the template edits again? For upgraders
Reply With Quote
  #761  
Old 05 Apr 2007, 17:47
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by rjmjr69 View Post
Do we have to do the template edits again? For upgraders
There were a few changes I think. Just look them over to make sure.
__________________
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
  #762  
Old 05 Apr 2007, 18:06
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Thanks installed
Reply With Quote
  #763  
Old 05 Apr 2007, 18:13
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
I can not seem to find any but I did them all over thank you very much. So post groan is done?
Reply With Quote
  #764  
Old 05 Apr 2007, 18:39
NolF's Avatar
NolF NolF is offline
 
Join Date: Nov 2006
Just installed both hacks (groan and thanks), they seem to be working perfectly [3.6.5]. Love the new functions and admin options :P

thanks Abe ^^
Reply With Quote
  #765  
Old 05 Apr 2007, 23:14
RS_Jelle's Avatar
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
A suggestion for the post_thanks_button template: hide the whole HTML code instead of hiding the button with the display:none CSS code. This saves a bit of bandwidth and generates smaller pages. You can also speed it even more up when you replace the template conditional with and if statement for the eval('$post_thanks_button = " ' . fetch_template('post_thanks_button') . '";'); code in the postbit_display_start plugin.
__________________
Now released: DownloadsII 6.0.9 (for vB 4.x) and 5.1.2 (for vB 3.7.x and 3.8.x)
Minatica.be - Belgian/Dutch computer and technology site
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 08:29.

Layout Options | Width: Wide Color: