I'd like to run two copies of minibb on my website.
Possibly two private users forums. A user could be allowed to access one or the other, my problem is minibb doesn't allow me this.
I look at the "synchronizing with existing membership
" document to see how to integrate and see you use two session variables to decide if the user is logged in.
$_SESSION['auth'] and $_SESSION['ID']
I set these when the user logs in, but I'd like to be-able to set these on a per forum basis.
Would it be possible to have a new global variable in setup_options.php to specify what session this forum relates to. i.e. the forum name.
$forumname = 'mini1-'; (defaults to '' for backwards compatibility)
So I could have the two user registered only forums running with different permissions for the users, such as
$_SESSION['minibb1-auth'] and $_SESSION['minibb1-ID']
$_SESSION['minibb2-auth'] and $_SESSION['minibb2-ID']