Empire 5.0 and discuz6.1 Integration tutorial

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Always want to integrate the forum, but because they are rookie, always fail to end, before and after the integration of Phpwind and Discuz, have failed, recently, in the forum bubble for a long time, and finally succeeded.

Experience as follows, hehe, I hope the same rookie can help!

(1), relatively speaking, discuz integration success rate is higher, recommended through UC integration.

(2), installation steps:

1. Install Empire 5.0 and UC1.0

2, through the UC installation DZ6.1

3, install Universal member interface (do not install pass)

(3), according to the "Imperial Web site Management system" Ucenter interface integration instructions for installation

1th Step: Upload the Integration interface

Upload folders and files from the "upload" Directory of the interface package to the "E" directory of the Empire CMS

2nd step: In the ucenter background to increase the Empire CMS application

Login Ucenter > "Application Management" > "Add New Application", and then select a custom installation, set the following options: interface URL: Populate the Empire CMS "E" directory address, such as: "http://domain name E."

Communication key: Any character, consisting of English letters and numbers. Try to be as long as possible.

Whether to turn on sync logon: Select Yes.

Application type: Select Other.

Step 3rd: Configure the configuration parameter file for the Ucenter integration interface e/config.inc.php Modify the e/config.inc.php file configuration under the Empire CMS directory:

Variable description

Uc_connect If you set the MySQL link mode, ucenter database account must have permission to operate the database of the Empire CMS.

Database-related parameters Configure Ucenter database configuration parameters.

Communication-related parameters should be consistent with Ucenter's increased Empire CMS application settings.

The synchronization login cookie is set by default.

4th step: The Imperial CMS member import ucenter Description: If your Empire CMS uses the Universal member interface to integrate other programs, that is, the integration of other member systems, you can skip this step.

Import Step:

(1) Copy the update folder in the "tool" directory of the interface package to the "E" directory of the Imperial CMS;

(2), the Operation e/update/index.php file, carries on the member data import operation;

(3), after the import, the E/update directory to delete the files.

5th step: Empty the Empire CMS Membership table (phome_enewsmember) data, so as to avoid conflict with Ucenter data landing Empire CMS > "System Settings" > "Execute SQL Statement", run the following Sql:truncate ' [!db.pre!] Enewsmember ';

The 5th step is very important, I did not do this step in the first integration, resulting in the CMS registered users DZ does not exist.

6th step: So far, Ucenter interface integration completed.

Issues needing attention in integrating dz6.1config.inc.php

config.inc.php file:

1. Define (' Uc_dbtablepre ', ' your database name. uc_ ');//Ucenter database table Prefix

Just add your database name, remember: the Empire and Forum database names must be consistent

2.define (' Uc_key ', ' 123456789 '); Open Ucenter to unify dz6.1 and ecms5.0 keys.

3.define (' Uc_appid ', 2);//The ID of the current application opens Ucenter look at the ID number before the CMS interface in application management.

If you follow the steps above, the ID number is generally 2, because DZ installation is 1, Tim wrong words, Chinese name members may appear garbled!

Notes:

1, if the user has not landed in the empire, then need to land an empire, to activate the account, then the synchronous landing.

2, the proposal in the installation of Discuz, the first in the Background forum registration set up a question and answer form to prevent the forum registration machine?

3, in the integration before the Forum can be registered to change the name of the page, or the same, discuz registration machine too much!

(Original site, transfer please specify the Source: Drunk Beauty Point Gold http://www.zmking.com)

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.