XF 2.0 buildPublicLink

kbarg

Member
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.
 
The buildLink is bit different in XF 2.0. Here is a quick example.

PHP:
  $postUrl = \XF::app()->router()->buildLink('canonical:threads', $thread);
 
Back
Top Bottom