Home  >  Article  >  CMS Tutorial  >  How to forward integrate DEDECMS V5.5 with Discuz 6.0

How to forward integrate DEDECMS V5.5 with Discuz 6.0

藏色散人
藏色散人Original
2020-01-13 09:24:422802browse

How to forward integrate DEDECMS V5.5 with Discuz 6.0

How to forward integrate DEDECMS V5.5 with Discuz 6.0?

DEDECMS V5.5 forward integration Discuz 6.0 (without Ucenter)

Recommended learning: 梦Weavercms

A customer raised this question today Integrate DEDECMS 5.5 and the old version of Discuz 6.0, both of which are encoded in GBK. DEDECMS V5.5 is the latest DEDE version, and Discuz V6.0 is relatively old.

achieves the effect :

Realize login, registration and exit at DEDE, BBS out of the registration login and exit link to DEDE, thereby realizing synchronous registration, login and exit operations

The idea is as follows:

According to Discuz V6 Passport mechanism (pass), add passport code on the DEDECMS side

Need to embed include

synchronous registration,

synchronous login,

synchronous logout

Wait for 3 places

First, after logging in as the administrator of Discuz V6, enable the pass in the pass section, and fill in the corresponding registration, login, and exit addresses

are as follows

Application URL address: http://your domain name

Pass private key: 12345678910

Application registration address: member/index_do.php?fmdo=user&dopost= regnew

Application login address: member/login.php

Application exit address: member/index_do.php?fmdo=login&dopost=exit

Then modify DEDECMS Partially

We added the member/dz6_passport.php file

and modified member/index_do.php and member/reg_new.php

Recommendation: "discuz Tutorial

The above is the detailed content of How to forward integrate DEDECMS V5.5 with Discuz 6.0. 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