MyBB Community Forums

Full Version: Tying mybb into unity fps game?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a project that I'm going to use Unity for an fps game and was wondering if mybb would be a forum solution? I think most of this is just DB building but im not sure yet. I want this all seamless and tied together instead of multiple accounts per player. Such as: website, player account, forums, support etc.....

1. One unified account for the game forums and the player account (ingame).
2. Changing password ingame would simultaneously change mybb password also.

These are just 2 issues I could see arising off the top of my head, but Im sure there are many more "what ifs"....this should get me started. I guess the question is...would mybb play nice with Unity?
(2014-12-28, 09:00 PM)VAPOR Wrote: [ -> ]would mybb play nice with Unity?

That depends only on how well you'll integrate it with the game.
This sounds like an awesome idea. you can easily use MyBB to do everything you described in your post.
What I like to do when I incorporate a game with a forum software is use if they are logged into the forum to determine if they are logged in.
<?php
define("IN_MYBB", 1);
require_once "global.php";
if($mybb->user['uid'])
{
// logged in user
}
else
{
// guest
}

2 could probably also be done. Look in /inc/datahandlers/user.php to see how it updates a password.