Reputation: 64834
I've a Drupal A website with users accounts running on server A and with domain A.
Now, I need to build a Drupal B website on server B and domain B, and when someone register on Drupal B, he is automatically registered on Drupal A.
In other terms, I need so sync the users accounts. Can i easily make it ?
thanks
Upvotes: 2
Views: 3795
Reputation: 2007
Take a look at the following projects/documentation:
Upvotes: 4
Reputation: 10351
You'll have to write something to export the users from Site A. Then use Feeds to import. You may be able to use Rules or some custom scripts to export from Site A to go into Site B (probably by running drupal cron on both in sequence).
Another idea would be to use the same database table for both. This is accomplished easily.
For Site B's settings file:
$db_prefix = array(
'users' => 'siteAdb.',
);
where siteAdb is the database that contains Site A's drupal installation so long as both databases use the same account. Of course you would have to apply any appropriate prefixes.
Upvotes: 0