Example: We need to integrate the following three Empire CMS systems
The website names are Website A, website B, and website c ";
The database names of the installation system are "adb", "bdb", and "cdb ";
The domain names used are a.phome.net, B .phome.net, and c.phome.net ".
Integration steps:
1. Use a member table in the CMS system as a public member table for all websites.
For example, if we use website A as A full-site member table, the Moo member table name is adb. phome_enewsmember.
2. Modify the configuration file (/e/class/user. php) for all website members and change the member table name to "adb. phome_enewsmember" for the public member table name ".
Use Dreamweaver to open the/e/class/user. Php file of the CMS system of each empire:
$ User_tablename = "{$ user_tbpre} enewsmember"; // user table |
Change
$ User_tablename = "adb. phome_enewsmember"; // user table |
Save the modified file.
3. Set unified COOKIE information for synchronous login and exit under the same domain name. The modification is as follows:
Use Dreamweaver to open the/e/class/config. Php file of the CMS system of each empire,
1. Set:
$ Phome_cookiedomain = ''; // cookie scope |
Change
$ Phome_cookiedomain = '.phome.net'; // cookie scope |
2. Set:
$ Phome_cookievarpre = 'ecms'; // prefix of the foreground cookie variable |
Change to the prefix of the foreground cookie variable in the Empire system of website ". (Set cookies for all websites)
Save the modified file.
4. After completing the above steps, all website members are integrated and can be synchronized during registration, logon, and exit of all websites. Try to log on!
Other instructions:
1. After integration, the passwords of all member accounts are stored in the public member table.
2. Use the same domain name to synchronize login and exit for all websites. Different domain names can only synchronize member accounts, and members must log on to the website separately.
How to integrate and synchronize members of multiple Western CMS systems