1
Tropics
Two Sites using one Database - Possible?
  • 2005/2/25 0:46

  • Tropics

  • Just popping in

  • Posts: 17

  • Since: 2005/1/26


I would like to have two sites, each of which would have its own installation (file wise), using a different layout, different themes, even a different language. But those sites should share some of their data: The users and some of the forums.

Site #1 forum:
- category Announcements
- category Support
- and a private category, only visible to certain users

Site #2 forum:
- only the private category
- maybe something else, haven't thought about it yet

Is this possible?

2
hyperpod
Re: Two Sites using one Database - Possible?
  • 2005/2/25 0:54

  • hyperpod

  • Quite a regular

  • Posts: 359

  • Since: 2004/10/4


It is possible, but not by default.

you would have to edit some core code to handle this. Even then, i think its messy.

It is not recommended, since its hard to upgrade to new XOOPS if you edit core files in this way.

3
Lance_
Re: Two Sites using one Database - Possible?
  • 2005/2/25 2:27

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


You can check out a couple of the sites in my sig. They run off the same DB. If this is what you are looking for then search for Multisite. You will find there are only 2 files to modify to achieve this. Upgrading is not a problem at all.

A little pain on the admin side, but nothing you can't work around.

Cheers.

I run 3 sites this way, had a fourth but canceled it.

4
Tropics
Re: Two Sites using one Database - Possible?
  • 2005/2/25 2:52

  • Tropics

  • Just popping in

  • Posts: 17

  • Since: 2005/1/26


hyperpod: that's what i thought, but why not ask
besides, i already hacked my core and some of the modules because they just didn't behave as i wanted. i try to keep track of it with a text file.

lance: thanks very much, i think that is what i searched for. i found the thread and i will decide if i really want to do it after i read it all

5
pfaulkne
Re: Two Sites using one Database - Possible?
  • 2005/2/25 3:08

  • pfaulkne

  • Just popping in

  • Posts: 32

  • Since: 2004/2/14


Have a look at this thread. It was not long ago and I'm currently working on it for myself. As I said in the thread, if I get it working perfectly then I'll post it. So far it works sometimes.... :(

<a href="https://xoops.org/modules/newbb/viewto ... SC&start=10">here is the thread</a>

Mithrandir is also working on it and it looks like we are doing similar things. When I have more time to work on this, I'll try to sync up with him so reinventing the wheel is avoided.

Login

Who's Online

52 user(s) are online (28 user(s) are browsing Support Forums)


Members: 0


Guests: 52


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits