The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[AJAX] Post Thank You Hack Details »» | |||||||||||||||||||||||||
vB 3.7 version of this hack here: https://vborg.vbsupport.ru/showthread.php?t=165673
vB 4.0 version of this hack here: https://vborg.vbsupport.ru/showthread.php?t=231666 Post Thank You Hack 7.4 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:
Updates: Version 7.0 (12/20/07):
Version 7.1 (12/24/07):
Version 7.2 (01/24/08):
Version 7.3 (03/15/08):
Version 7.4 (03/21/08):
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:
Supporters / CoAuthors Show Your Support
|
Comments |
#1432
|
|||
|
|||
Thanks Abe1 for this hack. I installed this the other day and everyone loves it. I changed things up a little bit and made it so when user click the thanks or groan it keeps a running total (+3 or -1, that type of thing) and displays that. The buttons also grey out instead of disappearing.
You can see it at http://www.stirrdup.com if you're logged in if anyone is interested. I thought I had seen this sort of thing requested somewhere or another. I'll throw it together and upload it somewhere if anyone wants it, though I don't know how tough it would be to edit it to work with a default installation. Thanks Abe! |
#1433
|
|||
|
|||
I've got a question. To express, I made a little animated graphic.
|
#1434
|
||||
|
||||
Edit the post_thanks_postbit template. Look at one of the first things in there. I think you have to change a number from 5 to 0.
|
#1435
|
|||
|
|||
Thank you. Another question:
I don't see a border around the Thanks-Box in the postbit_legacy, but in postbit I do. post_thanks_postbit: Code:
<div style="padding:0px 0px 0px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt2" style="padding:0px"> <if condition="$post['post_thanks_amount'] == 1"><strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong> <else /><strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong></if> </td> <if condition="$bbuserinfo['usergroupid'] == 6"><td class="alt2" style="padding:0px" align="right" nowrap="nowrap"> <a href="post_thanks.php?do=post_thanks_remove_all&p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a> </td></if> <if condition="$post['show_thanks_remove_option']"><td class="alt2" style="padding:0px" align="right" nowrap="nowrap"> <a href="post_thanks.php?do=post_thanks_remove_user&p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a> </td></if> </tr> <tr><td class="alt1" colspan="3"><div>$post[post_thanks_bit]</div></td></tr> </table> </div> post_thanks_postbit_legacy no Border?! Code:
<div style="padding:0px 0px 0px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"> <tr valign="top"> <td class="alt2" width="162"> <if condition="$post['post_thanks_amount'] == 1"><strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong> <else /><strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong></if> <if condition="$bbuserinfo['usergroupid'] == 6"><br /> <a href="post_thanks.php?do=post_thanks_remove_all&p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a> </if> <if condition="$post['show_thanks_remove_option']"><br /> <a href="post_thanks.php?do=post_thanks_remove_user&p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a> </if> </td> <td class="alt1"> <div>$post[post_thanks_bit]</div> </td> </tr> </table> </div> |
#1436
|
|||
|
|||
Tonight I tried to fix this hack, I have 3.6.7 PL1. After I thank someone, I get this at the very top of the page, above the header....
Warning: Illegal offset type in /includes/functions_post_thanks.php on line 110 Warning: Illegal offset type in /includes/functions_post_thanks.php on line 110 Then, when I try to post in the thread that I just thanked someone in, I get this error... Unable to add cookies, header already sent. File: /homepages/42/d193140338/htdocs/marshmarauders/forums/includes/class_core.php Line: 3083 Any help? I would like to use this MOD. However I have disabled it again until I can get some help. |
#1437
|
||||
|
||||
i have vb v3.6.7 pl1 after i upgraded the mod from v5 to v6.2 i can't see the thankyou button or the users who thanked the post writer, dunno what the cuz and i done everything exactly as the Instructions says and i upload every file in the right palce -_- any help plz i really need it to work thx alot
edit: also i have the product template hook vb367 fix installed -_- |
#1438
|
|||
|
|||
Quote:
|
#1439
|
||||
|
||||
Please read this: http://www.vbulletin.com/forum/showthread.php?t=229448 (post 2)
|
#1440
|
||||
|
||||
i didn't get what i have to do with this post -__- would u explain more is there some changes i have to do to show the thankyou button and the users who thanked the post writer if so could u explain more
thx alot for ur support |
#1441
|
||||
|
||||
You have to revert the templates that have a $template_hook in it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|