Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of integrating Discuz by Imperial CMS

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail the method of integrating Discuz in Imperial CMS. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

The way Imperial CMS integrates Discuz:

First, integrate with Ucenter interface. Use the Ucenter interface to integrate without installing a pass and universal member interface.

Second, integrate with Discuz pass interface. Need to install the universal membership interface first, and then install the pass.

Ucenter interface consolidation steps:

Step 1: upload the integration interface to upload the folders and files in the "upload" directory of the interface package to the "e" directory of Imperial CMS (please upload the files and directories in the upload directory, not the upload directory itself)

Copy it to the "e" directory of Imperial CMS:

Step 2: add Imperial CMS App to Ucenter backend and log in to Ucenter backend > Click "Application Management" > Click "add New App"

Click add New App to enter the add App page:

Step 3: configure the configuration parameter file of the Ucenter integration interface e/config.inc.php to modify the configuration of the e/config.inc.php file in the Imperial CMS directory: (the UTF-8 version will be modified with dreamweaver or editplus, and the file will be converted to gbk with notepad)

After the Ucenter profile is configured, the list of applications for Ucenter will show that the communication was successful:

If the original Imperial CMS has membership data, you can import members into Ucenter by following these steps:

Step 4: import Imperial CMS members into Ucenter instructions:

(1) if your empire CMS uses the universal membership interface to integrate other programs, that is, integrate other member systems, you can skip this step.

(2) you can skip this step if you do not have your own membership data.

Import steps:

(1) copy the update folder in the "tool" directory of the interface package to the "e" directory of Imperial CMS.

(2) run the e/update/index.php file to import the member data

(3) after the import is finished, delete the files in the e/update directory.

Step 5:

Clear Imperial CMS membership table (phome_enewsmember) data to avoid conflicts with Ucenter data if you do not have your own membership data, you can skip this step.

Log in to 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 has been integrated.

Other instructions:

1. If the website member is not registered with the Empire system and has not logged in to the Empire, then you need to log in to the Empire once to activate the account, and then log in synchronously later.

2. If you have integrated the DISCUZ pass before, you need to restore the logging.php and register.php of DISCUZ to the original file.

On the Imperial CMS integration of Discuz methods to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report