![]() |
Bump, does anybody have a solution to the page freezing when I upload the plug in?
|
Can I get some assistance with this? Anybody?
|
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. |
Quote:
Seems to be related to an array variable that doesn't exist after the upgrade. Code:
Database error in vBulletin 3.8.11: |
Same problem. After upgrading to 3.8.11:
Code:
Invalid SQL: |
same error here after upgrade to 3.8.11.
any idea? |
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) Code:
if (empty($postids)) 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! |
Quote:
|
YEEEES!!!! Genius. 7.7 work fine under vB3.8.11
|
@vbem2 thank you! It fixed to me too! great work.
|
All times are GMT. The time now is 08:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|