phpBB

Development Wiki

Release Highlights/3.2.6

From phpBB Development Wiki

This page highlights important changes in phpBB 3.2.6

Notable Bug Fixes

  • Cookies for domains with special chars - Added support for cookies on domains with special characters [1]
  • Support Q&A plugin on MySQL 5.7 - An SQL query in the Q&A plugin failed to execute while using MySQL 5.7 [2]

Notable Changes

  • Update dependencies to latest versions - Updated dependencies like Symfony and the TextFormatter to their latest versions [3][4]
  • Deny installations of 3.2 on PHP 7.3 - Due to the dependencies used in phpBB 3.2 and its minimum PHP version 5.4.7, it's currently not possible to run phpBB 3.2 on PHP 7.3 [5]

Hardening

  • Remove support for backup download - Removed support for downloading database backups via the ACP UI. This is to prevent the possibility of a database compromise on gaining access to a founder account [6]

Event changes

PHP Events (Hook Locations)

Identifier Placement Arguments Added in Release Explanation
core.acp_storage_load includes/acp/acp_storage.php 3.3.0-a1 Add language strings
core.index_mark_notification_after index.php mark_notification, notification 3.2.6-RC1 You can use this event to perform additional tasks or redirect user elsewhere.
core.markread_after includes/functions.php forum_id, mode, post_time, topic_id, user_id 3.2.6-RC1 This event is used for performing actions directly after forums,
topics or posts have been marked as read.
core.mcp_change_topic_type_after includes/mcp/mcp_main.php forum_id, new_topic_type, topic_ids 3.2.6-RC1 Perform additional actions after changing topic types
core.mcp_change_topic_type_before includes/mcp/mcp_main.php forum_id, new_topic_type, topic_ids 3.2.6-RC1 Perform additional actions before changing topic(s) type
core.memberlist_modify_memberrow_sql memberlist.php mode, sql_array, sql_from, sql_select, user_list 3.2.6-RC1 Modify user data SQL before member row is created
core.memberlist_modify_sort_pagination_params memberlist.php first_char_block_vars, first_characters, params, sort_params, total_users, u_first_char_params 3.2.6-RC1 Modify memberlist sort and pagination parameters
core.memberlist_modify_view_profile_template_vars memberlist.php template_ary 3.2.6-RC1 Modify user's template vars before we display the profile
core.memberlist_modify_viewprofile_sql memberlist.php sql_array, user_id, username 3.2.6-RC1 Modify user data SQL before member profile row is created
core.message_admin_form_submit_before phpbb/message/admin_form.php body, errors, subject 3.2.6-RC1 You can use this event to modify subject and/or body and add new errors.
core.modify_attachment_sql_ary_on_submit includes/message_parser.php sql_ary 3.2.6-RC1 Modify attachment sql array on submit
core.modify_attachment_sql_ary_on_upload includes/message_parser.php sql_ary 3.2.6-RC1 Modify attachment sql array on upload
core.modify_memberlist_viewprofile_group_data memberlist.php group_data, group_sort 3.2.6-RC1 Modify group data before options is created and data is unset
core.modify_memberlist_viewprofile_group_sql memberlist.php sql_ary 3.2.6-RC1 Modify the query used to get the group data
core.posting_modify_quote_attributes posting.php post_data, quote_attributes 3.2.6-RC1 This event allows you to modify the quote attributes of the post being quoted
core.ucp_pm_compose_template includes/ucp/ucp_pm_compose.php template_ary 3.2.6-RC1 Modify the default template vars

Template Events

Identifier Prosilver Placement (If applicable) Added in Release Explanation
mcp_post_text_after mcp_post.html 3.2.6-RC1 Add content after the post text
mcp_post_text_before mcp_post.html 3.2.6-RC1 Add content before the post text
memberlist_body_group_desc_after memberlist_body.html 3.2.6-RC1 Add data after the group description and type in the group profile page.
memberlist_body_group_name_after memberlist_body.html 3.2.6-RC1 Add data after the group name in the group profile page.
memberlist_body_group_name_before memberlist_body.html 3.2.6-RC1 Add data before the group name in the group profile page.
memberlist_body_group_rank_after memberlist_body.html 3.2.6-RC1 Add data after the group rank in the group profile page.
memberlist_body_group_rank_before memberlist_body.html 3.2.6-RC1 Add data before the group rank in the group profile page.
memberlist_body_leaders_set_after memberlist_body.html 3.2.6-RC1 Add data after the last row in the memberlist mode leaders.
memberlist_body_memberlist_after memberlist_body.html 3.2.6-RC1 Add data after the last row in the memberlist.
memberlist_body_memberrow_after memberlist_body.html 3.2.6-RC1 Add data after the last memberrow in the memberlist.
memberlist_body_page_header_after memberlist_body.html 3.2.6-RC1 Add data after the page header.
memberlist_body_page_title_before memberlist_body.html 3.2.6-RC1 Add data before the page title.
memberlist_body_show_group_after memberlist_body.html 3.2.6-RC1 Add data after the last row in the memberlist mode group.
posting_attach_body_attach_row_after posting_attach_body.html 3.2.6-RC1 Add content after attachment row in the file list
posting_attach_body_attach_row_append posting_attach_body.html 3.2.6-RC1 Add content appending the attachment row in the file list
posting_attach_body_attach_row_before posting_attach_body.html 3.2.6-RC1 Add content before attachment row in the file list
posting_attach_body_attach_row_prepend posting_attach_body.html 3.2.6-RC1 Add content prepending attachment row in the file list
posting_attach_body_file_list_after posting_attach_body.html 3.2.6-RC1 Add content after attachments list
posting_attach_body_file_list_before posting_attach_body.html 3.2.6-RC1 Add content before attachments list
ucp_profile_signature_posting_editor_options_prepend ucp_profile_signature.html 3.2.6-RC1 Add options signature posting editor - before first option.

ACP Template Events

Identifier Placement Added in Release Explanation