The discuz directory information collected somewhere is quite useful for secondary development. Record it. (Based on the standard program of 7.0, some files unrelated to plug-ins are not explained)
File color description:
红色:程序核心文件,修改这类文件时千万要注意安全!
橙色:做插件几乎不会用到的文件,大概了解功能就可以了,其实我也不推荐修改这些文件
绿色:函数Class file,Many powerful custom functions can be used by calling this type of file
Blue:The most standard commonly used files for plug-in productionPurple:The file is ZendEncrypted, please do not modify such files
There is an empty index.htm, in each directory. This is to prevent For directory listing, ignore .
Root directory./ (These are the most basic procedures)
admincp.php——BackendSystemSet the main program file, which generally only handles the access rights for menu display, not ManagementControl.
ajax.php——Forum template’s ajax judgment and data return are all done here
attachment.php - attachment file, only handles the attachment download function.
announcement.php——The display of forum announcements is generally rarely changed
config.inc.php——Configuration forumDatabase, password and other information, everyone is most familiar with this
discuz_version.php——Forum version information is used for updating. Never modify it without official instructions
eccredit.php——Forum product function and credit check processing file
faq.php——Forum’s own help
favicon.ico - The icon displayed in the IE title bar
forumdisplay.php——Very simple, display of forum topic list
index.php——Control the display of homepage elements
invite.php——Forum invitation registration program file
leftmenu.php——Homepage sidebar file
logging.php - log in to the system and determine the user name and password.
magic.php——Forum props program file, handles prop purchase, gifting and other operations
medal.php——Forum medal center program file, handles medal sending and other functions
member.php——Control the display of member list, points strategy and other information
memcp.php——Member Personal Center Display
misc.php——Control the scoring function, forum interface display function, etc.
modcp.php——This is a mini background program operated by the forum moderator
my.php - View everything and your actions in this forum, such as "My posts ", "User group permissions " and so on
plugin.php——Forum plug-in, this mainly controls the display of the menu of the forum plug-in, and is generally rarely modified
pm.php——Forum short message program, control the publishing and browsing of short messages
post.php - is similar to viewthread.php, but it is more about managing post publishing, editing and other information. Permissioned control prompts
redirect.php——Control the access to the last published topic of the forum, and also control the redirection function of the topic
register.php - registration file, and also controls the legality of registered information
relatekw.php——Forum related tag generation
relatethread.php——Forum related topics
robots.txt - Setting the address in can prevent search robots from accessing the corresponding page
rss.php——RSSQuick subscription, no need to say more, right?
search.php - Handles information filtering in the forum search function
seccode.php——Forum registration, program to generate verification code
sitemap.php——ForumSiteMAPFunction Program
space.php——Program for viewing personal information
stats.php——processingThe statistical information in "Statistics" also allows you to view the corresponding statistical data of the forum
tag.php——Forum tag organization page
task.php——Forum task program, the task main program is triggered, and judgments are made here
topic.php—— is generally not accessible directly, controls the page display and displays the number of topics
topicadmin.php—— controls the front-end management operations of managers, such as highlights, pins, highlights, etc.
trade.php - Handles the forum’s trading topic
video.php - handles the video theme of the forum, including display and calling.
viewthread.php - handles the display of post information when browsing posts, such as information, titles, etc., and also handles the permissions to access posts, such as whether the reading permission is sufficient, etc.