I purchased this yesterday and am still waiting to hear back from Luke. What is the expected wait time?
Hi, I am the Tapatalk tech lead in plugin development. That patch is required to work with Tapatalk plugin series 3.x.x, please add it to your plugin if not done yetFor anyone using Post Ratings along with new versions of Tapatalk plug-in (3.0.x) there's a slight change needed to be made in library/Dark/PostRating/Model/Post.php file. I have attached the patch file and the modified file itself.
Let me make sure I understand - you work for Tapatalk, correct?Hi, I am the Tapatalk tech lead in plugin development. That patch is required to work with Tapatalk plugin series 3.x.x, please add it to your plugin if not done yet![]()
Let me make sure I understand - you work for Tapatalk, correct?
So without this patch, if we are using the Post Ratings addon, what occurs?
Does this patch allow all the post likes to operate via tapatalk?
Or does this patch just allow the basic "like" function to operate with TT 3.x.x?
Can @Luke F verify this modification is OK to do?
Without the patch, you cannot like at TT. With patch, basic like will operate at TT.Let me make sure I understand - you work for Tapatalk, correct?
So without this patch, if we are using the Post Ratings addon, what occurs?
Does this patch allow all the post likes to operate via tapatalk?
Or does this patch just allow the basic "like" function to operate with TT 3.x.x?
Can @Luke F verify this modification is OK to do?
$post['rating_cache'] = empty($post['rating_cache']) ? null : json_decode($post['rating_cache'], true);
$post['rating_cache'] = empty($post['rating_cache']) ? null : (is_array($post['rating_cache']) ? $post['rating_cache'] : json_decode($post['rating_cache'], true));
Great, it worksIn my test environment I had that problem too. I done is change the line in PostRating/Model/Post.php (86)
PHP:$post['rating_cache'] = empty($post['rating_cache']) ? null : json_decode($post['rating_cache'], true);
with
PHP:$post['rating_cache'] = empty($post['rating_cache']) ? null : (is_array($post['rating_cache']) ? $post['rating_cache'] : json_decode($post['rating_cache'], true));
BTW, I am looking at our code to check if the real problem comes from us calling two times that function for some reason.
For anyone using Post Ratings along with new versions of Tapatalk plug-in (3.0.x) there's a slight change needed to be made in library/Dark/PostRating/Model/Post.php file. I have attached the patch file and the modified file itself.
I am reluctant to patch post ratings as it is another thing I have to remember to do if Luke posts an update. Plus if post ratings doesn't actually have anything wrong with it, then Tapatalk should be patched instead.Hi, I am the Tapatalk tech lead in plugin development. That patch is required to work with Tapatalk plugin series 3.x.x, please add it to your plugin if not done yet![]()
In my test environment I had that problem too. I done is change the line in PostRating/Model/Post.php (86)
PHP:$post['rating_cache'] = empty($post['rating_cache']) ? null : json_decode($post['rating_cache'], true);
with
PHP:$post['rating_cache'] = empty($post['rating_cache']) ? null : (is_array($post['rating_cache']) ? $post['rating_cache'] : json_decode($post['rating_cache'], true));
BTW, I am looking at our code to check if the real problem comes from us calling two times that function for some reason.
We use essential cookies to make this site work, and optional cookies to enhance your experience.