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 |
#3402
|
|||
|
|||
That MAY only work if a member has a signature. There must have been code changes from 7.82 that has caused the box to not be able to be inserted inside the post.
|
#3403
|
|||
|
|||
@dreadsuk, if you install version 7.82 product and upload the files, follow these steps and see if it works for you. This worked for me in the past.
In postbit_legacy, find: Code:
<vb:if condition="$show['postedited'] || $post['signature']"> <div class="after_content"> <vb:if condition="$show['postedited']"> Code:
{vb:raw template_hook.postbit_messagearea_end} Code:
require_once(DIR . '/includes/functions_post_thanks.php'); if (!(defined('LOCATION_BYPASS')) && !(post_thanks_off($this->thread['forumid'], $this->post, $this->thread['firstpostid'], THIS_SCRIPT))) { global $ids; $thanks = fetch_thanks($this->post['postid'], $ids); if (thanked_already($this->post) && $this->registry->options[post_thanks_delete_own]) { $this->post['show_thanks_remove_option'] = true; } if ($this->post['post_thanks_amount'] > 0 && $this->thread['isdeleted'] == 0) { $this->post['post_thanks_bit'] = fetch_thanks_bit($this->thread['forumid'], $thanks); $this->post['post_thanks_user'] = $post_thanks_user; $this->post['post_thanks_amount_formatted'] = vb_number_format($this->post['post_thanks_amount']); $post_thanks_box = fetch_post_thanks_template($this->post); } $templater = vB_Template::create('post_thanks_box'); $templater->register('post', $post); $templater->register('post_thanks_box', $post_thanks_box); $template_hook['postbit_messagearea_end'] .= $templater->render(); } if ($this->registry->userinfo['userid'] != 0 && !(defined('LOCATION_BYPASS')) && !(post_thanks_off($thread['forumid'], $post, $thread['firstpostid'], THIS_SCRIPT))) { $display_thanks_image = 'none'; if (can_thank_this_post($post, $thread['isdeleted']) && !thanked_already($post)) { $display_thanks_image = ''; } $templater = vB_Template::create('post_thanks_button'); $templater->register('post', $post); $templater->register('display_thanks_image', $display_thanks_image); $template_hook['postbit_controls'] .= $templater->render(); } if ($this->registry->options['post_thanks_show_stats_postbit']) { $post['post_thanks_user_amount_formatted'] = vb_number_format($post['post_thanks_user_amount']); $post['post_thanks_thanked_times_formatted'] = vb_number_format($post['post_thanks_thanked_times']); $post['post_thanks_thanked_posts_formatted'] = vb_number_format($post['post_thanks_thanked_posts']); $templater = vB_Template::create('post_thanks_postbit_info'); $templater->register('post', $post); $template_hook['postbit_userinfo_right_after_posts'] .= $templater->render(); } |
#3404
|
||||
|
||||
Quote:
|
#3405
|
|||
|
|||
|
#3407
|
|||
|
|||
if you had that one installed then you would not be having the issue you have with it
as mine has this problem removed |
#3408
|
||||
|
||||
Quote:
Im running VB4.2.2 i currently have version 'post_thanks_7_84_with search fix' installed. I am unable to move the like post box into the post itself instead of underneath it. I tried to install version 7.82 and this was the message i recieved |
#3409
|
|||
|
|||
Edit this line in the xml
Code:
<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" /> Code:
<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="" /> |
#3410
|
|||
|
|||
I love this mod and it has run flawlessly on my forum since installed and is very popular.
Im not very good at coding and was wondering if anyone could help me with a line of code which would give you a quality percentage in your postbit.. For example at the moment it might say... Thanked 1000 times in 500 posts. I would like to have... Thanked 1000 times in 500 posts Thanks percentage: 50% Can anyone help me with the code and where I need to edit this? |
#3411
|
|||
|
|||
How do I edit the post_thanks_postbit_info template so that the thanked posts and posts thanked link to the thanked posts and posts thanked pages, like the links on the 'about me' page of their profile? Basically I want the numbers in the postbit to link to the same page as the about me thanks info links.
I have a feeling there's a post here about it somewhere, a link would be great I've searched the thread a couple times. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|