MyBB Community Forums

Full Version: Details of Cookies Used By the Forum?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need to integrate one of my php page with the forum.

So i need the details of the login techniques used by the forum. Mainly the cookie details used by the forum.

Hope that some one will help you to get the details.

The aim of the page is to redirect all visitors to login page who are not logged on the forum.

Waiting for your help.
MyBB sets a cookie called "mybbuser" whenever a user logs in.

This is in the format of: User ID_Password.

So for example 1_(my password here)

The password in the cookie is the value taken from the "password" column in the database.

The format of that column is md5(md5("plain text password").md5(salt))

Where salt is, the value of the "salt" field in the users table for that specific user.

Regards,
Chris
I notice on other forum systems that it says before you log in "Remember me" Is there anyway of adding an option like this on MyBB instead of logging in and going into the User CP and disabling it there?
Chris Boulton, thanks for the great information.

Jag100, may be that is because they using session only. Remember me option allow there to create cookie for the client.

I don't know the code structure of other forums as well as this one. May be the Remember me option increases the lifetime of the cookie for the user.

Anyway, the basic idea behind the "Remember Me" option is that I said here.