Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted Sunday at 03:12 AM3 days I have a notice in my panel that PHP Blocks in Pages will no longer be supported. We utilize these for important site functionality, how do we continue? Thank you for your time and assistance.
Sunday at 09:16 AM3 days I have a notice in my panel that PHP Blocks in Pages will no longer be supported. We utilize these for important site functionality, how do we continue? Thank you for your time and assistance.I think you can do this with HTML blocks. Using IPS format: {{$var="hello";}} and {$var} to show it.
Sunday at 01:31 PM3 days Author I think you can do this with HTML blocks. Using IPS format: {{$var="hello";}} and {$var} to show it.Thank you, would this work for heavily utilized PHP? We have custom PHP applications that access custom mysqli databases.
Sunday at 02:21 PM3 days Community Expert Probably better to (have someone) create a custom app for your use.
Sunday at 02:42 PM3 days Author Probably better to (have someone) create a custom app for your use.I would ideally prefer to keep using PHP blocks as redoing the work would be a tremendous lift for our little site. I assume there won't be a work-around for this depreciation?
Monday at 08:18 AM2 days Community Expert I would ideally prefer to keep using PHP blocks as redoing the work would be a tremendous lift for our little site. I assume there won't be a work-around for this depreciation?Yes, the workaround would be to create an application which adds those PHP blocks. To be honest, if its quite a lot of PHP you are using in custom blocks, you would be better with an application in any case. It will cause you less issues when things go wrong
Monday at 09:30 AM2 days Community Expert Management I know it's a little more work but using an application to create complex PHP widgets is a better option long term. Not only can you code these widgets in a proper IDE, you can use version control to rollback changes. In addition, the platform doesn't have to use eval to turn strings into PHP code on the fly which is fairly slow and not very secure.It's a different way of working, but you can achieve the same outcome.