How to integrate and synchronize members of multiple Western CMS systems

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.