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?

Multi Site

Asked Modified Viewed 3,843 times
K
Koopa
K
Koopa 10
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
asked
Newbie

Hi, Is there any documentation on how to set up the multi site feature of version 7.

We have a number of web sites currently all on slightly different versions of 6.

We are currently looking to upgrade each one to 7.

I would be nice if I could install the core code to one area and merge all the diferent sites to one database (diferent prefixes for each site) with a core member table for all sites.

Can this be done, documentation if possible?

Thanks
0 replies

9 posts

K
Koopa
K
Koopa 10
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

All a bit of a mystery to everyone else as well then?
0 replies
P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

Yes this is secret feature i think :)

And I'm don't understand this feature...
0 replies
S
Sveinungs
S
  • Veteran Member, joined since
  • Contributed 935 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

It's very secret indeed, but this should give you a hint:
http://php-fusion.co.uk/forum/viewthr...d_id=22560

(it's the first thread in the content administration forum at this site, btw ;))
0 replies
K
Koopa
K
Koopa 10
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Quote

sveinungs wrote:
It's very secret indeed, but this should give you a hint:
http://php-fusion.co.uk/forum/viewthr...d_id=22560

(it's the first thread in the content administration forum at this site, btw ;))


Really? And you think that I didn't read through this forum before posting my request on here?

If you ACTUALLY read my post you will see that I am asking if multi sites can be set up with ONE core code.

Your replies were not helpful one little bit.

Does anyone have a sensible reply or is this forum like most others around the web, where people just post rubbish and clog up senible thread because they have nothing better to do.
0 replies
B
bite
B
bite 10
  • Member, joined since
  • Contributed 163 posts on the community forums.
  • Started 5 threads in the forums
answered
Member

PHPFusion supports only table prefixes, which allows you to use same database for several PHPFusion installations, however there is no way to make it possible to use one core for multiple websites. With little coding, there is way to share themes from PHPFusion installation A with PHPFusion installation B if both are installed at the same server, the rest cannot be shared because of PHPFusion architecture/standards.
0 replies
K
Koopa
K
Koopa 10
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

OK, Many thanks for the informative reply, much appreciated.

Another quick question, we currently have around 8 sites, all have been in use on version 6 for a while now so each has it's own members and forums.

Is there an easy way to merge into one database, merging all the members into on table but somehow retaining the forums (with the inherant links between users and forum entries this would at first site appear to be very fiddly to achieve).?
0 replies
B
bite
B
bite 10
  • Member, joined since
  • Contributed 163 posts on the community forums.
  • Started 5 threads in the forums
answered
Member

Yes, its possible, for example:
PHPFusion installation A has database prefix 'fusionmain_',
to make PHPFusion installation B use users table from PHPFusion installation A, edit includes/multisite_include.php file in PHPFusion installation B, replace
define("DB_USERS", DB_PREFIX."users");
with
define("DB_USERS", "fusionmain_users");

now PHPFusion installation A and B uses same users database.
Note: all PHPFusion installations must use same database.

EDIT:
If you have many custom user groups, they will not work on both installations, to share user groups edit
define("DB_USER_GROUPS", DB_PREFIX."user_groups");
same way as users table definition.
Edited by bite on 17-08-2009 15:43,
0 replies
K
Koopa
K
Koopa 10
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Thanks, but I am not sure that this would work.

Say on A User Koopa is member 12 and on B User Koopa is member 23, but merging the user tables into one Koopa would either have to be 12 or 23 and the links to one of the forums would now be incorrect.
0 replies
B
bite
B
bite 10
  • Member, joined since
  • Contributed 163 posts on the community forums.
  • Started 5 threads in the forums
answered
Member

By doing like i posted above, PHPFusion B will completely ignore its own users table, and will use ONLY PHPFusion A users table. This will not copy all users from PHPFusion B to PHPFusion A users table. If PHPFusion B uses same users table as PHPFusion A and you delete user from PHPFusion B, it will be deleted for both, same if you delete user from PHPFusion A.
Edited by bite on 17-08-2009 20:48,
0 replies

Category Forum

Installation Issues - 8

Labels

None yet

Statistics

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

4 participants

S
S
  • Veteran Member, joined since
  • Contributed 935 posts on the community forums.
  • Started 3 threads in the forums
K
K
Koopa 10
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
B
B
bite 10
  • Member, joined since
  • Contributed 163 posts on the community forums.
  • Started 5 threads in the forums
P
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet