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 granted liking by ALL the members of your forum.
[FIXED] Bug with AJAX if you had the date showing.
Version 4.5 (6/19/06):
[FIXED] Bug with AJAX if you had hacks that added things to your output.
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:
Showing the 'thanks' button and stats in Postbit
Showing post after 'thanks' (user view)
Showing post after 'thanks' (admin view)
Showing post after 'thanks' with legacy posts (admin view)
Stats in members profile and link
Link in Search drop down menu
Hacks settings
This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
No, we're not talking about where the button goes, we're talking about the code that feeds this:
HTML Code:
$post_thanks_button
It is aligning LEFT, even though it is wrapped in center tags.
HTML Code:
<center><if condition="$show['quickreply'] AND !$show['threadedmode']"><a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a></if><!-- Start Post Thank You Hack -->
$post_thanks_button
<!-- End Post Thank You Hack --><if condition="$post['editlink']"><a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a></if></center>
All of the other buttons in our fieldset align center as they should. The post thanks button is the ONLY one that aligns left :ermm: When a thread is closed the edit and quick reply buttons do not appear, just the thanks button appears, only it aligns left :ermm: We need to fix that or we cannot use the hack, and we'd really like to use it. We just need to know where that button is picking up the left align from...
No, we're not talking about where the button goes, we're talking about the code that feeds this:
HTML Code:
$post_thanks_button
It is aligning LEFT, even though it is wrapped in center tags.
HTML Code:
<center><if condition="$show['quickreply'] AND !$show['threadedmode']"><a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a></if><!-- Start Post Thank You Hack -->
$post_thanks_button
<!-- End Post Thank You Hack --><if condition="$post['editlink']"><a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a></if></center>
All of the other buttons in our fieldset align center as they should. The post thanks button is the ONLY one that aligns left :ermm: When a thread is closed the edit and quick reply buttons do not appear, just the thanks button appears, only it aligns left :ermm: We need to fix that or we cannot use the hack, and we'd really like to use it. We just need to know where that button is picking up the left align from...
The code is in the plugin. I will move it to a template some day in the future.