MyBB Community Forums

Full Version: Remote Login
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can log a user in remotely, By this I mean initiate their session via a script not directly associated to mybb.

Purpose, My site has a login and it uses same user table as the forum, but I want it so that when they login their session on the main site and forum are created so they are logged in everywhere. Same for logging out.

Thanks...
Should just be something simple like

include(mybbbbb.php)
mybb_session_start(username);

But idk where to find it in the code...
What I need is the back end code so I can manually start the session
Just include global.php.
(2010-02-11, 02:14 AM)labrocca Wrote: [ -> ]Just include global.php.

But what functions would I then use to start a session?