PDA

View Full Version : [AJAX] Post Thank You Hack



KingSky
10-02-14, 02:17 PM
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?


Pictures:


Showing the 'thanks' button and stats in Postbit
Showing post after 'thanks' (user view)
Showing post after 'thanks' with legacy posts (admin view)
Stats in members profile and link
Link in Search drop down menu
Hacks settings