phpBB

Development Wiki

Difference between revisions of "Release Highlights/3.2.4"

From phpBB Development Wiki

(Create empty page)
 
(Update list of changed events)
Line 8: Line 8:
  
 
== Event changes ==
 
== Event changes ==
 +
=== PHP Events (Hook Locations) ===
 +
{| class="sortable zebra" cellspacing="0" cellpadding="5"
 +
! Identifier !! Placement !! Arguments !! Added in Release !! Explanation
 +
|- id="core.acp_bbcodes_delete_after"
 +
| [[#core.acp_bbcodes_delete_after|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
 +
|- id="core.acp_bbcodes_modify_create_after"
 +
| [[#core.acp_bbcodes_modify_create_after|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
 +
|- id="core.acp_manage_forums_move_content_sql_before"
 +
| [[#core.acp_manage_forums_move_content_sql_before|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
 +
|- id="core.acp_users_avatar_sql"
 +
| [[#core.acp_users_avatar_sql|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
 +
|- id="core.acp_users_modify_signature_sql_ary"
 +
| [[#core.acp_users_modify_signature_sql_ary|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
 +
|- id="core.avatar_manager_avatar_delete_after"
 +
| [[#core.avatar_manager_avatar_delete_after|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
 +
|- id="core.mcp_main_fork_sql_after"
 +
| [[#core.mcp_main_fork_sql_after|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.
 +
|- id="core.message_list_actions"
 +
| [[#core.message_list_actions|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
 +
|- id="core.modify_notification_template"
 +
| [[#core.modify_notification_template|core.modify_notification_template]] || includes/functions_messenger.php || break, method, subject, template || 3.2.4-RC1 || Event to modify the template before parsing
 +
|- id="core.modify_submit_notification_data"
 +
| [[#core.modify_submit_notification_data|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
 +
|- id="core.notification_message_email"
 +
| [[#core.notification_message_email|core.notification_message_email]] || includes/functions_messenger.php || addresses, break, msg, subject || 3.2.4-RC1 || Event to send message via external transport
 +
|- id="core.notification_message_process"
 +
| [[#core.notification_message_process|core.notification_message_process]] || includes/functions_messenger.php || addresses, break, msg, subject || 3.2.4-RC1 || Event to send message via external transport
 +
|- id="core.ucp_login_link_template_after"
 +
| [[#core.ucp_login_link_template_after|core.ucp_login_link_template_after]] || includes/ucp/ucp_login_link.php || auth_provider, data, login_error, login_link_error, login_username, tpl_ary || 3.2.4-RC1 || Event to perform additional actions before ucp_login_link is displayed
 +
|- id="core.ucp_main_front_modify_sql"
 +
| [[#core.ucp_main_front_modify_sql|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
 +
|- id="core.ucp_main_front_modify_template_vars"
 +
| [[#core.ucp_main_front_modify_template_vars|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.
 +
|- id="core.ucp_register_register_after"
 +
| [[#core.ucp_register_register_after|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
 +
|- id="core.ucp_register_welcome_email_before"
 +
| [[#core.ucp_register_welcome_email_before|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
 +
|- id="core.viewtopic_modify_poll_ajax_data"
 +
| [[#core.viewtopic_modify_poll_ajax_data|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
 +
|- id="core.viewtopic_modify_post_list_sql"
 +
| [[#core.viewtopic_modify_post_list_sql|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 ===
 +
{| class="zebra sortable" cellspacing="0" cellpadding="5"
 +
! Identifier !! Prosilver Placement (If applicable) !! Added in Release !! Explanation
 +
|- id="confirm_delete_body_delete_reason_before"
 +
| [[#confirm_delete_body_delete_reason_before|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.
 +
|- id="forumlist_body_last_poster_username_append"
 +
| [[#forumlist_body_last_poster_username_append|forumlist_body_last_poster_username_append]] || forumlist_body.html || 3.2.4-RC1 || Append information to last poster username of member
 +
|- id="forumlist_body_last_poster_username_prepend"
 +
| [[#forumlist_body_last_poster_username_prepend|forumlist_body_last_poster_username_prepend]] || forumlist_body.html || 3.2.4-RC1 || Prepend information to last poster username of member
 +
|- id="mcp_post_report_buttons_top_after"
 +
| [[#mcp_post_report_buttons_top_after|mcp_post_report_buttons_top_after]] || mcp_post.html || 3.2.4-RC1 || Add content after report buttons
 +
|- id="mcp_post_report_buttons_top_before"
 +
| [[#mcp_post_report_buttons_top_before|mcp_post_report_buttons_top_before]] || mcp_post.html || 3.2.4-RC1 || Add content before report buttons
 +
|- id="memberlist_view_username_append"
 +
| [[#memberlist_view_username_append|memberlist_view_username_append]] || memberlist_view.html || 3.2.4-RC1 || Append information to username of member
 +
|- id="memberlist_view_username_prepend"
 +
| [[#memberlist_view_username_prepend|memberlist_view_username_prepend]] || memberlist_view.html || 3.2.4-RC1 || Prepend information to username of member
 +
|- id="posting_preview_content_after"
 +
| [[#posting_preview_content_after|posting_preview_content_after]] || posting_preview.html || 3.2.4-RC1 || Add content after the message content preview
 +
|- id="posting_topic_review_row_content_after"
 +
| [[#posting_topic_review_row_content_after|posting_topic_review_row_content_after]] || posting_topic_review.html || 3.2.4-RC1 || Add content after the message content in topic review
 +
|- id="search_results_content_after"
 +
| [[#search_results_content_after|search_results_content_after]] || search_results.html || 3.2.4-RC1 || Add content after the message content in search results
 +
|- id="search_results_last_post_author_username_append"
 +
| [[#search_results_last_post_author_username_append|search_results_last_post_author_username_append]] || search_results.html || 3.2.4-RC1 || Append information to last post author username of member
 +
|- id="search_results_last_post_author_username_prepend"
 +
| [[#search_results_last_post_author_username_prepend|search_results_last_post_author_username_prepend]] || search_results.html || 3.2.4-RC1 || Prepend information to last post author username of member
 +
|- id="search_results_post_author_username_append"
 +
| [[#search_results_post_author_username_append|search_results_post_author_username_append]] || search_results.html || 3.2.4-RC1 || Append information to post author username of member
 +
|- id="search_results_post_author_username_prepend"
 +
| [[#search_results_post_author_username_prepend|search_results_post_author_username_prepend]] || search_results.html || 3.2.4-RC1 || Prepend information to post author username of member
 +
|- id="search_results_topic_author_username_append"
 +
| [[#search_results_topic_author_username_append|search_results_topic_author_username_append]] || search_results.html || 3.2.4-RC1 || Append information to topic author username of member
 +
|- id="search_results_topic_author_username_prepend"
 +
| [[#search_results_topic_author_username_prepend|search_results_topic_author_username_prepend]] || search_results.html || 3.2.4-RC1 || Prepend information to topic author username of member
 +
|- id="simple_footer_body_after"
 +
| [[#simple_footer_body_after|simple_footer_body_after]] || simple_footer.html || 3.2.4-RC1 || Add content directly prior to the `</body>` tag of the simple footer
 +
|- id="viewforum_body_last_post_author_username_append"
 +
| [[#viewforum_body_last_post_author_username_append|viewforum_body_last_post_author_username_append]] || viewforum_body.html || 3.2.4-RC1 || Append information to last post author username of member
 +
|- id="viewforum_body_last_post_author_username_prepend"
 +
| [[#viewforum_body_last_post_author_username_prepend|viewforum_body_last_post_author_username_prepend]] || viewforum_body.html || 3.2.4-RC1 || Prepend information to last post author username of member
 +
|- id="viewforum_body_topic_author_username_append"
 +
| [[#viewforum_body_topic_author_username_append|viewforum_body_topic_author_username_append]] || viewforum_body.html || 3.2.4-RC1 || Append information to topic author username of member
 +
|- id="viewforum_body_topic_author_username_prepend"
 +
| [[#viewforum_body_topic_author_username_prepend|viewforum_body_topic_author_username_prepend]] || viewforum_body.html || 3.2.4-RC1 || Prepend information to topic author username of member
 +
|- id="viewonline_body_username_append"
 +
| [[#viewonline_body_username_append|viewonline_body_username_append]] || viewonline_body.html || 3.2.4-RC1 || Append information to username of member
 +
|- id="viewonline_body_username_prepend"
 +
| [[#viewonline_body_username_prepend|viewonline_body_username_prepend]] || viewonline_body.html || 3.2.4-RC1 || Prepend information to username of member
 +
|- id="viewtopic_body_postrow_content_after"
 +
| [[#viewtopic_body_postrow_content_after|viewtopic_body_postrow_content_after]] || viewtopic_body.html || 3.2.4-RC1 || Add content after the message content in topics views
 +
|}
 +
 +
=== ACP Template Events ===
 +
{| class="zebra sortable" cellspacing="0" cellpadding="5"
 +
! Identifier !! Placement !! Added in Release !! Explanation
 +
|}
  
 
[[Category:Release Highlights]]
 
[[Category:Release Highlights]]

Revision as of 19:29, 28 October 2018

This page highlights important changes in phpBB 3.2.4

Enhancement

Notable Bug Fixes

Notable changes

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