MyBB Community Forums

Full Version: Developing my own Registration and Signup forms for Mybb. pls advise.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2012-11-19, 07:24 AM)brownchild Wrote: [ -> ]1) What variables to store in the database (and w/c tables?)
2) What is the encryption used? $password = md5($username . $password); ?
3) What Session variables to create during login?

1) You will need the fields uid, username, password, salt, and loginkey from the mybb_users table
2) password = md5(md5($salt).$password);
3) Create a cookie called mybbuser with [uid]_[loginkey], e.g. 37431_ABC123ThiSISnOTMyLOGiNKeY
(2012-11-19, 06:23 PM)Paul H. Wrote: [ -> ]
(2012-11-19, 07:24 AM)brownchild Wrote: [ -> ]1) What variables to store in the database (and w/c tables?)
2) What is the encryption used? $password = md5($username . $password); ?
3) What Session variables to create during login?

1) You will need the fields uid, username, password, salt, and loginkey from the mybb_users table
2) password = md5(md5($salt).$password);
3) Create a cookie called mybbuser with [uid]_[loginkey], e.g. 37431_ABC123ThiSISnOTMyLOGiNKeY


Hi PAul thanks very much .. is this for the login side of things? so mybb uses cookies instead of sessions?

what about the registration side? just those variables and member table only? do i need to update any counters and other stuffs to keep things in sync w/ each other?

thanks

Tj
Pages: 1 2