MyBB Community Forums

Full Version: MyBB Integration Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I am trying to integrate MyBB with my main website, and would like some answers on a few things.

I am trying to add a login page, and a register page.

I have tried ways from different websites, but it doesn't seem to recognize that I am logged in/logged out.

I have also tried changing the MyBB cookie path to "" (blank). This does help the main site login page to recognize if I am logged in or not, but the forums then say I am still logged in, even after I press log out.

I have also been recommended PHPDave's MyBB Integrator, but am unsure how to use this.

Any help is appreciated.

Thanks!
This line right here is what MyBB uses to log you in
my_setcookie("mybbuser", $userinfo['uid']."_".$userinfo['loginkey'], null, true);

where $userinfo is an array containing all the info about a particular user from the users table.
Thanks for the reply.

What could I do with this?
Check this out. It should do what you want.

http://community.mybb.com/thread-6190.html
It is still not recognizing that I am logged in.

Have a go:

Login page: http://tridimension.comoj.com/login/login2.php
Forum: http://tridimension.comoj.com/forum
Does anyone have any ideas?
(2012-11-01, 10:15 AM)testerwester Wrote: [ -> ]It is still not recognizing that I am logged in.

Have a go:

Login page: http://tridimension.comoj.com/login/login2.php
Forum: http://tridimension.comoj.com/forum

(2012-11-02, 11:03 AM)testerwester Wrote: [ -> ]Does anyone have any ideas?

You provide a link to a page and ask people to login to test the issue but you do not provide any log in details. How are people supposed to log in?