November 16 2022

There are two types of resources available to HTTPD, static resources and dynamic resources; static resources have our common pictures, JSP, music, audio, etc., and dynamic resources refer to some types of resources that need to be implemented by compiling execution code. They need a MySQL or MariaDB database to assist with the implementation. After running in the background, the results of the operation are returned to the user; after the client sends resources to the server, the server core is accepted and the resource is forwarded to HTTPD for processing. The role of the CGI common gateway interface protocol will direct resources for MySQL processing, and then compile the PHP subprocess according to HTTPD, and then return the result to the client; PHP is the programming language of the common server script;

November 16 2022

discuz code

the diskuz method

Registration method

runlog()

November 16 2022

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:

November 16 2022

Discuz showcalendar

November 16 2022

discuz —— , , ( )

The need for:
? ? ? discuz ? ?? Ucenter??? api?????

discuz, Thinkphp32。 Ucenter , 。

discuz :
discuz ( ) :( )

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․

Site Search

Site Menu


☑ Scripts Software

Calendar

«    April 2024    »
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
2930 

Advertisement

Survey on the website

Evaluate the work of the site
 

Statistics

  • +5 Total articles 5607
  • +15 Comments 3084
  • +27 Users : 3849