phpBB

Development Wiki

Release Highlights/3.1.11

From phpBB Development Wiki

Revision as of 15:55, 25 June 2017 by Marc (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This page highlights important changes in phpBB 3.1.11

New Features

Notable Changes

Notable Bug Fixes

Event changes

PHP Events (Hook Locations)

Identifier Placement Arguments Added in Release Explanation
core.acl_clear_prefetch_after phpbb/auth/auth.php user_id 3.1.11-RC1 Event is triggered after user(s) permission settings cache has been cleared
core.acp_attachments_config_edit_add includes/acp/acp_attachments.php display_vars, mode, submit 3.1.11-RC1 Event to add and/or modify acp_attachement configurations
core.acp_extensions_run_action_after includes/acp/acp_extensions.php action, ext_name, safe_time_limit, start_time, tpl_name, u_action 3.1.11-RC1 Event to run after a specific action on extension has completed
core.acp_extensions_run_action_before includes/acp/acp_extensions.php action, ext_name, safe_time_limit, start_time, tpl_name, u_action 3.1.11-RC1 Event to run a specific action on extension
core.acp_logs_info_modify_modes includes/acp/info/acp_logs.php modes 3.2.1-RC1 Event to add or modify ACP log modulemodes
core.auth_oauth_login_after phpbb/auth/provider/oauth/oauth.php row 3.1.11-RC1 Event is triggered after user is successfuly logged in via OAuth.
core.delete_post_after includes/functions_posting.php data, forum_id, is_soft, next_post_id, post_id, post_mode, softdelete_reason, topic_id 3.1.11-RC1 This event is used for performing actions directly after a post or topic
core.generate_smilies_before includes/functions_posting.php root_path 3.1.11-RC1 Modify smiley root path before populating smiley list
core.get_user_rank_after includes/functions_display.php user_data, user_posts, user_rank_data 3.1.11-RC1 Modify a user's rank before displaying
core.mcp_forum_merge_topics_after includes/mcp/mcp_forum.php all_topic_data, to_topic_id 3.1.11-RC1 Perform additional actions after merging topics.
core.mcp_main_modify_fork_sql includes/mcp/mcp_main.php sql_ary, topic_row 3.1.11-RC1 Perform actions before forked topic is created.
core.mcp_main_modify_shadow_sql includes/mcp/mcp_main.php row, shadow 3.1.11-RC1 Perform actions before shadow topic is created.
core.mcp_topics_merge_posts_after includes/mcp/mcp_topic.php to_topic_id, topic_id 3.1.11-RC1 Perform additional actions after merging posts.
core.modify_email_headers includes/functions_messenger.php headers 3.1.11-RC1 Event to modify email header entries
core.modify_notification_message includes/functions_messenger.php break, message, method, subject 3.1.11-RC1 Event to modify notification message text before parsing
core.modify_pm_attach_download_auth includes/functions_download.php allowed, msg_id, user_id 3.1.11-RC1 Event to modify PM attachments download auth
core.move_posts_sync_after includes/functions_admin.php auto_sync, forum_ids, forum_row, post_ids, topic_id, topic_ids 3.1.11-RC1 Perform additional actions after move post sync
core.phpbb_log_get_topic_auth_sql_before phpbb/log/log.php sql_ary, topic_ids 3.1.11-RC1 Allow modifying SQL query before topic data is retrieved.
core.send_file_to_browser_before includes/functions_download.php attachment, category, filename, size, upload_dir 3.1.11-RC1 Event to alter attachment before it is sent to browser.
core.smiley_text_root_path includes/functions_content.php root_path 3.1.11-RC1 Event to override the root_path for smilies
core.ucp_pm_compose_predefined_message includes/ucp/ucp_pm_compose.php message_subject, message_text 3.1.11-RC1 Predefine message text and subject
core.ucp_pm_view_folder_get_pm_from_sql includes/ucp/ucp_pm_viewfolder.php sql_ary, sql_limit, sql_start 3.1.11-RC1 Modify SQL before it is executed
core.ucp_pm_view_folder_get_pm_from_template includes/ucp/ucp_pm_viewfolder.php base_url, folder, folder_id, pm_count, start, template_vars, user_id 3.1.11-RC1 Modify template variables before they are assigned
core.ucp_profile_avatar_sql includes/ucp/ucp_profile.php result 3.1.11-RC1 Trigger events on successfull avatar change
core.ucp_register_requests_after includes/ucp/ucp_register.php agreed, change_lang, coppa, submit, user_lang 3.1.11-RC1 Add UCP register data before they are assigned to the template or submitted
core.ucp_remind_modify_select_sql includes/ucp/ucp_remind.php email, sql_array, username 3.1.11-RC1 Change SQL query for fetching user data
core.ucp_restore_permissions ucp.php message, username 3.1.11-RC1 Event to run code after permissions are restored
core.ucp_switch_permissions ucp.php message, user_id, user_row 3.1.11-RC1 Event to run code after permissions are switched
core.user_unban includes/functions_user.php mode, user_ids_ary 3.1.11-RC1 Use this event to perform actions after the unban has been performed
core.viewtopic_highlight_modify viewtopic.php highlight, highlight_match, start, topic_data, total_posts, viewtopic_url 3.1.11-RC1 Event to modify highlight.

Template Events

Identifier Prosilver Placement (If applicable) Subsilver Placement (If applicable) Added in Release Explanation
index_body_birthday_block_before index_body.html index_body.html 3.1.11-RC1 Add new statistic blocks before the Birthday block
mcp_forum_actions_after mcp_forum.html mcp_forum.html 3.1.11-RC1 Add some information after actions fieldset
mcp_forum_actions_append mcp_forum.html mcp_forum.html 3.1.11-RC1 Add additional options to actions select
mcp_forum_actions_before mcp_forum.html mcp_forum.html 3.1.11-RC1 Add some information before actions fieldset
mcp_topic_postrow_post_subject_after mcp_topic.html 3.1.11-RC1 Add content after post subject in topic moderation
mcp_topic_postrow_post_subject_before mcp_topic.html 3.1.11-RC1 Add content before post subject in topic moderation
memberlist_team_username_append memberlist_team.html memberlist_team.html 3.1.11-RC1 Append information to username of team member
memberlist_team_username_prepend memberlist_team.html memberlist_team.html 3.1.11-RC1 Add information before team user username
overall_header_searchbox_after overall_header.html 3.1.11-RC1 Add content after the search box in the header
search_results_topic_title_after search_results.html 3.1.11-RC1 Add data after search results topic title
ucp_main_front_user_activity_append ucp_main_front.html ucp_main_front.html 3.1.11-RC1 Add content after last user activity info viewing UCP front page
ucp_main_front_user_activity_prepend ucp_main_front.html ucp_main_front.html 3.1.11-RC1 Add content before first user activity info viewing UCP front page
ucp_pm_viewmessage_options_before ucp_pm_viewmessage.html 3.1.11-RC1 Add content right before display options
ucp_register_buttons_before ucp_register.html ucp_register.html 3.1.11-RC1 Add content before buttons in registration form.

ACP Template Events

Identifier Placement Added in Release Explanation
acp_ext_details_end acp_ext_details.html 3.1.11-RC1 Add more detailed information on extension after the available information.
acp_ext_details_notice acp_ext_details.html 3.1.11-RC1 Add extension detail notices after version check information.
acp_ext_list_disabled_name_after acp_ext_list.html 3.1.11-RC1 Add content after the name of disabled extensions in the list
acp_ext_list_disabled_title_after acp_ext_list.html 3.1.11-RC1 Add text after disabled extensions section title.
acp_ext_list_enabled_name_after acp_ext_list.html 3.1.11-RC1 Add content after the name of enabled extensions in the list
acp_ext_list_enabled_title_after acp_ext_list.html 3.1.11-RC1 Add text after enabled extensions section title.
acp_profile_contact_last acp_profile.html 3.1.11-RC1 Add contact specific options to custom profile fields in the ACP
acp_profile_step_one_lang_after acp_profile.html 3.1.11-RC1 Add extra lang specific options to custom profile field step one configuration in the ACP