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.
Session fails when user try to post/comment
Good day, I integrating Vannilla forum to another site and I faced with some problems. I be thankful if anybody help me to resolve it.
I make reset and change password routines by direct write new password to DB, and I make apply and login routines by calling people.php instead of my site register/login scripts. It looks like:
and it works - user can apply and login to Vanilla when he apply or login to my site. When user logins $_SESSION['LussumoUserID'] and my site's session variables are created.
But when user goes to the forum and try to post or comment, 'You cannot take part in the discussions because you are not signed in.' error messages rised. Session dump shows NULL.
User logins again and then he can normaly post or comment.
I make reset and change password routines by direct write new password to DB, and I make apply and login routines by calling people.php instead of my site register/login scripts. It looks like:
$forumRegisterLocation="vanilla/people.php";
$_POST['PostBackAction']="Apply";
$_POST['Email']=$eMail;
$_POST['Name']=$newUserName;
$_POST['NewPassword']=$password;
$_POST['ConfirmPassword']=$password;
$_POST['AgreeToTerms']=1;
include($forumRegisterLocation);
and it works - user can apply and login to Vanilla when he apply or login to my site. When user logins $_SESSION['LussumoUserID'] and my site's session variables are created.
But when user goes to the forum and try to post or comment, 'You cannot take part in the discussions because you are not signed in.' error messages rised. Session dump shows NULL.
User logins again and then he can normaly post or comment.
0
This discussion has been closed.