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 STAFF EDIT: Note - The mod author has been unreachable for some time, but the vbulletin.org community has stepped up to provide a number of individual fixes over the years. ForceHSS, Hippy, and Seven Skins have all combined many of these fixes into product files. ALL CREDIT STILL GOES TO ABE1 And this is still 'his' mod. Please still mark the mod as installed if you use any version of it. That said so you don't need to apply a dozen + small fixes yourself you should consider downloading one of the updated packages below: Hippy has one in this post. AND / OR ForceHSS has one in this post. AND/OR Seven Skins has one in this post. - Original File Specs: post_thanks_7_82.zip (26.4 KB, 24844 downloads) - Original file removed, replaced with patched files including search fix (some admins noticed hackers attempting to use outdated code to exploit search in attempt to gain administrator password or similar). - There are five total patched versions available, some with and without the search fix - I've replaced the main file with the patched versions... please be sure to download and install the correct version, the main mod post contains links to additional information and patched files! - If Abe1 returns he can request these packages be removed. 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:
Version 7.80 (12/30/09):
Version 7.81 (01/02/10):
Version 7.82 (01/03/10):
Download Now
Supporters / CoAuthors Show Your Support
|
92 благодарности(ей) от: | ||
armagan, Baja, BasicGreatGuy, BCP Hung, Beckenbauer, BlueCheri, BoRoU, Bubble #5, Bucky Katt, CAG CheechDogg, CharlesEdwards, ChriDevelop, Crow, D4rk_Sh00t3r, dandanch, deltahawk5, dlewisr, drchinh, DS MrSinister, ELROBLE, elsa23, elwizard, eTiKeT?, fai99al99, Fennec, ggrimes620, goxy63, Hippy, jamyk, Jass!, john7911, jowshany, Juggernaut, JustAskJulie, kamurj, klyde, lange, lehoang101101, Life Revived, lims, LordOfWAR_PC, Luvilla, M Shaker, Mandushi, mapleleaffans, MegaManSec, michal72, mikadit, MistyMeanor, mjfan227, mmcguire, mobile4persian, mohammadxxx, Monyet_sby, nacaruncr, OMAN_LOVER, O_Dog, Peafor, phiber, pjkcards, Popa Andrei, Pottsy, Protonus, rafiul, RetroDreams, RichieBoy67, Rickpwns, Rodrigo., Roidon, Rubio, Sarah EI, sarvarjafari, sivaganeshk, Skaut, Skedoozy, socceronly, socialteenz, Stefan118, Teascu Dorin, TheSSDReview, TorrentMan, webriz.com, Whity |
Comments |
#2462
|
|||
|
|||
I have downloaded the Thanks button and tried to install and now I am getting an error at the top of the page
(Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: post_thanks_navbar_search in [path]/includes/functions.php on line 4330 Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1403) : eval()'d code on line 95) Help please.. |
#2463
|
||||
|
||||
I am not using any mod. Just tweaked it myself part of it.
Thanks |
#2464
|
||||
|
||||
Code:
<div class="post_field"> you also did it to the Code:
<div class="post_field">{vb:raw template_hook.postbit_userinfo_right_after_posts}</div> you edited the flag mod and the gender mod in the template what you can do is remove that from the hook and add it to the post_thanks_postbit_info template as so Code:
<div class="post_field"> <vb:if condition="$post['userid']"> <dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd> <vb:if condition="$post['post_thanks_thanked_times'] == 1"> <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd> <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" /> <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd> <vb:else /> <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd> </vb:if> </vb:if></div> or add the code to the new hook and leave the template stock if other mods or even vb are using the same hook this is what i seen happen you need to do that edit manually to the others as well.. this is why I suggest a new hook so you don't have to |
2 благодарности(ей) от: | ||
big dan, BrightStar |
#2465
|
|||
|
|||
I let him just say thank received.
|
#2466
|
||||
|
||||
Hippy you are absolutely right, all these changes which you have pointed have been made by me. I do appreciate what you have written and I understand that modifying the templates and adding <div class="post_field"> has cause issues.
I am struggling to understand what is hook and how do I make a new hook so I avoid all these problems? |
#2467
|
||||
|
||||
ok I'm glad you understand a little so I don't mind going a little farther
go into your admincp styles & templates find postbit_legacy template in the styles you have (if more than one) open it up now search for (your edit) Code:
<div class="post_field">{vb:raw template_hook.postbit_userinfo_right_after_posts}</div> Code:
<div class="post_field">{vb:raw template_hook.postbit_userinfo_post_thanks}</div> if your going to use the template I posted above then just add Code:
{vb:raw template_hook.postbit_userinfo_post_thanks} now still in admincp go to Plugins & products > click on plugin manager find your Product : Post Thank You Hack "plugin" there are 10 hook locations the one that says "postbit_display_complete" in the hook location column under product : Post Thank You Hack click edit.. search for this line Code:
$template_hook['postbit_userinfo_right_after_posts'] .= $templater->render(); Code:
$template_hook['postbit_userinfo_post_thanks'] .= $templater->render(); you should be all good... I hope this helps |
#2468
|
||||
|
||||
Thanks for this great hack and thanks Hippy, you know for what.
Is there a way to make the block that appears under the post smaller? |
#2470
|
|||
|
|||
So, Abe hasn't been online since June of 2010, it's marked as unsupported, and to get it working you have to read and put together a lot of posts in this thread and patch various files. On top of that it still isn't fully functional.
I guess where I'm going with this, is I'm wondering if someone can officially take it over and start a new thread where everything is consolidated into one post with a single download? This is one of the most widely used plug-ins of any forums, and I think it would be painful to let it go, especially on a 5 million member forum. |
#2471
|
|||
|
|||
Quote:
|
Благодарность от: | ||
Hippy |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|