kbarg Member Nov 14, 2017 #1 I had stuff that called database stuff from Xenforo 1.5 to display on an external page. I was testing on 2.0 and I am having errors with the 'buildPublicLink' and I was curious if 2.0 replaced them with something else.
I had stuff that called database stuff from Xenforo 1.5 to display on an external page. I was testing on 2.0 and I am having errors with the 'buildPublicLink' and I was curious if 2.0 replaced them with something else.
LPH Well-known member Nov 14, 2017 #2 The buildLink is bit different in XF 2.0. Here is a quick example. PHP: $postUrl = \XF::app()->router()->buildLink('canonical:threads', $thread);
The buildLink is bit different in XF 2.0. Here is a quick example. PHP: $postUrl = \XF::app()->router()->buildLink('canonical:threads', $thread);