phpBB

Development Wiki

Release Highlights/3.1.9

From phpBB Development Wiki

Revision as of 06:17, 9 April 2016 by Nickvergessen (Talk | contribs)

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

This page highlights important changes in phpBB 3.1.9

Notable Bug Fixes

  • Editing an unapproved post as a moderator should not approve it
  • Email queue shouldn't be cached by opcache

Event changes

PHP Events (Hook Locations)

Identifier Placement Arguments Added in Release Explanation
core.avatar_driver_upload_move_file_before phpbb/avatar/driver/upload.php destination, error, filedata, prefix, row 3.1.6-RC1 Before moving new file in place (and eventually overwriting the existing avatar with the newly uploaded avatar)
core.decode_message_after includes/functions_content.php bbcode_uid, message_text 3.1.9-RC1 Use this event to modify the message after it is decoded
core.decode_message_before includes/functions_content.php bbcode_uid, message_text 3.1.9-RC1 Use this event to modify the message before it is decoded
core.gen_sort_selects_after includes/functions_content.php def_sd, def_sk, def_st, limit_days, s_limit_days, s_sort_dir, s_sort_key, sort_by_text, sort_days, sort_dir, sort_key, sorts, u_sort_param 3.1.9-RC1 Run code before generated sort selects are returned
core.login_box_before includes/functions.php admin, err, l_explain, l_success, redirect, s_display 3.1.9-RC1 This event allows an extension to modify the login process
core.login_box_redirect includes/functions.php admin, redirect 3.1.0-RC5 This event allows an extension to modify the redirection when a user successfully logs in
core.topic_review_modify_post_list includes/functions_posting.php attachments, cur_post_id, forum_id, mode, post_list, rowset, show_quote_button, topic_id 3.1.9-RC1 Event to modify the posts list for topic reviews
core.viewforum_get_topic_data viewforum.php forum_data, forum_id, sort_days, sort_dir, sort_key, sql_array, topics_count 3.1.0-a1 Event to modify the SQL query before the topic data is retrieved
core.viewforum_modify_sort_data_sql viewforum.php forum_id, sort_days, sort_dir, sort_key, sql_array, start 3.1.9-RC1 Modify the sort data SQL query for getting additional fields if needed
core.viewtopic_add_quickmod_option_before viewtopic.php allow_change_type, forum_id, post_id, quickmod_array, topic_data, topic_id, topic_tracking_info, viewtopic_url 3.1.9-RC1 Event to modify data in the quickmod_array before it gets sent to the

Template Events

Identifier Prosilver Placement (If applicable) Subsilver Placement (If applicable) Added in Release Explanation
memberlist_view_contact_custom_fields_after memberlist_view.html memberlist_view.html 3.1.9-RC1 Add content after the user contact related custom fields
memberlist_view_contact_custom_fields_before memberlist_view.html memberlist_view.html 3.1.9-RC1 Add content before the user contact related custom fields
memberlist_view_non_contact_custom_fields_after memberlist_view.html memberlist_view.html 3.1.9-RC1 Add content after the user not contact related custom fields
memberlist_view_non_contact_custom_fields_before memberlist_view.html memberlist_view.html 3.1.9-RC1 Add content before the user not contact related custom fields
memberlist_view_zebra_after memberlist_view.html memberlist_view.html 3.1.9-RC1 Add content after the user friends/foes links
memberlist_view_zebra_before memberlist_view.html memberlist_view.html 3.1.9-RC1 Add content before the user friends/foes links

ACP Template Events

None