Code Analysis for Discuz Study (iv) Forum entry document, Discuz forum entrance
Just a rough analysis of the execution process, mainly to obtain the MoD parameter value, according to the value of loading the controller, the controller position is specified in the last line.
1) define the application name and load two necessary files
Define (' Apptypeid ', 2); D
Libcurl also supports HTTPS authentication, HTTP POST, HTTP PUT, FTP upload (This can also be done via PHP's FTP extension), HTTP forms-based uploads, proxies, cookies, and Username + password Authentication.
PHP's curl really is quite easy to use, online a search related articles are about Curl simulation landing, few people provide analog discuz post source code.
Copy the Code
Code Analysis and Learning for discuz (4) Forum Portal file and discuz Forum Portal. Code Analysis and Learning for discuz (4) Forum Portal file. the discuz Forum portal only roughly analyzes the execution process, mainly obtainin
Does the wordpress editor support code writing? There is no function for inserting code in the csdn Forum editor ??? Does the wordpress editor support code writing? Nbsp; there is no csdn Forum editor code insertion function ???
Implementation of the Discuz Forum client application source code, discuz source code
By using the source code, developers can quickly migrate the Discuz forum to the Android client. You can have the Android client of your forum w
In the past, discuz was supported, but jsprun was not supported, and its ownCodeThere is a problem, so I have provided the modification method here.My forum has been improved. See the following example:
Added code display, code highlight, and formatting functions to the jsprun forum.
The specific modification is
POST. PHP publishes the subject page, and the posted information is submitted to okey.php for processing.
Include "linkfox.inc.php";
Include "info.inc.php";
?>
$tem = $HTTP _cookie_vars[flyfoxnet]; Take cookie Information
$temp =explode ("|", $tem);
$cookiem = $temp [0];
$useinfo =cuser ($cookiem, $action);
if ($useinfo [2]== "visitors") $usename = 1;
?>
Current position: Fo
In fact, the time to write this code is only nearly three days, not before the detailed thinking and planning (can say a little plan not) that day think of a forum to try, and then do it, and I was only contact with nearly one months of PHP, has not really written the program and other things, In writing this code of two days and a half time, there are several ti
Does the wordpress editor support code writing? Does the csdn Forum provide the ability to insert code in the editor? Does the wordpress editor support code writing? There is no function for inserting code in the csdn Forum editor
This program is Teddy for more convenient collection of a variety of parenting knowledge, ready to hold a parenting Forum + wiki website 5jbb. com, and for yetanotherforum. net's latest version 1.9.1 RC1 (net V2.0)-version 2007-5-16 and screwturn wiki's latest version 2.0.11-2007-7-3 are hand-written, integrated, bug fixes, and feature enhancements. Here we will share the complete program source code to eve
You cannot find the Banner Advertisement code data on the top in index. asp. You can use the method to temporarily delete some codes and view the display result. Check the result step by step to find the banner display code. Later I found the sub main () function in index. asp. The dvbbs. Nav () function in it is used to display the top part of the Forum.
By the
Source code of my forum (2 ). This page displays the topic list. Foxbbs. php function: Display the topic of the Forum HTMLHEADTITLE Fox Network Forum TITLESTYLEtypetextcssP {FONT-FAMILY: normal; FONT-SI main interface, that is, display the topic list of this page.
// Foxbbs. php: displays the topic of the
You need to modify the attachment.php file in the root directory
In $attachexists = $ispaid = FALSE;
if (!empty ($checktwo)) {
Add before the end of the?>
} else {
echo "";
echo "}
I set up discuz! on this machine. 5.0.1 Debugging passed the
The complete code is as follows:
/*
[discuz!] (C) 2001-2006 Comsenz Inc.
This isn't a freeware, use is subject to license terms
$RCSfile: Attachment.php,v $
$Revision: 1.13 $
$Date: 2006/08/11 06:51:07 $
*/
Requir
Many webmaster for the forum is too many spam ads crazy, this procedure is to deal with the forum spam mass device.
Change the verification code to an addition operation, such as the verification code display "25+64 equals?" , then enter "91" to pass validation.
Look at the effect chart contrast: Character verificati
Please see an article: DZ Forum Core Code Analysis plan--install Package
It took two days to finish analyzing the global.func.php. Also intends to 3 days to complete the common.inc.php file, found again a lot of documents. So this time the post changes the strategy. First, the analysis of the global.func.php file. The analysis was not good. A lot of things I don't know what to do with ... I even found a fe
long as they follow the code rules. Such as:
To show bold How to are your words, you should enter how to are you instead of typing
You may ask: How does ASP convert how to are you to The answer to this question is: use regular expressions.
Third, the use of regular expressions
Sometimes when we make Web form data processing (especially UBB forum), we need data validation and string substitution, especia
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.