
Share Frontend Users Between Multiple Sites
« on: 08 Apr 2008, 13:08 »
--------------------------------------------------------------------------------
If you want to share frontend users among multiple sites, redirect the registration to the main site (originating). Then set up the following crontab job for each site:
Minute: 1,16,31,46
Hour: *
Day of Month: *
Month : *
Day of Week: *
Command:
/usr/bin/mysqldump -h
This example will run the job every 15 minutes and synch the feusers tables between 2 sites.
Notes:
- This will work between different servers.
- You may need to change the path to mysqldump, depending on your setup.
- Replace the entries in < > with your specific database info.
- Replace the "cms_" table prefixes with your table prefixes.
- The command must be a single line.
Nullig