Interface Description: Realize the Imperial CMS and Ucenter Account synchronization registration, login, exit, delete, modify the user name and update password. |
Warm hint: Discuz pass interface and Ucenter interface choose one, can not install two kinds of integrated interface mode at the same time. |
A. Package directory Description:
"upload" directory: Ucenter Integrated Interface Pack Directory Tooldirectory: Import an Imperial CMS member into the Ucenter Toolkit catalog |
two. Interface Integration steps:
1th Step:UploadIntegrated Interface
Upload the folders and files in the "upload" Directory of the interface package to the "e" directory of the Imperial CMS (note that uploading files and directories in the upload directory rather than uploading the upload directory itself). |
2nd step: Add Empire CMS application in ucenter background
Login Ucenter background > App management > Add new app, then choose a custom installation, set the following options:
interface URL: |
fill in the "E" directory address of the Imperial CMS, such as "http://Domain/E". |
communication key: |
any character, consisting of English letters and numbers. As long as possible. |
whether to turn on synchronous login: |
select Yes. |
|
select other. |
|
select Yes. |
|
3rd Step: Configure the configuration parameters file of the Ucenter integration interface e/config.inc.php
Modify the e/config.inc.php file configuration under the Imperial CMS Directory: (UTF-8 version to be modified with Dreamweaver or EditPlus, Notepad will convert the file to GBK)
Variable |
Description |
Uc_connect |
By default. If you set up a MySQL link, the Ucenter database account must have permission to operate the Empire CMS database. |
Database related parameters |
Configure the database configuration parameters for the Ucenter. |
uc_dbhost |
ucenter Database host |
uc_dbuser |
|
ucenter Database Password |
ucenter database name |
ucenter the database character set, the default is |
uc_ Dbtablepre |
ucenter database table prefix (format: database. Prefix , such as: DATABASE.UC_) |
|
communication related parameters |
to align with the Ucenter added Imperial CMS app settings. |
uc_key |
communication key, open Ucenter unify the communication key and this key in the Empire CMS application. |
uc_api |
Set the installation address for ucenter, such as: Http://www.phome.net/uc |
uc_charset< /td> |
ucenter character set, by default |
uc_ip |
ucenter IP, default |
uc_appid |
ID of the current app, Open Ucenter to see the ID number before the Empire CMS interface in app Management. |
|
Sync Login Cookie Settings |
By default. |
|
4th Step: Import the Imperial CMS member into Ucenter
(1), if your Imperial CMS uses a universal membership interface to integrate other programs, that is, to integrate other membership systems, you can skip this step. (2), if you do not have member data, you can skip this step. Import step:
(1), copy the update folder in the " tool " Directory of the interface package to the " e " directory in the Imperial CMS; |
(2), run the e/update/index.php file for member data import operation; |
(3), after the import is complete, the files in the E/update directory are deleted. |
|
5th step: Empty the Imperial CMS Membership table (Phome_enewsmember) data to avoid conflicts with Ucenter data
Log in to Empire CMS background > System settings > Backup and restore Data > Execute SQL Statement, run the following sql:
TRUNCATE ' [!db.pre!] Enewsmember '; TRUNCATE ' [!db.pre!] Enewsmemberadd '; |
|
6th step: At this point, Ucenter interface integration is complete.
three. Other Notes:
1, if the member has not landed in the empire, then need to land an empire, to activate the account, in the future is a synchronous landing. |
2, if previously integrated Discuz pass, then need to restore Discuz logging.php and register.php for the original document. |
"Imperial Website Management system" Ucenter interface upgrade instructions
A. Package directory Description:
"upload" directory: Ucenter Integrated Interface Pack Directory Tooldirectory: Import an Imperial CMS member into the Ucenter Toolkit catalog |
Two. Imperial CMS6.6 Upgrade version 7.0 Uenter interface steps:
Upload the interface package "upload" directory: Upload all folders and files except the config.inc.php file to the "e" directory in the Imperial CMS to complete the upgrade: |
This article from "Yun Vil Szeng" blog, declined reprint!
Imperial Website Management System Ucenter Interface integration, upgrade instructions