About this hack:
This hack allows users to thank someone for a post without making a big mess on your forum. I'm sure most of you HATE when people just make a post that says 'thank you'. Also, for those people who don't like making the 2 word post, this gives them a chance to say thanks. It's also good for users of your forum who post something helpful and want to see if people really used their information.
There is a similar hack called 'Automatic Thank You Hack'. That hack only lets you thank the first post of a thread not just any post. It's also unsupportive and was release for an older version of vbulletin.
Features:
Places an easy to use button next to the edit button
Separate looks for postbit and postbit_legacy
Places all Thank Yous into one small box
Users can't thank twice
Users can't thank their own post
Guests don't see 'thanks' button
Separate PHP for actions
Option to turn off hack for individual forums
Option to turn off hack for all but first post of a thread
Option to turn off hack view of date for separate or all forums
Counts how many thanks a user gives
Counts how many thanks a post gets
Update Counters in ACP (found in 'Import & Maintenance')
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
Administrator can remove all Thank Yous from a single post
Uses Phrases
New set of options. Found in main ACP options.
Turn on and off hack
Turn on and off hack for only some forums
Ban Usergroups
Ban Users
Comes with easy installer/updater/uninstaller file
Guaranteed to be liked by ALL users on your forum!
Installation information on hack:
File edits: 2
Template edits: 3
New Phrases: 42 (installer installs them)
New Templates: 2 (installer installs them)
Queries: 14 excluding phase and template queries (installer installs it)
Files to upload: 4
Time to install: 5-10 minutes
NO KNOWN BUGS, HAVE NO FEAR
Updates:
Version 0.1 (11/24/04):
First beta release
Version 0.2 (11/26/04):
Fixed what you should look for in file /includes/functions_showthread.php
Thank You Button doesn?t show if user used it already
Thank You Button doesn?t show in private messages
Fixed installation for forums that have a 'TABLE_PREFIX'
Administrators can delete all Thank Yous for a single post
Users can't thank them-selves
Version 0.3 (11/29/04):
Guests don't see 'thanks' button
Separate PHP for actions
Option to turn off hack for individual forums
Option to turn off hack for all but first post of a thread
Version 0.4 (12/06/04):
Option to turn off hack view of date for separate forums
Counts how many thanks a user gives
Counts how many thanks a post gets
Update Counters in ACP (found in 'Import & Maintenance')
Shows how many thanks a user gave in every post of his
Shows how many thanks a user gave in profile
Version 0.5 (12/13/04):
Shows how many thanks a user got
Shows how many posts or a user are thanked
Shows info in Profile
Version 0.6 (12/21/04):
New set of options. Found in main ACP options.
Removed option in 'forum' options
Turn off view of date for ALL forums
Turn on and off hack
Turn on and off hack for only some forums
Ban Usergroups
Ban Users
On List for a Future Version:
I hope this is the last beta. Any more ideas, say them quick. Final version hopefully next week.
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.
Can this be fixed to display only on the original post in the thread?
I like your hack better than the other version, but prefer it to show up once per thread.
My hack lets you thank every post, not just the first. Meny times a person will post a very useful post somewere in a thread not just the first post. I may com out with settings that lets you turn off on all post exect for first.
My hack lets you thank every post, not just the first. Meny times a person will post a very useful post somewere in a thread not just the first post. I may com out with settings that lets you turn off on all post exect for first.
Thanks, it would be very helpful for me. Is there an easy way to do that now?
Thanks, it would be very helpful for me. Is there an easy way to do that now?
Maybe in the postbit you should put
HTML Code:
<!-- post thank you hack --><if condition="$postcount==1"><a href="newreply.php?do=post_thanks&p=$post[postid]"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" ></a></if><!-- end post thank you hack -->
Didn't try it, but I think it should remove the button if it's not the first post.