Discuz and uc problems

Source: Internet
Author: User
Discuz and uc problems I have integrated two discuz forums with uc. now both forums need to be registered. I have to verify the email address in A. I have to verify it when I log on to B. Now I have added A field in uc. synchronize the two forums now when registering in A, users in A and uc can keep discuz and uc problems.
I used uc to integrate two discuz forums. now, both forums need to be registered. in A, I have to verify that I have logged on to B. Now I have added A field in uc to synchronize the two forums. now, when registering in A can keep users in A and uc consistent, but uc and B cannot, that is to say, when A user registered in A logs on to B, the value of the newly added field in uc cannot be passed into B. I 'd like to ask for help. please have A master who understands discuz to help me !!!

------ Solution --------------------
Discuz isolates the user Center (uc) to achieve integration.
The integrated forums and communities all use the same uc for registration, login, and verification.
------ Solution --------------------
What is the use of the added field?
------ Solution --------------------
If you registered in a, you need to verify it when logging on to B. Then you can verify it for a at registration.
During login and registration, the synchronization mechanism between uc and discuz is to print a piece of js code to the page to request the corresponding interface and then perform the corresponding operations,
The related files are api. php and some things in the uc_client folder.
------ Solution --------------------
The problem with UC is quite complicated, and I was able to solve it only when I was half-open.
------ Solution --------------------
One thing you need to understand is the relationship between application A and application B and uc. For example, you store a field in uc, but compared with application B, uc is the slave, and application B is the active, so you can actively access the UC database in application B, so that you can synchronize. Also, try to use the APIs provided by uc and the uc. php file.

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.