View Single Post
  #3  
Old 04 Jan 2020, 11:16
ShikiSuen's Avatar
ShikiSuen ShikiSuen is offline
 
Join Date: Nov 2019
Originally Posted by PinkMilk View Post
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change to desired page showthread, forumdisplay etc

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I single-quoted the THIS_SCRIPT but looks like this renders it ineffective.

P.S.: I already tried this trick prior to creating this thread here. Wondering whether I messed up with something else. My board runs on PHP 7.4 .

------------

Update: Similar issue happens with MyBB:
https://github.com/mybb/mybb/issues/3017
https://github.com/mybb/mybb/pull/3092

Looks like some php files in the 'includes' folder needs modification to declare the "THIS_SCRIPT".
------------

Following-up: This warning can be dismissed. It won't cause template rendering error as it does not generate any similar error message in forumdisplay, index, etc. These php files already have "THIS_SCRIPT" defined. My conclusing is that the template system of vBulletin 3.8.11 needs some fix.

Solution: Editing "template.php" and add the following to "DEFINE IMPORTANT CONSTANTS":


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Otherwise, PinkMilk's trick won't work if vBulletin 3.8.x runs on PHP 8 in the future.

Last edited by ShikiSuen; 05 Jan 2020 at 23:33.
Reply With Quote