vb.org Archive

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

PinkMilk 03-29-2020 08:49 AM

Quote:

Originally Posted by AKadoorah (Post 2602394)
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
Trace Data:
#1 : vbstop() called in ..../includes/class_core.php on line 3834
#2 : vbulletin_exception_handler() called in  on line

Var Type:
[ NULL ]

Var Data:
null

For ur information I'm running vb 3.8.11, so is there any solution for this issue?


Problem with: Fatal error: [] operator not supported for strings

AKadoorah 04-01-2020 08:00 AM

Quote:

Originally Posted by PinkMilk (Post 2602403)

To be honest, I don't get it.

PinkMilk 04-01-2020 09:35 PM

Quote:

Originally Posted by AKadoorah (Post 2602438)
To be honest, I don't get it.

https://vborg.vbsupport.ru/showpost....postcount=2381

AKadoorah 04-02-2020 02:58 AM

1 Attachment(s)
Quote:

Originally Posted by PinkMilk (Post 2602446)


Still not working, it appears new issue!

https://vborg.vbsupport.ru/attachmen...1&d=1585803472

yilmaz 05-27-2020 10:04 AM

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

dbreh 11-02-2020 12:08 PM

Quote:

Originally Posted by cassedy (Post 2586996)
genius! it works.. thanks a lot..:)

Great answer, it works fine ..

thanks a lot.. :)

docjohn 10-16-2023 10:38 AM

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') . '";');
Error:

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
All you need do is add some quotes around postbit_end:

Code:

eval('$template_hook["postbit_end"] .= " ' . fetch_template('post_thanks_box') . '";');


All times are GMT. The time now is 10:01 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
  • Page Generation 0.03894 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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