![]() |
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.
|
Quote:
Cheers, Flounder |
I have just starting to use this hack after migrating my forum from 3.8.9 to 5.3.2.
I was previously using Abel's Post Thank You Hack. Is there any way of importing the existing "thanks" into the new system? How do I make vBulletin's Like button disappear in 5.3.2? |
1 Attachment(s)
Curious to know if anybody knows how to change this phrase:
The Following User Says Thank You to (username removed) For This Useful Post: I've tried searching for this phrase with no luck, but still trying. Thanks. Ken Disregard, found the phrases! For my forums preferred "Like" and changed button to match the others. |
Quote:
https://vborg.vbsupport.ru/showthread.php?t=266358 |
I am having issues with 3.8.11 says there is a database error?
|
Quote:
|
Dont work for me. Not appear on theme. 3.8.11
|
Anyone know why when I enable this plugin on my vBulletin 3.8.9 - when I try and view or create a thread, I get a http 500 error? Yet when it's disabled, no problems at all? I've been in touch with my host all day and we've tried everything but we're not sure what else it could be?
|
Quote:
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' I'm getting this when I install for 3.8.11 |
Quote:
|
change includes/functions_post_thanks.php line 180 from:
$post_ids = "0$postids"; to $post_ids = is_array($postids) ? implode(',',$postids) : "0$postids"; |
Quote:
|
Quote:
|
Database error in vBulletin 3.8.11 on PHP 7.1.30 MySQL 5.6.45
Invalid SQL: SELECT * FROM post_thanks WHERE postid IN (0Array) ORDER BY username ASC; MySQL Error : Unknown column '0Array' in 'where clause' Error Number : 1054 Request Date : Sunday, August 25th 2019 @ 11:41:49 PM Error Date : Sunday, August 25th 2019 @ 11:41:49 PM Script : http://www.smokstak.com/forum/showth...99237&posted=1 Referrer : https://www.smokstak.com/forum/newre...eply&p=1599222 IP Address : 47.199.66.226 Username : Harry Classname : vB_Database_MySQLi MySQL Version : 5.6.45-log Server : 192.252.219.187 User Agent : |
Quote:
https://vbulletin.org/forum/showpost...postcount=2381 |
12 years later, this mod still works.
|
Quote:
Thank you, Dave, for opening my eyes! |
Folks, this plugin supports PHP 7.4 as long as you follow PHP warnings to fix constant names to make sure they are quoted.
|
Quote:
Including the following plugins/addons : [hide] hack incl post thank you "addon" : https://vborg.vbsupport.ru/showthread.php?t=130887 Recent Thanks for [AJAX] Post Thank You Hack : https://vborg.vbsupport.ru/showthread.php?t=279907 |
Hello folks,
I've switched my PHP from 5.3 to 7.1, after doing so, I've faced an issue: Code:
Error: [] operator not supported for strings in ..../includes/functions_post_thanks.php on line 180 |
Quote:
Problem with: Fatal error: [] operator not supported for strings |
Quote:
|
Quote:
|
1 Attachment(s)
Quote:
Still not working, it appears new issue! https://vborg.vbsupport.ru/attachmen...1&d=1585803472 |
1 Attachment(s)
includes/functions_post_thanks.php
Upload attached php file to includes folder php version 7.2 vBulletin 3.8.11 worked smoothly note: adapted in the same way as [hide] hack incl post thank you "addon" Hide hack users should download product-sids_hide.xml |
Quote:
thanks a lot.. :) |
This component in the plugin for postbit_display_start throws an error in PHP 7.3:
Code:
eval('$template_hook[postbit_end] .= " ' . fetch_template('post_thanks_box') . '";'); Code:
PHP Warning: Use of undefined constant postbit_end - assumed 'postbit_end' (this will throw an Error in a future version of PHP) in ..../includes/class_postbit.php(268) : eval()'d code(23) : eval()'d code on line 1 Code:
eval('$template_hook["postbit_end"] .= " ' . fetch_template('post_thanks_box') . '";'); |
All times are GMT. The time now is 08:18 PM. |
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:
|