mqudsi
Member
I just bit the bullet and switched to XF from vB, but I'm having a bit of a problem that I don't think is actually caused by the import?
In the vB import scripts, this snippet:
Is returning the wrong result. $newId arrives correctly, but buildPublicLink returns a link to the thread containing the post that has id = $newId instead of the thread with that id.
For example, for the request with $newId = 642, XF takes me to
Instead of
I know absolutely zero about XF, but my guess is that 'thread_id' needs to be something else?
In the vB import scripts, this snippet:
Code:
$target = XenForo_Link::buildPublicLink('canonical:threads', array('thread_id' => $newId));
Is returning the wrong result. $newId arrives correctly, but buildPublicLink returns a link to the thread containing the post that has id = $newId instead of the thread with that id.
For example, for the request with $newId = 642, XF takes me to
Code:
/forums/threads/linux-needs-love-tooo.93/#post-642
Instead of
Code:
/forums/threads/easybcd-2-3-beta-builds.642/
I know absolutely zero about XF, but my guess is that 'thread_id' needs to be something else?