Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
User Login Woes
Ok, I'm trying to integrate my site to use the Vanilla login system, I've got this on my index.php page:
include('../forum/appg/settings.php');
include_once("../forum/appg/init_people.php");
if ($Context->Session->UserID > 0) {
echo 'Logged in';
}
else {
echo 'Not Logged In';
}
I can print_r($Context->Session) just find, so the includes are working and the object is being built. However I never see 'Logged In' Even though I'm logged in and can go directly to the forum...
Is there something else I need to include or a function I need to run? Totally Lost here...
0
This discussion has been closed.
Comments