Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Multiple sites one database

Asked Modified Viewed 2,865 times
C
Cupid
C
Cupid 10
  • Member, joined since
  • Contributed 151 posts on the community forums.
  • Started 49 threads in the forums
  • Started this discussions
asked
Member

Not sure where this belongs so I apologize in advance.

The thing I was excited most about v7 was the multiple sites one one database

so users registered on site A can log in in sites B, C and D


How do we set that up?

Just add another phpv7 to another Folder and make the database the same?

What about forums? Will they all me merged or seperate?
Edited by Cupid on 22-06-2008 19:28,
0 replies

4 posts

B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
answered
Veteran Member

No, if you install the website use different DB-Prefixes, but use the same database.

Then open the file files\includes\multisite_include.php and there you change the DB-Prefix. But only on the tables, which you want to use together.

You can decide, which tables you want to use togehter and which not.
Edited by Basti on 22-06-2008 19:35,
0 replies
C
Cupid
C
Cupid 10
  • Member, joined since
  • Contributed 151 posts on the community forums.
  • Started 49 threads in the forums
  • Started this discussions
answered
Member

Sorry, slaughter.. Remember? I'm an idiot when it comes to this.. haha

I opened the multisite_includes.php file and I see something like this"

Quote

define("DB_USERS", DB_PREFIX."users"wink;


is that what I change to make the users registered on all sites?

what part do I change?
Edited by Cupid on 22-06-2008 21:41,
0 replies
C
Cupid
C
Cupid 10
  • Member, joined since
  • Contributed 151 posts on the community forums.
  • Started 49 threads in the forums
  • Started this discussions
answered
Member

I seem to have messed something up..
0 replies
C
Cupid
C
Cupid 10
  • Member, joined since
  • Contributed 151 posts on the community forums.
  • Started 49 threads in the forums
  • Started this discussions
answered
Member

nevermind! I fixed it!
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

B
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
C
C
Cupid 10
  • Member, joined since
  • Contributed 151 posts on the community forums.
  • Started 49 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet