Connecting to XenForo's new login system (2.3.*)?

Status
This content is read-only, or is not open for further replies.

DarkUnderlord

Guest
offline
We've got a forum we haven't upgraded to 2.3.* yet because of the changes to the XenForo login system.

Question: How do I use the new login system, or how can I get some basic info out of it?

We currently use this gaggle of code that sets up the XF $visitor object which lets us know if a user is logged in, who they are etc..:

Code:

Code:
// XenForo 2 Authentication
$startTime = microtime(true);
$fileDir = $webRoot . '/forums';

require($fileDir . '/src/XF.php');
XF::start($fileDir);
$app =...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom