The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[AJAX] Post Thank You Hack Details »» | |||||||||||||||||||||||||||||||||||||||
vB 4.0 version of this hack here: https://vborg.vbsupport.ru/showthread.php?t=231666
Post Thank You Hack 7.7 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):
Version 7.5 (05/12/08):
Version 7.6 (06/02/08):
Version 7.7 (07/28/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:
Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
15 благодарности(ей) от: | ||
2012?, devil78, Heinrich, Hellmaster, lange, m7sen, mblesch, mikey1991, MrZeropage, Pcwolfx?, Protium, ramx, Shill360, theuploader |
Comments |
#2362
|
|||
|
|||
Bump, does anybody have a solution to the page freezing when I upload the plug in?
|
#2363
|
|||
|
|||
Can I get some assistance with this? Anybody?
|
#2364
|
|||
|
|||
I'll bump this since I'm having the exact same problem. After upgrading to vB 3.8.11 pages just freeze when Post Thank You Hack 7.7 is enabled.
Does anyone know how to get this working again? I have thousands of "Thanks" I don't want to lose. |
#2365
|
|||
|
|||
Quote:
Seems to be related to an array variable that doesn't exist after the upgrade. Code:
Database error in vBulletin 3.8.11: Invalid SQL: SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (0Array) ORDER BY post_thanks.username ASC; MySQL Error : Unknown column '0Array' in 'where clause' Error Number : 1054 Request Date : Tuesday, May 23rd 2017 @ 03:57:59 PM Error Date : Tuesday, May 23rd 2017 @ 03:57:59 PM Script : ....../forum/showthread.php?t=33292 Classname : vB_Database_MySQLi MySQL Version : 5.5.54-0+deb8u1 |
#2366
|
|||
|
|||
Same problem. After upgrading to 3.8.11:
Code:
Invalid SQL: SELECT * FROM vb_post_thanks AS post_thanks INNER JOIN vb_user AS user USING (userid) WHERE post_thanks.postid IN (0Array) ORDER BY post_thanks.username ASC; MySQL Error : Unknown column '0Array' in 'where clause' Error Number : 1054 |
#2367
|
|||
|
|||
same error here after upgrade to 3.8.11.
any idea? |
#2368
|
|||
|
|||
Making the following changes caused the Post Thanks hack to start working again on my 3.8.11 installation. Note: I haven't tested extensively beyond seeing that I could give thanks and delete it from one other member's post.
GIANT DISCLAIMER: I am not an expert coder. I occasionally muck around in PHP and sometimes understand what I'm doing. Apply this fix AT YOUR OWN RISK. I can't help if it doesn't work for you. The changes below refer to Post Thank You Hack version 7.6 only. 1) Back up a copy of your original 7.6 file in /forum/includes/functions_post_thanks.php in case this gets all screwed up. 2) Open the file in your favourite editor. 3) Starting at line 178, replace this... Code:
if ($postids) { $post_ids = "0$postids"; } else { $post_ids = $postid; } Code:
if (empty($postids)) { $postids[] = $postid; } Code:
$thanks = $vbulletin->db->query_read("SELECT * FROM " .TABLE_PREFIX. "post_thanks AS post_thanks INNER JOIN " .TABLE_PREFIX. "user AS user USING (userid) WHERE post_thanks.postid IN (" . $post_ids . ") ORDER BY post_thanks.username ASC"); Code:
$thanks = $vbulletin->db->query_read("SELECT * FROM " .TABLE_PREFIX. "post_thanks AS post_thanks INNER JOIN " .TABLE_PREFIX. "user AS user USING (userid) WHERE post_thanks.postid IN (" . implode(',', $postids) . ") ORDER BY post_thanks.username ASC"); Code:
$thanks = $vbulletin->db->query_read("SELECT * FROM " .TABLE_PREFIX. "post_thanks WHERE postid IN (" . $post_ids . ") ORDER BY username ASC"); Code:
$thanks = $vbulletin->db->query_read("SELECT * FROM " .TABLE_PREFIX. "post_thanks WHERE postid IN (" . implode(',', $postids) . ") ORDER BY username ASC"); Maybe it'll work for you too. Good luck! |
#2369
|
|||
|
|||
Quote:
|
#2370
|
|||
|
|||
YEEEES!!!! Genius. 7.7 work fine under vB3.8.11
|
#2371
|
||||
|
||||
@vbem2 thank you! It fixed to me too! great work.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|