MyBB Community Forums

Full Version: Logging in?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I am trying to develop my little page for MyBB for practice of coding, and I need some help. I have been looking though mybb code and I cant find a way to log a user in. I need to be able to log a specific user in. I believe I would need to set a session variable, but i'm not too sure. Any help would be appreciated!

You'll need to set the mybbuser cookie, it joins your UID with your loginkey separated by an underscore, both found in the users table.