phpBB

Development Wiki

Release Highlights/3.3.1

From phpBB Development Wiki

This page highlights important changes in phpBB 3.3.1

Improvements

  • Enable/disable mechanism for new profilefield types - Added new enable & disable mechanism for profile field types [1]
  • Only one email notification per topic - Reduced emails sent as notifications when not having visited topic [2]

Notable Bug Fixes

  • Slow search on PostgreSQL - Full text search on PostgreSQL was very slow due to accidentally disabled index [3]
  • Emoji isues - Issues with using emojis in multiple text fields [4][5][6][7]
  • Delete marked PMs in UCP - Improper form token check resulted in users being unable to delete marked PMs [8]
  • File lock issues - Failure while acquiring locks on some storage backends resulted in errors while installing phpBB [9]
  • Reset password error - Resetting a password resulted in an PHP fatal error being thrown [10]

Event changes

PHP Events (Hook Locations)

Identifier Placement Arguments Added in Release Explanation
core.controller_helper_render_response phpbb/controller/helper.php response 3.3.1-RC1 Modify response before output
core.generate_smilies_modify_sql includes/functions_posting.php forum_id, mode, sql_ary 3.3.1-RC1 Modify the SQL query that fetches the smilies
core.mcp_get_post_data_after includes/functions_mcp.php acl_list, post_ids, read_tracking, rowset 3.3.1-RC1 This event allows you to modify post data displayed in the MCP
core.message_history_modify_rowset includes/functions_privmsgs.php folder, in_post_mode, message_row, msg_id, rowset, title, url, user_id 3.3.1-RC1 Modify message rows before displaying the history in private messages
core.notification_manager_add_notifications_for_users_modify_data phpbb/notification/manager.php data, notification_type_name, notify_users 3.3.1-RC1 Allow filtering the $notify_users array by $notification_type_name for a notification that is about to be sent.
Here, $notify_users is already filtered from users who've already been notified.
core.text_formatter_s9e_get_errors phpbb/textformatter/s9e/parser.php entries, errors, parser 3.3.1-RC1 Modify error messages generated by the s9e\TextFormatter's logger
core.ucp_modify_friends_sql ucp.php sql_ary 3.3.1-RC1 Event to modify the SQL query before listing of friends
core.ucp_modify_friends_template_vars ucp.php row, tpl_ary, which 3.3.1-RC1 Event to modify the template before listing of friends
core.ucp_notifications_output_notification_types_modify_template_vars includes/ucp/ucp_notifications.php method_data, subscriptions, tpl_ary, type_data 3.3.1-RC1 Event to perform additional actions before ucp_notifications is displayed
core.ucp_notifications_submit_notification_is_set includes/ucp/ucp_notifications.php is_available, is_set_notify, method_data, subscriptions, type_data 3.3.1-RC1 Event to perform additional actions before ucp_notifications is submitted
core.ucp_pm_compose_compose_pm_basic_info_query_after includes/ucp/ucp_pm_compose.php action, delete, msg_id, post, preview, reply_to_all, submit, to_group_id, to_user_id 3.3.1-RC1 Alter the row of the post being quoted when composing a private message
core.ucp_pm_compose_modify_parse_after includes/ucp/ucp_pm_compose.php enable_bbcode, enable_sig, enable_smilies, enable_urls, error, message_parser, preview, subject, submit 3.3.1-RC1 Modify private message
core.ucp_pm_view_message_before includes/ucp/ucp_pm_viewmessage.php author_id, folder, folder_id, message_row, msg_id 3.3.1-RC1 Modify private message data before it is prepared to be displayed
core.viewforum_modify_topic_list_sql viewforum.php forum_data, forum_id, sql_array, topic_list 3.3.1-RC1 Event to modify the SQL query before obtaining topics/stickies

Template Events

Identifier Prosilver Placement (If applicable) Added in Release Explanation

ACP Template Events

Identifier Placement Added in Release Explanation