vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=165673

[AJAX] Post Thank You Hack
by Abe1
20 Dec 2007 04:19

7 Attachment(s)
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

mktrilogy 20 Dec 2007 04:41

thanks i have it on reserved :)

dbirosel 20 Dec 2007 04:43

Great Job on the update Abe1! Anything changed on this new version? Is the code different from the 3.6 version?

Abe1 20 Dec 2007 04:46

Quote:

Originally Posted by dbirosel (Post 1405158)
Great Job on the update Abe1! Anything changed on this new version? Is the code different from the 3.6 version?

No new features for <3.7

3.7 users will get the updated Profile.

BUT, if you install this version now, when you upgrade to vb3.7, you wont have to update this hack.

Atwal 20 Dec 2007 05:12

Thanks.. Do you think you can update the Post Groan, Can't Thank and Groan the Same Post, & Admin Log In As User from 3.6 to 3.7?? Or will those already work?

Audentio 20 Dec 2007 05:15

Thanks a lot, I was waiting for this. I was using the older version on my 3.7 and it worked fine, just so you know.

EDIT: In the member.php, Im not getting the text "Total Thanks" Im just getting a small box for a tab.

http://audentio.com/forums/member.php?u=2

Abe1 20 Dec 2007 05:19

Quote:

Originally Posted by Atwal (Post 1405165)
Thanks.. Do you think you can update the Post Groan, Can't Thank and Groan the Same Post, & Admin Log In As User from 3.6 to 3.7?? Or will those already work?

You should be able to use both together right now but I hope to out with Post Groan soon.
Quote:

Originally Posted by Audentio (Post 1405167)
Thanks a lot, I was waiting for this. I was using the older version on my 3.7 and it worked fine, just so you know.

http://audentio.com/forums/member.php?u=2

The profile page was not right.

Abe1 20 Dec 2007 05:24

Quote:

Originally Posted by Audentio (Post 1405167)
Thanks a lot, I was waiting for this. I was using the older version on my 3.7 and it worked fine, just so you know.

EDIT: In the member.php, Im not getting the text "Total Thanks" Im just getting a small box for a tab.

http://audentio.com/forums/member.php?u=2

Dont know. It should be a phrase. I've tested it on another forum and it works fine. Can I check out your ACP?

NeutralizeR 20 Dec 2007 05:36

Will you add Vbulletin Blog support?

Abe1 20 Dec 2007 05:39

Quote:

Originally Posted by NeutralizeR (Post 1405175)
Will you add Vbulletin Blog support?

Hopefully. I'm working on it.

Noctavia 20 Dec 2007 05:47

I was wondering if there's a way to make the thankyou box only appear after say 2 or 3 separate people have thanked the post? I'm wanting to use the hack to highlight the outstanding posts on my forum, and a couple of people seem the be very thankful for all sorts of things. I'd like it so that if the thank you box doesn't show until multiple people have said thanks for it.

vwdforum 20 Dec 2007 06:31

thanks lol (hope you got it)

kollam003 20 Dec 2007 06:43

thanks updated its a wonderful hack !!!

vuiveclub 20 Dec 2007 07:28

Quote:

Version 7.0 (12/20/06)
Today 20 Dec 2007 or 2006? :)
Thanks for this hack Abe

Ba$im 20 Dec 2007 10:30

thanx.


All times are GMT. The time now is 13:40.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.