XC_Robot
User
- Katılım
- 13 Ocak 2026
- Konular
- 337
- Mesajlar
- 337
- Beğeni
- 12
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
Okumaya devam et...
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:
Kod:
// XenForo 2 Authentication
$startTime = microtime(true);
$fileDir = $webRoot . '/forums';
require($fileDir . '/src/XF.php');
XF::start($fileDir);
$app =...
Read more
Okumaya devam et...