This module allow to keep in sync two Drupal instances, and must be installed on both web sites.

The way it works is to update a table, on the slave website, with the user data, when a user is updated or created on the master web site.

Once the update is done, a url is fired via cURL on the slave website. This function read the data from the table, updated by the master, and create or update a user based on the email address.

To test/use this module you need:

1. Two drupal website with relative admin access.
2. SQL config for both web sites

Config:

1. Download and install the module on the master website.
2. Go to Admin > Config > People > Sql User Sync and configure the slave website SQL parameters (host, user, pwd, etc.).
3. Install module on your slave and select the table where the data is stored (the same configured in the slave parameters on the master web site).
4. On the master create a map of fields between master and slave.
5. On the slave web site assign anonymous user and authenticated user access permission to "SQL User Sync run updates".
6. If your master act even as slave do the some config in the other way.

Updates:

Every time a user is update or created on the master, the update will run on the slave. If you need to run the update manually, call http://yoursite.com/sql_user_sync/run.

If you have access to your web server configuration, you can create a cron job that will be executed every night.

*** This module is in beta release, please report bugs. ***

Project information

Releases