Deployment of Discuz
Deployment of Discuz
installing discuz
Discuz installation configuration (based on centos7)
View the system version
Discuz! It is a community-based professional website creation platform launched by Comsenz, a subsidiary of Tencent, to help websites implement universal services. Let the Forum (BBS), Personal Space (SNS), Portal (Portal), Group (Group) and Open Application Platform (Open Platform) be fully integrated to help the website implement a single service.
Note. This document is used to help you install the full version of Discuz! X2.5.
discuz code
the diskuz method
Registration method
runlog()
Discuz is an open source software, we use this software to manage the forum, we will briefly present the organizational structure of the discuz code for those who need it for reference. , ,
1.discuz directory structure
Directory structure:
discuz —— , , ( )
The need for:
? ? ? discuz ? ?? Ucenter??? api?????
discuz, Thinkphp32。 Ucenter , 。
discuz :
discuz ( ) :( )
Discuz! Introduction
Crossday Discuz! Board (Discuz!) is a universal software system of the public forum. Since June 2001, it has been one of the highest growth and lighting in the world.
Official website:
define ('apptypeid', 5); // Should, you know
define ('curscript', 'userApp'); // Should, you know
retful_once'./source/class/class_core.php ';/it must be, you know
$ discuz = & discuz_core :: execution (); // Should, you know
$ Discuz-> cachelist = $ cachelist; // need, you know
$ discuz-> init (); // Should, you know
About the custom html call of the static module discuz x1.5
Tags: HTML PHP
In DIY, select module-> display class-> static module
This is the same in the data source, custom HTML. Usually used to integrate third-party data, this will be used
Currently, only the data call of the discuz x1.5 module itself is known.
Discuz! X2.5 Add a custom data call module (simple method)
Function Discuz! The X Series Dista is still pretty good. In the process of secondary development, you can add a new data call module to develop the functional module that you are developing, you can display the data that you want to display in each place of each page.
First add data calls
Second, source/language/block/directory new module module template
Source / language / lang_blockclass.php Creates a module in module management
Third, background update DIY module classification cache
In the "Comment Thread Displaying" tab, you can find all the necessary options to manage the functions of uploading, displaying and sorting comments with the wpDiscuz WordPress plugin․
In the "Comment Chain Features" tab, you can manage the components of the comment layout. That is, to display/hide certain buttons or information, as well as customize commentators' avatars, voting buttons, etc. I have already mentioned many options in various articles, however, and here they will be analyzed.
The wpDiscuz — User Notifications add-on adds a convenient notification system to your site. Users of the site will be able to receive notifications as soon as they appear. Moreover, two notification options are available: