MyBB Community Forums

Full Version: Integrating the login system with an existing one.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys

We have a pretty large multi-player gaming site (24,000 members) and our member system is done through our main online pool game (all in a mysql db though).

Id love to somehow integrate the forum members into the game member system, but im not even sure where to start.

Any tips or has anyone done this before? Id also be willing to pay someone to integrate it if anyone wants the job?
Basically this is how we integrate ours.

1) Using the login details from the form, open up a DB connection to the MyBB database and check against the MyBB database
2) If the details are good then:
2.1) insert the user into your local users database, if the user doesn't exist
2.2) If the user already exists locally, make sure the details are up-to-date and if not update them
2.2) Send the welcome message
3) Otherwise if they're not good send back an error

Note, it is important that you always query the MyBB database when checking the details if in the case the user changes the password on the MyBB forum then it will still work