Same user data in multiple databases.
Same user data in multiple databases.
« on May 23rd, 2012, 09:44 PM »
I have a question:

Is it possible to have multiple forums and share the user data?, let me explain,

I have a forum right now, and I offered a friend to install another forum in a subdomain on my server, but our forums have similar content. So, I could be great if one user registers in one forum and immediately can log in the other forum.

I have total access to SQL and phpMyAdmin in my server, is it possible to achieve?.
Any risk of destroying the database?.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Same user data in multiple databases.
« Reply #1, on May 23rd, 2012, 10:25 PM »
Just as in SMF, this is incredibly difficult to pull off because of how intermixed data is.

For example, you can't just share the member table because part of that is a link to avatars (which are stored in the attachments table) and also to membergroups (directly in the table, linking to the membergroups table) so you have to split the table up.

It's doable but it isn't going to work too well.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial


Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278