Crash83k
Member
Hi. New the developing for XenForo.
We recently started using XenForo because we were on an old version of VB (3.7) and it didn't seem smart to upgrade to VB 4 or 5. Honestly, VB lost their mojo. So we've switched to XenForo, which is truly 100x better, especially for developing on.
We bought a license to XenForo over a year ago, but just finally getting to developing and moving the old forum over. So we're on 1.5 (but we've renewed and will likely move to 2.0 sooner than later.)
To business:
I'm writing a plugin that gets information from a couple 3rd party APIs. Both of which are done in PHP via cURL. While I was writing it, I noticed that hooks are being deprecated. But in PHP I'm using the hook name and contents to modify the contents. I'm not doing HTML work in the PHP (I get the HTML from custom templates I've made), but assign the properties of a dict object for the templates inside the PHP. (i.e.
That being said, now that I see hooks are being deprecated, I'm trying to understand at what level? Are
If so, how do we get PHP classes/functionality into XenForo?
Thanks in advance!
We recently started using XenForo because we were on an old version of VB (3.7) and it didn't seem smart to upgrade to VB 4 or 5. Honestly, VB lost their mojo. So we've switched to XenForo, which is truly 100x better, especially for developing on.
We bought a license to XenForo over a year ago, but just finally getting to developing and moving the old forum over. So we're on 1.5 (but we've renewed and will likely move to 2.0 sooner than later.)
To business:
I'm writing a plugin that gets information from a couple 3rd party APIs. Both of which are done in PHP via cURL. While I was writing it, I noticed that hooks are being deprecated. But in PHP I'm using the hook name and contents to modify the contents. I'm not doing HTML work in the PHP (I get the HTML from custom templates I've made), but assign the properties of a dict object for the templates inside the PHP. (i.e.
$template->create('template_name', $dataFromCURL)
).That being said, now that I see hooks are being deprecated, I'm trying to understand at what level? Are
<xen:hook>
tags being removed completely?If so, how do we get PHP classes/functionality into XenForo?
Thanks in advance!