ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 30,839
- Points
- 823
Reputation:
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:
Read more
Continue reading...
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...