The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[AJAX] Post Thank You Hack Details »» | |||||||||||||||||||||||||
Post Thank You Hack 4.5 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. Features:
Version 2.0 GOLD (10/02/05):
Version 2.7 (12/18/05):
Version 2.8 (2/5/06):
Version 2.9 (2/8/06):
Version 3.0 (2/10/06):
Version 3.1 (2/11/06):
Version 3.2 (2/13/06):
Version 3.3 (2/14/06):
Version 3.4 (3/17/06):
Version 4.0 (4/17/06):
Version 4.1 (4/18/06):
Version 4.2 (4/23/06):
Version 4.3 (5/4/06):
Version 4.4 (5/7/06):
Version 4.5 (6/19/06):
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:
Show Your Support
|
Comments |
#742
|
|||
|
|||
Uses AJAX technology so your users don't have to refresh when they thank.
-------------------- very cool feature |
#743
|
|||
|
|||
Wonderful hack, really something I've been looking for.
I've got a few small problems though, because I'm trying to keep my forum a bit minimalistic (my taste ) I've been trying to put the list of users who thanked into a popup menu, similiar to the one you get if you click on a username. To do this I've added a new button besides the "Reputation" one which needs to be clicked to see this menu. The code I've used for this: After "$post[iplogged]" Code:
<!-- Start Modified Post Thank You Hack --> $post_thanks <!-- End Modified Post Thank You Hack --> Code:
<!-- Start Modified Post Thank You Hack --> <!-- post $post[postid] info menu --> <div class="vbmenu_popup" id="infomenu_$post[postid]_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="userinfo" id="post_thanks_box_$post[postid]"> $post_thanks_box </td> </tr> </table> </div> <span id="infomenu_$post[postid]"><a href=""><img class="inlineimg" src="$stylevar[imgdir_button]/info.gif" alt="Post Info" border="0" /><script type="text/javascript"> vbmenu_register("infomenu_$post[postid]", true); </script></span> <!-- End Modified Post Thank You Hack --> It's working fairly well, I've got a few problems that I couldn't find a solution for though: How can I 'extend' the hack some so I'll able to hide the info.gif image if there are no users who thanked for a post. And how can I make sure the list will be updated when a user clicks the "Thanks" button? I'm afraid I destroyed the AJAX somewhere but can't figure out where it was. Thanks a lot for your help, hopefully there are also other users interested in this. Edit; reduced the template edits by one, still hoping for someone to help me fixing the bugs! |
#744
|
|||
|
|||
Do you have a demo of your extra bit or a screener please,
Do you think you could do the same for the post groan? Pehaps you can release yours as an add on for these 2 hacks.. Its just that my post bit is looking a tad full ya see and getting rid of the thanks and groans amounts would be a godsend Quote:
|
#745
|
|||
|
|||
As soon as I've made sure all bugs are gone I'll definitely release it here (if Abe allows me, which shouldn't be too much of a problem as it's only a template edit).
You can find somewhat of a "demo" here: http://otfans.net/showthread.php?p=347708. Code:
Logon with vBtest / test |
#746
|
|||
|
|||
wow...that is 100% brill m8...
look forward to the release if its allowed Thanks for the login! |
#747
|
||||
|
||||
Quote:
|
#748
|
|||
|
|||
I'm glad to hear that, could you also help me out some with the two problems I'm experiencing (which I posted a way up), thanks a lot.
|
#749
|
|||
|
|||
Hi Yorixz I am not seeing a post_thanks_box template, i have a post_thanks_groan template though....?
|
#750
|
|||
|
|||
I haven't got the Groan Hack installed so I don't know if/what templates it's overwriting. The post_thanks_box template is the one that has all the Javascript of the AJAX in it and at the bottom one line of HTML.
|
#751
|
|||
|
|||
im kinDA congfused, when u say
Do the template edits in postbit AND postbit_lagacy: find: -------------------------------------------------------------------- $vbphrase[posts]: $post[posts] -------------------------------------------------------------------- AFTER place this: -------------------------------------------------------------------- <!-- Start Post Thank You Hack --> <if condition="$post[userid]"> <br /> $vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount] <br /> <if condition="$post[post_thanks_thanked_times_on] == 1"> $vbphrase[post_thanks_time_post] <else /> <if condition="$post[post_thanks_thanked_posts_on] == 1"> <phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase> <else /> <phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase> </if> </if> </if> <!-- End Post Thank You Hack --> -------------------------------------------------------------------- i am using ------ Find and Replace in Templates (be careful!)----- shoud i ------ Search for Text then =------- replace with text? Meaning the value that u given should be replace or just add it to the variable ? sample $vbphrase[posts]: $post[posts] replace by <!-- Start Post Thank You Hack --> <if condition="$post[userid]"> <br /> $vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount] <br /> <if condition="$post[post_thanks_thanked_times_on] == 1"> $vbphrase[post_thanks_time_post] <else /> <if condition="$post[post_thanks_thanked_posts_on] == 1"> <phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase> <else /> <phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase> </if> </if> </if> <!-- End Post Thank You Hack --> OR $vbphrase[posts]: $post[posts] then i just insert below this <if condition="$post[userid]"> <br /> $vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount] <br /> <if condition="$post[post_thanks_thanked_times_on] == 1"> $vbphrase[post_thanks_time_post] <else /> <if condition="$post[post_thanks_thanked_posts_on] == 1"> <phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase> <else /> <phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase> </if> </if> </if> <!-- End Post Thank You Hack --> Sorry for the stupid question |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|