phpBB

Development Wiki

Release Highlights/3.2.4

From phpBB Development Wiki

This page highlights important changes in phpBB 3.2.4

Enhancement

  • Updated dependencies - Updated dependencies to latest versions, e.g. Symfony, Twig
  • Added list-unsubscribe header - Added list-unsubscribe header to emails [1]
  • Username not required for "forgot password" - Specifying the username is no longer required for using the "forgot password" functionality [2]

Notable Bug Fixes

  • PHP 7.2 issues - Several warnings and incompatibilities when using phpBB 3.2 on PHP 7.2 [3][4][5]
  • Removing users multiple times from newly registered - Fixed a bug that prevented users from being removed multiple times from newly registered user group [6]

Notable changes

  • Events can use twig syntax - Template events can now employ the twig syntax [7]

Event changes

PHP Events (Hook Locations)

Identifier Placement Arguments Added in Release Explanation
core.acp_bbcodes_delete_after includes/acp/acp_bbcodes.php action, bbcode_id, bbcode_tag 3.2.4-RC1 Event after a BBCode has been deleted
core.acp_bbcodes_modify_create_after includes/acp/acp_bbcodes.php action, bbcode_id, sql_ary 3.2.4-RC1 Event after a BBCode has been added or updated
core.acp_manage_forums_move_content_sql_before includes/acp/acp_forums.php table_ary 3.2.4-RC1 Perform additional actions before move forum content
core.acp_users_avatar_sql includes/acp/acp_users.php result, user_row 3.2.4-RC1 Modify users preferences data before assigning it to the template
core.acp_users_modify_signature_sql_ary includes/acp/acp_users.php sql_ary, user_row 3.2.4-RC1 Modify user signature before it is stored in the DB
core.avatar_manager_avatar_delete_after phpbb/avatar/manager.php avatar_data, prefix, table, user 3.2.4-RC1 Event is triggered after user avatar has been deleted
core.mcp_main_fork_sql_after includes/mcp/mcp_main.php new_post_id, new_topic_id, row, to_forum_id 3.2.4-RC1 Perform actions after forked topic is created.
core.message_list_actions includes/ucp/ucp_pm_compose.php add_bcc, add_to, address_list, error, remove_g, remove_u 3.2.4-RC1 Event for additional message list actions
core.modify_notification_template includes/functions_messenger.php break, method, subject, template 3.2.4-RC1 Event to modify the template before parsing
core.modify_submit_notification_data includes/functions_posting.php data_ary, mode, notification_data, poster_id 3.2.4-RC1 This event allows you to modify the notification data upon submission
core.notification_message_email includes/functions_messenger.php addresses, break, msg, subject 3.2.4-RC1 Event to send message via external transport
core.notification_message_process includes/functions_messenger.php addresses, break, msg, subject 3.2.4-RC1 Event to send message via external transport
core.ucp_main_front_modify_sql includes/ucp/ucp_main.php forum_ary, sql_from, sql_select 3.2.4-RC1 Modify sql variables before query is processed
core.ucp_main_front_modify_template_vars includes/ucp/ucp_main.php folder_alt, folder_img, forum_id, row, topicrow 3.2.4-RC1 Add template variables to a front topics row.
core.ucp_register_register_after includes/ucp/ucp_register.php cp_data, data, message, server_url, user_actkey, user_id, user_row 3.2.4-RC1 Perform additional actions after user registration
core.ucp_register_welcome_email_before includes/ucp/ucp_register.php cp_data, data, message, messenger, server_url, user_actkey, user_id, user_row 3.2.4-RC1 Modify messenger data before welcome mail is sent
core.viewtopic_modify_poll_ajax_data viewtopic.php data, forum_id, poll_info, topic_data, valid_user_votes, vote_counts 3.2.4-RC1 Event to manipulate the poll data sent by AJAX response
core.viewtopic_modify_post_list_sql viewtopic.php forum_id, sort_days, sort_key, sql, sql_limit, sql_start 3.2.4-RC1 Event to modify the SQL query that gets post_list

Template Events

Identifier Prosilver Placement (If applicable) Added in Release Explanation
confirm_delete_body_delete_reason_before confirm_delete_body.html 3.2.4-RC1 Add custom text to the confirmation of a post that is deleted.
forumlist_body_last_poster_username_append forumlist_body.html 3.2.4-RC1 Append information to last poster username of member
forumlist_body_last_poster_username_prepend forumlist_body.html 3.2.4-RC1 Prepend information to last poster username of member
mcp_post_report_buttons_top_after mcp_post.html 3.2.4-RC1 Add content after report buttons
mcp_post_report_buttons_top_before mcp_post.html 3.2.4-RC1 Add content before report buttons
memberlist_view_username_append memberlist_view.html 3.2.4-RC1 Append information to username of member
memberlist_view_username_prepend memberlist_view.html 3.2.4-RC1 Prepend information to username of member
posting_preview_content_after posting_preview.html 3.2.4-RC1 Add content after the message content preview
posting_topic_review_row_content_after posting_topic_review.html 3.2.4-RC1 Add content after the message content in topic review
search_results_content_after search_results.html 3.2.4-RC1 Add content after the message content in search results
search_results_last_post_author_username_append search_results.html 3.2.4-RC1 Append information to last post author username of member
search_results_last_post_author_username_prepend search_results.html 3.2.4-RC1 Prepend information to last post author username of member
search_results_post_author_username_append search_results.html 3.2.4-RC1 Append information to post author username of member
search_results_post_author_username_prepend search_results.html 3.2.4-RC1 Prepend information to post author username of member
search_results_topic_author_username_append search_results.html 3.2.4-RC1 Append information to topic author username of member
search_results_topic_author_username_prepend search_results.html 3.2.4-RC1 Prepend information to topic author username of member
viewforum_body_last_post_author_username_append viewforum_body.html 3.2.4-RC1 Append information to last post author username of member
viewforum_body_last_post_author_username_prepend viewforum_body.html 3.2.4-RC1 Prepend information to last post author username of member
viewforum_body_topic_author_username_append viewforum_body.html 3.2.4-RC1 Append information to topic author username of member
viewforum_body_topic_author_username_prepend viewforum_body.html 3.2.4-RC1 Prepend information to topic author username of member
viewonline_body_username_append viewonline_body.html 3.2.4-RC1 Append information to username of member
viewonline_body_username_prepend viewonline_body.html 3.2.4-RC1 Prepend information to username of member
viewtopic_body_postrow_content_after viewtopic_body.html 3.2.4-RC1 Add content after the message content in topics views

ACP Template Events

Identifier Placement Added in Release Explanation