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.
could this "feature" be an option at all for the user? how will pop-up blockers respond/interfere with this?
It is a direct pop-up on the click so a pop-up blocker should not disrupt it. They only block pop-ups that pop-up while a page is doing something else and not when a user clicks on a link that is a pop-up.
sorry for not explaining ...
i responded to Don corleone.......who asked about integrating th thank yu hack with hide hack.......
it would either be with the lockdown hack.....(reply to view the link) or the hide hack (register to view)......
but instead of (register to view link) in the hide hack....or instead of (reply to view the link) in lockdown hack.......i think he refeered to press thankyou button to see the link.....
sorry for not explaining ...
i responded to Don corleone.......who asked about integrating th thank yu hack with hide hack.......
it would either be with the lockdown hack.....(reply to view the link) or the hide hack (register to view)......
but instead of (register to view link) in the hide hack....or instead of (reply to view the link) in lockdown hack.......i think he refeered to press thankyou button to see the link.....
again my apologies .......
kind regards
I can't intergade with a hack that blocks unregistered users. I can intergrade with a reply hack. I need a link.
Hey, nice hack there you made Abe1. /me clicked installed.
I made a modification to optimize the querying part of the hack as follow:
In plugin Post Thank You Hack at postbit_display_start, I'd changed:
PHP Code:
$post_thanks_querys = $db->query("SELECT postid FROM ". TABLE_PREFIX ."post WHERE threadid = '$post[threadid]'");
$post_thanks_postids = 0;
while ($post_thanks_query = $db->fetch_array($post_thanks_querys))
{
$post_thanks_postids .= ",$post_thanks_query[postid]";
}
$post_thanks_cashe = $db->query("SELECT * FROM " .TABLE_PREFIX. "post_thanks WHERE postid IN ($post_thanks_postids) ORDER BY username ASC");
Into
PHP Code:
$post_thanks_cashe = $db->query("SELECT " . TABLE_PREFIX . "post_thanks.* FROM " . TABLE_PREFIX . "post_thanks, " . TABLE_PREFIX . "post WHERE post.postid = post_thanks.postid AND post.threadid = '$post[threadid]' ORDER BY " . TABLE_PREFIX . "post_thanks.username ASC");
It shortened the querying by one query, for some small or moderate boards, it doesn't make any noticeable different. But in any large board, it does help a lot.
You can include the mod if you want. Thanks for great hack!