I have modified our website’s registeration process so it copies over the user information to “bb_users” and the correct permissions for “bb_usermeta” — all working as expected, allowing us one registeration process for the site, AND forum. Excellent.
What I want to do now, is set the cookie information during our website login, so it automatically logs them in to the forum (as both username and password are always the same, as we handle this during registeration).
Problem is, I can’t figure out what bbpress is using to make the md5hash of the cookie name, example: bb_user_f1f348ebf7e6886fc1e743a675246401
If I modify bbpress to force the name (NOT THE VALUE) of the cookie to be, example: “usercookie” and “passwordcookie” — then my login process works and the user can move around the site and message board seemlessly, but this isn’t working as intended.
So simply, can someone tell me how the cookie name is created so I can do the same in my own login process! Thank you.
You must be logged in to reply to this topic.