How to Set Up External Data Calls for Discuz! X Sites

    Many webmasters using platforms other than Discuz! want to call Discuz! data into their other sites but struggle with the setup. Let me guide you through the process.

First, let’s see the final result:
2.jpg
You can tweak and customize the styling here as you like.

1. Go to Admin CP > Portal > Module Management
2.jpg
2. Add a call  then click External Call
2.jpg

3. Copy (CTRL+C) the content below and add it to your HTML file

4. There are actually two methods to add this
1) If your external site is also a Discuz! site, you can use the DIY Module   Display Class   Custom HTML to add it
1.jpg

2) You can also add it directly to an HTML file. The code can be placed anywhere in the HTML file, but you’ll need to style it yourself to make it look good.
未命名.jpg

Display effect:
未命名.jpg


OK, the setup is complete. Have you got it, dear webmaster?



If you have any questions, feel free to reply below.

View more Discuzx tutorials Discuzx templates Discuzx plugins

Leave a Comment

Your email address will not be published.