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․

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:

Site Search

Site Menu


☑ Websites Scripts

Calendar

«    November 2024    »
MonTueWedThuFriSatSun
 123
45678910
11121314151617
18192021222324
252627282930 

Advertisement

Survey on the website

Evaluate the work of the site
 

Statistics

  • +25 Total articles 6747
  • +12 Comments 4077
  • +25 Users : 5840