vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=231666)

DGrey2011 02-14-2018 08:01 PM

Hello!

I tried to install it on 4.2.5, I edited the XML and was able to install the product, but when I try to thank, I get this error:
https://vborg.vbsupport.ru/external/2018/02/9.jpg

I run PHP 7.1. Could that be an issue?

Inna 02-16-2018 08:32 AM

Quote:

Originally Posted by TopFloorDjs (Post 2592255)
Any advice?

Open XML post thanks file via an editor like notepad++
In the first lines, you see dependencies lines. Change the related value to 4.2.5 (max-version or version)

Flipfloptrader 02-16-2018 11:08 AM

I have version 7.84 working sweet as a nut on 4.2.5 and PHP 7.1. No mods required.

aeternitasster 03-13-2018 05:32 PM

Quote:

Originally Posted by DGrey2011 (Post 2592912)
Hello!

I tried to install it on 4.2.5, I edited the XML and was able to install the product, but when I try to thank, I get this error:
https://vborg.vbsupport.ru/external/2018/02/9.jpg

I run PHP 7.1. Could that be an issue?

Yes. Use PHP 7.0, this will fix the error.

gnrx 03-13-2018 06:09 PM

I have exact the same error, yesterday I update to PHP 7.1 and I have the same issue.
Only its possible solved this downgrade to PHP 7.0?

This is my error when click in Thanks:

Code:

] operator not supported for strings on line 182 in /home/myuser/public_html/foro/includes/functions_post_thanks.php
#0 /home/myuser/public_html/foro/includes/functions_post_thanks.php(137): fetch_thanks('865971', '', false)
#1 /home/myuser/public_html/foro/post_thanks.php(64): thanked_already(Array)
#2 {main}


Flipfloptrader 03-15-2018 09:55 AM

What does your line 182 say?

I'm running PHP 7.1 and it works well.

My line 182:

Code:

        $postids = array($postid);

Flipfloptrader 03-15-2018 10:00 AM

I thought i'd posted a fix before. See this post for the correct file needed.

gnrx 03-15-2018 10:14 AM

Quote:

Originally Posted by Flipfloptrader (Post 2593540)
What does your line 182 say?

I'm running PHP 7.1 and it works well.

My line 182:

Code:

        $postids = array($postid);

Yes, I have the same line.

Quote:

Originally Posted by Flipfloptrader (Post 2593541)
I thought i'd posted a fix before. See this post for the correct file needed.

Wow, perfect! I replace my file with your file and then, now, works fine!

Thank you very much!!! :)

mangmel 03-20-2018 06:04 AM

how can i add this top thanked user in sidebar block ?

DGrey2011 03-28-2018 01:02 AM

Quote:

Originally Posted by Flipfloptrader (Post 2593541)
I thought i'd posted a fix before. See this post for the correct file needed.

Thanks for the fix, it works!


All times are GMT. The time now is 04:00 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
  • Page Generation 0.04933 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete