1
kalamata
Linking the databases of two XOOPS sites on the same server
  • 2006/4/3 12:02

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


Dear All,

I have two XOOPS sites on the same server and I would like every user who registers on one site to be automatically registered to the other as well.

All tables are on the same server and both sites are hosted on the same server. After doing some research, it seems that when the user fills in the information in the form, information goes to register.php where checking happens on the information submitted. After that, my understanding is that a user handler is created and the file that is invoked in kernel/handlerregistry.php, where an insert query runs under the insertuser() function.

Is that the case? If so, the query makes reference to db without specifying it.

How can I modify it so that it serves for both sites?

I look forward to hearing from you soon.

Thanks in advance.

George

2
zyspec
Re: Linking the databases of two XOOPS sites on the same server
  • 2006/4/3 16:26

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


George,

You might look at the multisite hack from Mithrandir - see more discussions here.

This may allow you to do what you're asking.

3
kalamata
Re: Linking the databases of two XOOPS sites on the same server
  • 2006/4/4 14:11

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


Problem is I am running an older version of XOOPS and it should be as simple as an insert query really. I am trying to get my head around where this query happens.

The hack for multi-sites, as I understand it, is about managing multiple sites by using the same blocks and this is not what I want. Each site has its own blocks and all they share is the users database.

George

4
m0nty
Re: Linking the databases of two XOOPS sites on the same server
  • 2006/4/4 14:24

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


not exactly.. multi-sites will allow you to just share the users table if that's all you want to share..

it'd help also if we knew which version of XOOPS you use..

5
kalamata
Re: Linking the databases of two XOOPS sites on the same server
  • 2006/4/4 18:04

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


Apologies for the loss of information - it is XOOPS 2.0.9.2. The problem I am having with multi-sites is that I will not be the central administrator of all of them; I will only be managing the central site so I would prefer each site to have its own database rather than a big one. The problem is, is there a way?

Thanks,
George

Login

Who's Online

101 user(s) are online (51 user(s) are browsing Support Forums)


Members: 0


Guests: 101


more...

Donat-O-Meter

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

Latest GitHub Commits