Сегодня: 17:12:2025 Доброго вам вечера!

I live ExBB and CMS Limbo!  I live ExBB and CMS Limbo!
Логин :
Пароль :
Регистрация?  Забыли пароль? 
 

Страниц (117): В начало « ... 44 45 46 47 [48] 49 50 51 52 ... » В конец

> Найдено сообщений: 1165
NordWest Отправлено: 19 марта 2017 — 13:54 • Тема: Назначение файлов • Форум: SMF Community

Ответов: 99
Просмотров: 55914
ManageAttachments.php - This file handles a lot of admin functions for managing attachments and uploaded avatars.

ApproveAttach', 'Handles post moderation for attachments.
ApproveAttachments', 'Approves the specified attachments.
attachDirStatus', 'Checks the status of an attachment directory and returns an array of the status key, if that status key signifies an error, and the folder size.
BrowseFiles', 'Show a list of attachment or avatar files.
list_getAttachDirs', 'Prepares the attachment directories for being displayed in the list.
list_getFiles', 'Gets a list of files for browsing.
list_getNumFiles', 'Gets the number of files of the specified type.
MaintainFiles', 'Show several file maintenance options.
ManageAttachmentPaths', 'Handles management of attachment directories.
ManageAttachments', 'Main attachment (and, in 1.1, avatar) management function.
ManageAttachmentSettings', 'Show/change attachment settings.
ManageAvatarSettings', 'Show/change avatar settings.
MoveAvatars', 'Move avatars from or to the attachment directory.
PauseAttachmentMaintenance', 'Temporarily pauses the RepairAttachments function to avoid overloading the server.
RemoveAllAttachments', 'Removes all attachments in a single click.
RemoveAttachment', 'Removes a selection of attachments or avatars.
RemoveAttachmentByAge', 'Remove attachments older than a given age.
RemoveAttachmentBySize', 'Remove attachments larger than a given size.
removeAttachments', 'Removes attachments or avatars based on a given query condition.
Performs general maintenance on attachments:\nRemoves attachments from the database if the file doesn\'t exist anymore\nRecalculates filesize\nRegenerates thumbnails if the thumbnail file for an attachment is missing.
NordWest Отправлено: 19 марта 2017 — 13:33 • Тема: Назначение файлов • Форум: SMF Community

Ответов: 99
Просмотров: 55914
LogInOut.php - This file is concerned pretty much entirely, as you see from its name, with logging in and out members, and the validation of that.

checkActivation', 'Checks the activation status of the current user account.
DoLogin', 'Actually logs the user in to the forum.
Login', 'Shows a page for the user to type in their username and password.
Login2', 'Actually logs you in and checks that login was successful.
Logout', 'Logs the current user out of their account.
md5_hmac', 'Password-encryption function used in YaBB SE and SMF 1.0.x. Included in later versions for compatibility.
phpBB3_password_check', 'Encrypts passwords using phpBB3\'s custom encryption method.
validatePasswordFlood', 'Protects against brute force attacks on a member\'s password.
NordWest Отправлено: 19 марта 2017 — 13:32 • Тема: Назначение файлов • Форум: SMF Community

Ответов: 99
Просмотров: 55914
LockTopic.php - This file handles locking and stickying of topics.

LockTopic', 'Locks a topic, toggles between locked/unlocked/admin locked.
Sticky', 'Stickies a topic - toggles between sticky and normal.
NordWest Отправлено: 19 марта 2017 — 13:32 • Тема: Назначение файлов • Форум: SMF Community

Ответов: 99
Просмотров: 55914
Load.php - This is probably one of the most important files in SMF. It is responsible for loading just about all data that is used by SMF - member info, permissions, boards, etc. It also handles all session-related operations, censored text and (in 1.1) caching.

