Home  >  Article  >  CMS Tutorial  >  How to integrate Discuz into Imperial CMS

How to integrate Discuz into Imperial CMS

王林
王林Original
2019-11-09 11:03:413593browse

How to integrate Discuz into Imperial CMS

Recommendation: "discuz Tutorial"

How Empire CMS integrates Discuz:

Method 1: Integrate using Ucenter interface. There is no need to install the pass and universal membership interface when using Ucenter interface integration.

Method 2: Use the Discuz pass interface to integrate. You need to install the universal membership interface first, and then install the pass.

Ucenter interface integration steps:

Step 1: Upload the integration interface. Upload the folders and files in the "upload" directory of the interface package to the "Imperial CMS" e" directory (note that the files and directories in the upload directory are uploaded, not the upload directory itself)

How to integrate Discuz into Imperial CMS

Copy to the "e" directory of the Empire CMS:

How to integrate Discuz into Imperial CMS

##Step 2: Add the Imperial CMS application in the Ucenter backend Log in to the Ucenter backend > Click "Application Management" > Click "Add New Application"

How to integrate Discuz into Imperial CMS

Click Add New Application to enter the Add Application page:

How to integrate Discuz into Imperial CMS

How to integrate Discuz into Imperial CMS##Step 3: Configure the Ucenter integration interface Modify the configuration parameter file e/config.inc.php in the e/config.inc.php file in the Empire CMS directory: (The UTF-8 version needs to be modified with dreamweaver or editplus, and notepad will convert the file to gbk)

How to integrate Discuz into Imperial CMSAfter configuring the Ucenter configuration file, the Ucenter application list will show successful communication:

How to integrate Discuz into Imperial CMSIf the original empire CMS has Member data, you can follow the steps below to import members into Ucenter:

Step 4: Import Imperial CMS members into Ucenter Note:

(1) If your Imperial CMS uses universal membership The interface integrates other programs, that is, integrates other membership systems, so you can skip this step.

(2) If you do not have member data, you can skip this step.


Import steps:

(1). Copy the update folder in the "tool" directory of the interface package to the "e" directory of the Empire CMS;

(2), Run the e/update/index.php file to import member data;

(3) After the import is completed, delete the files in the e/update directory.

Step 5:

Clear the Empire CMS member table (phome_enewsmember) data to avoid conflict with Ucenter data. If you do not have member data, you can skip this step.

Log in to the Imperial CMS backend > "System Settings" > "Execute SQL statement" and run the following SQL: TRUNCATE `[!db.pre!]enewsmember`;TRUNCATE `[!db.pre!]enewsmemberadd `;

At this point, the Ucenter interface integration is completed.

Other instructions:

1. If the website member is not registered in the empire system and has not logged in to the empire, then he needs to log in to the empire once to activate the account. It's a synchronous login.

2. If you have integrated the DISCUZ pass before, you need to restore DISCUZ's logging.php and register.php to the original files.


Recommended tutorial:

Empire CMS Tutorial

The above is the detailed content of How to integrate Discuz into Imperial CMS. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn