In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains "what are the discuz catalog files". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what are the discuz catalog files?"
File color description:
Red: program core files, be sure to pay attention to safety when modifying such files!
Orange: files that are almost not used for plug-ins. You can probably understand the functions. In fact, I do not recommend modifying these files.
Green: function class files, many powerful custom functions can call this kind of file to use
Blue: the most standard plug-in commonly used files purple: this file is encrypted by Zend, please do not modify this kind of file
There is an empty index.htm in each directory, which is to prevent column entries from being hired.
Root directory. / (here are the most basic programs)
The admincp.php-- background system sets up the main program file, which generally only deals with the access to the display of the menu, not the management control.
The ajax judgment and data return of the ajax.php-- forum template are carried out here.
Attachment.php-- attachment file, only handle the download function of the attachment.
The display of the announcement of the announcement.php-- forum is rarely changed.
Config.inc.php-- configuration forum database, password and other information, which we are most familiar with
Discuz_version.php-- forum version information, used for updating, do not modify it without official instructions
Eccredit.php-- Forum merchandise function and credit check processing documents
Help that comes with faq.php-- Forum
The icon displayed by favicon.ico-- in the title bar of IE
Forumdisplay.php-- is very simple, the display of the forum topic list
Index.php-- controls the display of home page elements
Invite.php-- Forum invitation Registration procedure File
Leftmenu.php-- home page sidebar file
Logging.php-- login system to determine the user name, password.
Magic.php-- forum props program files, deal with props purchase, gift and other operations
Medal.php-- Forum Medal Center program documents, dealing with medal sending and other functions
Member.php-- controls the display of member list, points strategy and other information.
The memcp.php-- member personal Center shows
Misc.php-- control scoring function, forum interface display function, etc.
Modcp.php-- this is the mini background program operated by the moderator at the front desk of the forum.
My.php-- views everything and his behavior in this forum, such as "my posts", "user group permissions" and so on.
The plugin.php-- forum plugin, which mainly controls the display of the menu of the forum plug-in, is rarely modified.
Pm.php-- forum short message program to control the publication and browsing of short messages
Post.php-- is similar to viewthread.php, but it manages more information such as posting, editing and so on. It also has permission control prompts.
Redirect.php-- controls the access to the last posted topic of the forum, as well as the turning function of the topic.
Register.php-- registration files, while also controlling the legality of registered information
Generation of relatekw.php-- Forum related tags
Topics related to relatethread.php-- Forum
The address in the robots.txt-- setting can prevent the search robot from accessing the corresponding page
Rss.php--RSS express subscription, needless to say?
Search.php-- handles information filtering in the forum search function
Registration of seccode.php-- Forum, procedures for generating CAPTCHA
Sitemap.php-- Forum SiteMAP function Program
Procedures for viewing space.php-- personal data
Stats.php-- handles the statistics in Statistics and allows you to view the statistics corresponding to the forum.
Tag.php-- Forum tabs organize the page
Task.php-- forum task program, task master program triggers, judgment is carried out here
Topic.php-- is generally unable to access directly, control the page display, display the number of topics
Topicadmin.php-- controls the front desk management operations of managers, such as essence, top, highlight, etc.
Trade.php-- deals with the transaction theme of the forum
Video.php-- handles the video topics of the forum, including display and invocation.
Viewthread.php-- handles the display of post information when browsing posts, such as information, title, etc., as well as permissions to access posts, such as whether reading permissions are sufficient, and so on.
. / admin (manage the background program files, all here, and can only be accessed through admincp.php. The following explanation shows that this file corresponds to the corresponding setting project in the background)
Admingroups.inc.php-- Management Group
Adv.inc.php-- Forum advertisement
Announce.inc.php-- Forum announcement
Attachment to attach.inc.php-- Forum
Checktools.inc.php-- file check, email settings, FTP permissions check, attachment watermark settings
Counter.inc.php-- updates forum statistics
Cpanel.share.php-- checks the files of the background access process, and there are also some functions to manage file deletion.
Creditwizard.inc.php-- Credit setup Wizard
Db.inc.php-- database backup, import, export, optimization, verification
Discuzdb.md5-- database verification file
Discuzfiles.md5-- program file inspection file
Ec.inc.php-- Alipay and other e-commerce
Faq.inc.php-- Forum help
All settings under the forums.inc.php-- section
Global.func.php-- backstage function library, background setting display functions such as showsettings can be found here.
Home.inc.php-- backend home page content
Insenz.func.php--INSENZ marketing function library
Insenz.inc.php--INSENZ marketing
Jswizard.inc.php--JS call Wizard
Login.inc.php-- backend login prompt page
All the running records of the logs.inc.php-- forum
Magics.inc.php-- Forum props
Style control program in the background of main.inc.php-- forum
Medals.inc.php-- Medal Center
All settings under the members.inc.php-- user category
Menu bar for menu.inc.php-- system settings
Misc.inc.php-- online list customization, friendship connection, Discuz! Code settings, word filtering, theme icons, attachment types, scheduled tasks, tags, sidebar
Moderate.inc.php-- topic, reply, user Review
Plugins.inc.php-- Forum plugin
Profilefields.inc.php-- user information editing
Project.inc.php-- Forum Scheme
Delete posts in batch by prune.inc.php--
Qihoo.inc.php--QIHOO search
Quickqueries.inc.php-- commonly used SQL command files, you can add common SQL statements here to quickly execute
Ranks.inc.php-- credit rating
Recyclebin.inc.php-- Recycle Bin
Runwizard.inc.php-- runs the setup Wizard
The setting search function that comes with search.inc.php-- background
Most of the setup items under the settings.inc.php-- global
Smilies.inc.php-- expression
Styles.inc.php-- forum style
Tasks.inc.php-- Forum Task
Templates.inc.php-- Forum template Settings
Threads.inc.php-- theme Settings
Threadtypes.inc.php-- topic classification
Tools.inc.php-- Forum tools
Tradelog.inc.php-- transaction View
Usergroups.inc.php-- user settings, number of posts level
Video.inc.php-- Video Settings
Zip.func.php-- data compression and decompression program
. / Api (mainly related to passes and data calls)
Advertising display Management of advcache.php-- Forum
Dbbak.php-- database operation function
Google.php--GOOGLE search
Insenz.php-- Forum Marketing
Javascript.php--JS call
Uc.php--Ucentre communication
Uchome.php--UHome communication
Video.php-- video call function
/ trade
Alipay.api.php-- Alipay interface
Credit.notify.php-- integral recharge information
Trade.notify.php-- transaction Information
. / archiver== (in particular, because the files in the directory in archiver do not call commom.inc.php, all variables and functions cannot be used directly, and you have to search the database to judge)
Index.php archiver Home Page
/ include
Thread.inc.php archiver theme display
Index.inc.php this is used to filter forum permissions and interface display.
Forum.inc.php archiver Forum display
. / attachments is the directory where attachments are stored in the forum
. / forumdata is the directory where forum records and cache files are stored, which are generally generated automatically, so do not modify them. Let's talk about its use.
/ cache (easy to use, the file variables called here are very fast)
Admingroup_X.php manages group permissions
Cache_archiver.php archiver Archive
Cache_bbcodes.php BBCODE and SMILES
Cache_blog.php permission variables and smilies, bbcode, and information on the number of posts for all user groups
Cache_censor.php masking information
Cache_crons.php scheduling tasks
Cache_faqs.php FAQ
Cache_forumdisplay.php Forum Information and announcement
Cache_forums.php ditto
Cache_icons.php forum icon
Cache_index.php online list, Alliance Forum, announcement
Cache_ipbanned.php seal IP segment record
Cache_magics.php Forum props Properties
Cache_medals.php Medal Information
Cache_post.php smilies 、 bbcode 、 icons
Customization of cache_profilefields.php user column
Cache_ranks.php credit rating
Cache_register.php registration
Cache_request.php Forum Task Information
Cache_secqaa.php validation question
Cache_smilies.php forum expression
Parameter variables set by the cache_settings.php setting table
Cache_topicadmin.php topic Management
Basic information of cache_usergroups.php user group
Cache_viewpro.php user profile
Cache_viewthread.php forums, user groups, smilies, bbcode, icons
Plugin_XX.php plug-in table
Style_XX.php style caching
Usergroup_XX.php user group cache
Requestxxxxxx.php this is a cache file that records forum tasks.
/ templates (based on the template PHP generated by HTML, which is rarely used by plug-ins, ignored)
/ threadcaches (theme cache directory)
Some of the files at the root are data record files.
. / images is the picture directory. Skip it directly. It is important to note that. / images/admincp/admincp.css can be used to define the interface of system settings.
. / include is the core program directory of the forum, which is very necessary to understand.
Serverbusy.htm system error message (this page is displayed when the server is busy)
Xmlparser.class.php mainly deals with tags.
Viewthread_video.inc.php video topic behavior processing
Viewthread_trade.inc.php Commodity subject behavior processing
Behavior treatment of reward topic in viewthread_reward.inc.php
Viewthread_poll.inc.php Voting topic behavior processing
Behavior processing of viewthread_debate.inc.php debate topic
Viewthread_activity.inc.php activity topic behavior processing
Trade.func.php transaction behavior function Library
Threadpay.inc.php sale post
Template.func.php controls the template cache generated files
Task.func.php Forum Task Common function Library
Swfupload.func.php batch upload management
The program that sendmail.inc.php sends EMAIL
Security.inc.php seems to be a kind of agent, regardless of
Seccode.class.php CAPTCHA processing library
Search_qihoo.inc.php qihoo search
Search_sort.inc.php search sorting
Search_trade.inc.php searches for special topics
Request.func.php is related to the file in request, which is a function file.
Relatethreads.inc.php should be said to be a program that generates related topics.
Promotion.inc.php records the IP and other information of the current user
The program used by printable.inc.php to print themes
Post.func.php good function files, mainly functions for recording information and updating posts
Pmprompt.inc.php short message content processing
Information processing of new topics posted by newthread.inc.php
Information processing of sending and replying by newreply.inc.php
Moderation.inc.php moderator management
Misc.func.php is also a function file, control and management PM, score PM, score record, attachment highlight, IP conversion to geographic location
Function processing files when membermerge.func.php merges users
Magic.func.php prop processing function library
Insenz.func.php Forum Marketing Management function Library
Image.class.php picture display processing
Global.func.php 's rich function library is used for the foreground, such as removing HTML, sending PM, sending EMAIL, and so on. I suggest you study it.
Gifmerge.class.php picture display processing
Ftp.func.php remote FTP attachment handling function file
Forumselect.inc.php forum list display
Functions used by forum.func.php to deal with forum information, such as forum menu drop-down, etc.
Information processing of editpost.inc.php Editing posts
Function libraries managed by editor.func.php editor
Ec_credit.func.php Credit Trading File
Discuzcode.func.php Discuz! Transcoding handler
Diff.class.php database processing
Db_mysql_error.inc.php database error report
Db_mysql.class.php database center operating program
Cron.func.php controls the program for scheduled task execution
Counter.inc.php records statistics of operating systems and browsers
The most important core program of common.inc.php, reading COOKIES information and defining global system function variables.
Chinese.class.php is used to handle garbled codes and character sets.
Category.inc.php controls the number of posts and the statistics of the number of posts today
Cache.func.php controls the program that generates cache files
Attachment.func.php identifies the extension of the attachment and controls the program that displays category pictures in front of the attachment.
There is also a record judgment of the attachment size.
Advertisements.inc.php is used to deal with advertising display.
/ crons here is the scheduled task file, you can add your own scheduled tasks, and you can call the system variable
/ tables several language files, rarely changed, skipped
/ magic props script file directory, skip
/ request do not need to know, just ignore
/ tasks Forum task script file directory
/ js all JS call files and AJAX effect display control files are here
Bbcode.js Discuz! Code JS effect file
Calendar.js calendar display
Almost all the AJAX display controls of common.js are here.
Floatadv.js advertisement
Google.js GOOGLE search
Iframe.js frame display
Insenz_reg.js marketing
Md5.js MD5 processing
AJAX effect processing of post.js posting page
Qihoo.js QIHOO search
Treatment of display effect of slide.js Picture attachment
Tree.js tree table display
Video.js video display
AJAX effect in viewthread.js theme browsing
. / ipdata (IP library file directory, the wry.dat below is the IP library, which I will not change)
. / plugins (plug-in storage directory)
. / templates (template directory, usually you have to change the template when you do HACK, so it's explained below)
/ default (default template, starting from this, other styles, and so on)
Activity_applylist.htm activity topic Application list
Adv.htm Forum ads display
Announcement.htm announcement
Attachment to attachpay.htm charge
Attachpay_view.htm views a list of users who have paid for attachments
List of campaign.htm forums
Credits.htm integral strategy
Css_append.htm CSS expansion
Css_calendar.htm CSS Calendar
Most of the style changes of css_common.htm are here.
Css_editor.htm editor style
Css_float.htm floater style
JS scripts commonly used in css_script.htm
Css_seditor.htm editor style
Css_topicadmin.htm theme management interface style
Css_viewthread.htm theme browsing page style
The user feature on the home page of customtopics.htm
Debate_umpire.htm debate theme shows
The home page of the discuz.htm forum
The discuzcode.htm attachment shows all the information here.
Ec_credit.htm Credit Trading
Ec_explain.htm ditto, this is the explanation
Ec_list.htm deal list
Ec_rate.htm transaction evaluation
Emailfriend.htm EMAIL recommended topic
The faq.htm FAQ help manual is all below, but the display is different and omitted.
The sidebar display of faq_navbar.htm FAQ
Bottom information of footer.htm forum
The AJAX at the bottom of the footer_ajax.htm forum shows
No floating frame page at the bottom of footer_nofloat.htm forum
List of forumdisplay.htm Forum topics
Forumdisplay_passwd.htm password Forum input password prompt page
List of forumdisplay_simple.htm Forum topics
List of forumdisplay_subforum.htm secondary forums
Frame.htm tree frame
Getpasswd.htm retrieve password
Groupexpiry.htm Public user Group
Header.htm header connection (those with "registration" and "login" prompt)
Header_ajax.htm header connection AJAX display
Index.htm Home Page
Invite_index.htm invite registration
Invite_send.htm invitation to register send page
Drop-down box of jsmenu.htm forum
The tree list bar of leftmenu.htm Forum
Login.htm login page
Home page of magic_index.htm forum props
Behavior record of props in magic_log.htm Forum
Magic_market.htm Forum props Market
Magic_opreation.htm Forum props options
Use of magic_use.htm props
Medal.htm Medal Center
Memberlist.htm membership list, the one above
Memcp_credits.htm Control Panel (also known as "personal Center")-Credit Trading
Memcp_credits_action.htm Control Panel-Credit Trading Operation
Memcp_credits_log.htm Control Panel-Credit transactions
Memcp_profile.htm Control Panel-Editing personal data
Memcp_usergroups.htm Control Panel-Public user Group
Memcp_usergroups_misc.htm Control Panel-Public user Group processing
Memcp_validating.htm Control Panel-Audit Tip
Modcp.htm moderator backstage home page
Modcp_announcements.htm moderator backstage-announcement
Modcp_forumaccess.htm moderator backend-Forum Management permissions
Modcp_forums.htm moderator background-Forum Management
Modcp_home.htm moderator background-homepage
Modcp_login.htm main background login prompt page
Modcp_logs.htm master background-record view
Modcp_members.htm master background-user editing
Modcp_moderate.htm moderator backend-audit
Modcp_moderate_float.htm moderator backend-audit floater
Modcp_posts.htm moderator background-post management
Modcp_recyclebins.htm moderator backstage-Recycle Bin
Modcp_report.htm moderator background-report management
Modcp_threads.htm moderator background-theme management
My.htm member Forum behavior
My_activities.htm member Forum behavior-- my activity
My_buddylist.htm member Forum behavior-- my friend
The behavior of my_debate.htm member Forum-- my debate
My_favorites.htm member Forum behavior-- my Collection
My_grouppermission.htm member Forum behavior-- my user group permissions
My_polls.htm member Forum behavior-- my vote
My_posts.htm member Forum behavior-- my reply
The behavior of my_rewards.htm member Forum-- my reward
My_subscriptions.htm member Forum behavior list
My_threads.htm member Forum behavior-- my theme
My_trades.htm member Forum behavior-- my Commodity
My_tradestats.htm member Forum behavior-- my merchandise status
My_tradethreads.htm member Forum behavior-- my Commodity theme
My_video.htm member Forum behavior-- my Video
Nopermission.htm closes the prompt page displayed in the forum
Pay.htm buys posts
Pay_view.htm, who bought the post?
Pm.htm short message left menu bar
Pm_archive_html.htm Export short message HTML
Pm_checknew.htm check new SMS messages.
Quick hint of pm_node.htm SMS
Pm_search.htm search for short messages
Pm_search_result.htm search for short message results
Pm_send.htm sends short message
Pm_viewnew.htm browses short messages for more details
Post.htm posts are published
Post_activity.htm event theme released
Attachment module for post_attachments.htm posts
Post_debate.htm debate theme released
Forum selection list when post_forumselect.htm publishes a topic
Post_poll.htm publishes voting theme
Post_reward.htm publishes a reward
Post_sortoption.htm sort list
Post_swfattachlist.htm batch upload attachments
Post_trade.htm publishes goods
Post_video.htm publishes video
Rate.htm score
Rate_view.htm score record browsing
Register.htm registration
Topics related to relatekw.htm
Relatetag.htm related tags
Reportpost.htm topic report
Request_assistant.htm are all data return operation pages, and the following are all the same
Request_birthday.htm
Request_forumtree.htm
Request_modlist.htm
Request_rowcombine.htm
Request_tag.htm
Request_thread.htm
Search.htm search Home Page
Search_qihoo.htm QIHOO search
Search_sort.htm sorting
Search_sortoption.htm sort and sort operation
Search_trade.htm product search
List of posts searched by search_threads.htm
Seccheck.htm verification check
Standard Discuz in the seditor.htm editor! Code
The one that the showmessage.htm system returned an error message
Stats_main.htm Statistics Home Page
Stats_misc.htm manages statistics, time, points, etc.
The menu bar above stats_navbar.htm statistics
Stats_onlinetime.htm time statistics
Stats_team.htm management team
Stats_trade.htm Commodity Trading Statistics
Tag.htm Forum label
List of tag_threads.htm and tag-related topics
Task.htm Forum Task
Members of task_parter.htm who have completed their tasks
Topic.htm is another random advertisement of QIHOO.
Topicadmin.htm topic Management
Topicadmin_action.htm theme Management Action selection
View IP within the topicadmin_getip.htm topic
Recommended by topicadmin_modlayer.htm moderator
Trade.htm product theme display
Trade_displayorder.htm goods list
Trade_info.htm commodity information
Trade_view.htm goods display
View viewpro_classic.htm member details
Viewthread.htm browsing posts
View of viewthread_activity.htm activity theme
Information table for viewthread_activity_info.htm activity topics
Viewing the topic of the viewthread_debate.htm debate
Viewthread_debate_umpire.htm debating arguments on both sides
Viewthread_fastpost.htm posts quickly when browsing the topic
Frame display when viewthread_iframe.htm browses the theme
Viewthread_mod.htm post management record
User information on the left side of viewthread_node.htm topic
Viewthread_pay.htm post payment page
Viewthread_poll.htm Voting topic
Viewthread_poll_voters.htm voter
Viewthread_printable.htm print theme
Viewthread_relatedthread.htm related topics view
Viewthread_reward.htm reward topic view
Viewthread_reward_price.htm offers reward information
Viewthread_trade.htm product theme view
Viewthread_video.htm video topic view
Warn_view.htm member warning message view
Detailed online actions of whosonline.htm
Actions.lang.php Action language Pack
Admincp.lang.php background language pack
Admincp.menu.lang.php background menu language Pack
Admincp.msg.lang.php background prompt message language Pack
Archiver.lang.php archiver language Pack
Emails.lang.php a pile of EMAIL information
Feed.lang.php Forum dynamic language Pack
Magics.lang.php prop Center language Pack
Messages.lang.php error message language Pack
Misc.lang.php is like the last editor, who is in charge, and so on.
Modactions.lang.php management cod
Pms.lang.php PM, all for management reasons.
Request.lang.php Forum instruction language Pack
Runtime.lang.php Human time Tip language Pack
Seccode.lang.php Authentication Information language Pack
Swfupload.lang.php batch upload attachment information language pack
Tasks.lang.php Forum Task language Pack
Language pack for templates.lang.php foreground template
Language pack for wap.lang.php wap
. / uc_client
. / uc_server (UCenter communications and processing documents, but also save members' profile photos and other information, ignore)
. / wap (WAP mode control is all here)
Index.php Forum Home Page
/ include
Forum.inc.php forum list display and permission control
Global.func.php global function
Goto.inc.php theme Jump
Home.inc.php home page view
Log in to login.inc.php Forum
View the information of all the activities of the my.inc.php individual in the forum
Myphone.inc.php, check my cell phone information.
Operation of post.inc.php posting function
Register.inc.php registration
Search.inc.php search
Stats.inc.php Forum Statistics
Thread.inc.php theme browsing
At this point, I believe you have a deeper understanding of "what are the discuz directory files?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.