Recent content by ZecaR

  1. Z

    XF 2.0 How to check login status outside xenforo

    I was looking through the var_dump and saw that they were all protected. But it works with $user->user_id; Thank you!
  2. Z

    XF 2.0 How to check login status outside xenforo

    ok, the XF::visitor() is set now that I called $app->start(). But all the properties are protected. What do I do now ?
  3. Z

    XF 2.0 How to check login status outside xenforo

    it's 0 also, all properties ar protected there as well
  4. Z

    XF 2.0 How to check login status outside xenforo

    I'm here after 2 hours of searching. All I found were older versions solutions here is my code so far <?php $dir = __DIR__; require($dir . '/src/XF.php'); XF::start($dir); $app = XF::setupApp('XF\Pub\App'); echo "<pre>"; var_dump($app->session()); ?> The session contains the userId...
Top Bottom