cache_get_data', 'Pulls the specified variable from the cache.
cache_put_data', 'If caching is enabled, this function puts data in the cache by calling the appropriate function based on what you\'re using.
cache_quick_get', 'Attempts to retrieve a cache entry, and calls a specified function upon failure.
censorText', 'This function handles all the censored words.
detectBrowser', 'Handles browser detection and sets up the $context[\'browser\'] array.
getBoardParents', 'This function loads and returns information about the specified board and any parents of that board.
getLanguages', 'Loads all available languages.
get_memcached_server', 'Used by cache_get_data() and cache_put_data() to pick a (random) memCache server.
loadBoard', 'This function loads all the information for the board specified in the $board global variable.
loadDatabase', 'Loads up the appropriate "Subs-Db" file and connects to the database.
loadLanguage', 'This function loads the language file associated with the specified template.
loadMemberContext', 'This sets up the $context[\'user\'] array for the specified member.
loadMemberData', 'Loads data for the specified user IDs. Returns an array of all member IDs that data was loaded for, or false if nothing was loaded.
loadPermissions', 'This function loads all the permissions for the current user (uses $user_info global variable).
loadSession', 'This function starts a session (unless one already exists) and loads the session id into the $sc global variable ("sc" = "Session Code" ;)).
loadSubTemplate', 'This loads the specified sub-template, which is a function in an already loaded template.
loadTemplate', 'Loads a template file with the name template_name from the current, default, or base theme.
loadTheme', 'This function loads the theme with the specified ID.
loadUserSettings', 'This function loads user information.
reloadSettings', 'This function (re)loads the $modSettings array.
sessionClose', 'Dummy function used as callback for session_set_save_handler when database-driven sessions are enabled.
sessionDestroy', 'Removes all data for the specified session ID from the database.
sessionGC', 'Session "Garbage Collection" function - deletes old sessions based on the \'databaseSession_lifetime\' setting and the passed value (max lifetime is in minutes). Only used for database-driven sessions.
sessionOpen', 'Dummy function used as callback for session_set_save_handler when database-driven sessions are enabled.
sessionRead', 'Reads and returns the data for the specified session.
sessionWrite', 'Writes the specified session data to the database (first tries updating, and then inserts it as a new row if that didn\'t work).
template_include', 'This function is used by the loadTemplate function to include the template file (include as in the PHP function).
NordWest Отправлено: 19 марта 2017 — 13:32 • Тема: Назначение файлов • Форум: SMF Community

Ответов: 99
Просмотров: 55914
Karma.php - This file handles smiting and applauding.

ModifyKarma', 'This function smites or applauds as needed...
NordWest Отправлено: 19 марта 2017 — 13:07 • Тема: Назначение файлов • Форум: SMF Community

Ответов: 99
Просмотров: 55914
Help.php - This file handles the nifty little admin help popup boxes and the user help pages.

ShowAdminHelp', 'This function sets up the little admin help popup boxes.
ShowHelp', 'Handles the user help pages.
NordWest Отправлено: 19 марта 2017 — 13:06 • Тема: Назначение файлов • Форум: SMF Community

Ответов: 99
Просмотров: 55914
Groups.php - This file currently just shows group info, and allows certain privileged members to add/remove members.

GroupList', 'Lists all the groups.
GroupRequests', 'Show and manage all group requests.
Groups', 'Allows moderators and users to access the group-showing functions.
list_getGroupCount', 'Returns the total number of groups that you can see.
list_getGroupRequestCount', 'Finds out how many members have requested to join a particular group or specific groups.
list_getGroupRequests', 'Loads up the list of requests for the current group.
list_getGroups', 'Gets the group information for the list.
MembergroupMembers', 'Show a list of members that are part of a given membergroup.
NordWest Отправлено: 19 марта 2017 — 13:06 • Тема: Назначение файлов • Форум: SMF Community

Ответов: 99
Просмотров: 55914
Errors.php - This important file contains functions for handling and logging errors.

db_fatal_error', 'Loads Subs-Auth.php and calls show_db_error().
error_handler', 'A standard replacement for PHP\'s error handler.
fatal_error', 'Stops execution and displays an error message.
fatal_lang_error', 'Stops execution and displays an error message according to the specified key.
log_error', 'Logs an error, if error logging is enabled.
setup_fatal_error_context', 'Sets up the $context stuff for a fatal error.
NordWest Отправлено: 19 марта 2017 — 13:06 • Тема: Назначение файлов • Форум: SMF Community

Ответов: 99
Просмотров: 55914
DumpDatabase.php - This file handles database backups.

DumpDatabase2', 'This function writes all of the database to standard output.
NordWest Отправлено: 19 марта 2017 — 13:05 • Тема: Назначение файлов • Форум: SMF Community

Ответов: 99
Просмотров: 55914
Display.php - This is perhaps the most important and probably most accessed files in all of SMF. This file controls topic, message, and attachment display.

approved_attach_sort', 'A function for sorting out attachments and putting unapproved attachments before approved ones in an array.
Display', 'This function loads the posts in a topic up so they can be displayed.
Download', 'This function downloads an attachment or avatar, and increments the downloads.
loadAttachmentContext', 'This function loads an attachment\'s contextual data including, most importantly, its size if it is an image.
prepareDisplayContext', 'This function actually gets and prepares the message context.
QuickInTopicModeration', 'This handles the in-topic quick moderation stuff.

Страниц (117): В начало « ... 44 45 46 47 [48] 49 50 51 52 ... » В конец

Powered by ExBB v1.1.180311