phpBB

Development Wiki

Difference between revisions of "Event List"

From phpBB Development Wiki

(PHP Events (Hook Locations) - Beta2)
(Update event list with fixed events)
Line 8: Line 8:
 
| [[#core.acp_bbcodes_display_form|core.acp_bbcodes_display_form]] || includes/acp/acp_bbcodes.php || action, sql_ary, template_data, u_action || 3.1.0-a3 ||  Modify custom bbcode template data before we display the form
 
| [[#core.acp_bbcodes_display_form|core.acp_bbcodes_display_form]] || includes/acp/acp_bbcodes.php || action, sql_ary, template_data, u_action || 3.1.0-a3 ||  Modify custom bbcode template data before we display the form
 
|- id="core.acp_bbcodes_edit_add"
 
|- id="core.acp_bbcodes_edit_add"
| [[#core.acp_bbcodes_edit_add|core.acp_bbcodes_edit_add]] || includes/acp/acp_bbcodes.php || action, tpl_ary, bbcode_id, bbcode_tokens || 3.1.0-a3 || Modify custom bbcode template data before we display the add/edit form
+
| [[#core.acp_bbcodes_edit_add|core.acp_bbcodes_edit_add]] || includes/acp/acp_bbcodes.php || action, bbcode_id, bbcode_tokens, tpl_ary || 3.1.0-a3 || Modify custom bbcode template data before we display the add/edit form
 
|- id="core.acp_bbcodes_modify_create"
 
|- id="core.acp_bbcodes_modify_create"
| [[#core.acp_bbcodes_modify_create|core.acp_bbcodes_modify_create]] || includes/acp/acp_bbcodes.php || action, sql_ary, bbcode_id, display_on_posting, bbcode_match, bbcode_tpl, bbcode_helpline, hidden_fields || 3.1.0-a3 || Modify custom bbcode data before the modify/create action
+
| [[#core.acp_bbcodes_modify_create|core.acp_bbcodes_modify_create]] || includes/acp/acp_bbcodes.php || action, bbcode_helpline, bbcode_id, bbcode_match, bbcode_tpl, display_on_posting, hidden_fields, sql_ary || 3.1.0-a3 || Modify custom bbcode data before the modify/create action
 
|- id="core.acp_board_config_edit_add"
 
|- id="core.acp_board_config_edit_add"
 
| [[#core.acp_board_config_edit_add|core.acp_board_config_edit_add]] || includes/acp/acp_board.php || display_vars, mode, submit || 3.1.0-a4 || Event to add and/or modify acp_board configurations
 
| [[#core.acp_board_config_edit_add|core.acp_board_config_edit_add]] || includes/acp/acp_board.php || display_vars, mode, submit || 3.1.0-a4 || Event to add and/or modify acp_board configurations
 
|- id="core.acp_manage_forums_display_form"
 
|- id="core.acp_manage_forums_display_form"
| [[#core.acp_manage_forums_display_form|core.acp_manage_forums_display_form]] || includes/acp/acp_forums.php || action, update, forum_id, row, forum_data, parents_list, errors, template_data || 3.1.0-a1 || Modify forum template data before we display the form
+
| [[#core.acp_manage_forums_display_form|core.acp_manage_forums_display_form]] || includes/acp/acp_forums.php || action, errors, forum_data, forum_id, parents_list, row, template_data, update || 3.1.0-a1 || Modify forum template data before we display the form
 
|- id="core.acp_manage_forums_initialise_data"
 
|- id="core.acp_manage_forums_initialise_data"
| [[#core.acp_manage_forums_initialise_data|core.acp_manage_forums_initialise_data]] || includes/acp/acp_forums.php || action, update, forum_id, row, forum_data, parents_list || 3.1.0-a1 || Initialise data before we display the add/edit form
+
| [[#core.acp_manage_forums_initialise_data|core.acp_manage_forums_initialise_data]] || includes/acp/acp_forums.php || action, forum_data, forum_id, parents_list, row, update || 3.1.0-a1 || Initialise data before we display the add/edit form
 
|- id="core.acp_manage_forums_move_children"
 
|- id="core.acp_manage_forums_move_children"
| [[#core.acp_manage_forums_move_children|core.acp_manage_forums_move_children]] || includes/acp/acp_forums.php || from_id, to_id, errors || 3.1.0-a1 || Event when we move all children of one forum to another
+
| [[#core.acp_manage_forums_move_children|core.acp_manage_forums_move_children]] || includes/acp/acp_forums.php || errors, from_id, to_id || 3.1.0-a1 || Event when we move all children of one forum to another
 
|- id="core.acp_manage_forums_move_content"
 
|- id="core.acp_manage_forums_move_content"
| [[#core.acp_manage_forums_move_content|core.acp_manage_forums_move_content]] || includes/acp/acp_forums.php || from_id, to_id, sync, errors || 3.1.0-a1 || Event when we move content from one forum to another
+
| [[#core.acp_manage_forums_move_content|core.acp_manage_forums_move_content]] || includes/acp/acp_forums.php || errors, from_id, sync, to_id || 3.1.0-a1 || Event when we move content from one forum to another
 
|- id="core.acp_manage_forums_request_data"
 
|- id="core.acp_manage_forums_request_data"
 
| [[#core.acp_manage_forums_request_data|core.acp_manage_forums_request_data]] || includes/acp/acp_forums.php || action, forum_data || 3.1.0-a1 || Request forum data and operate on it (parse texts, etc.)
 
| [[#core.acp_manage_forums_request_data|core.acp_manage_forums_request_data]] || includes/acp/acp_forums.php || action, forum_data || 3.1.0-a1 || Request forum data and operate on it (parse texts, etc.)
 
|- id="core.acp_manage_forums_update_data_after"
 
|- id="core.acp_manage_forums_update_data_after"
| [[#core.acp_manage_forums_update_data_after|core.acp_manage_forums_update_data_after]] || includes/acp/acp_forums.php || forum_data, forum_data_sql, is_new_forum, errors || 3.1.0-a1 || Event after a forum was updated or created
+
| [[#core.acp_manage_forums_update_data_after|core.acp_manage_forums_update_data_after]] || includes/acp/acp_forums.php || errors, forum_data, forum_data_sql, is_new_forum || 3.1.0-a1 || Event after a forum was updated or created
 
|- id="core.acp_manage_forums_update_data_before"
 
|- id="core.acp_manage_forums_update_data_before"
 
| [[#core.acp_manage_forums_update_data_before|core.acp_manage_forums_update_data_before]] || includes/acp/acp_forums.php || forum_data, forum_data_sql || 3.1.0-a1 || Remove invalid values from forum_data_sql that should not be updated
 
| [[#core.acp_manage_forums_update_data_before|core.acp_manage_forums_update_data_before]] || includes/acp/acp_forums.php || forum_data, forum_data_sql || 3.1.0-a1 || Remove invalid values from forum_data_sql that should not be updated
 
|- id="core.acp_manage_forums_validate_data"
 
|- id="core.acp_manage_forums_validate_data"
| [[#core.acp_manage_forums_validate_data|core.acp_manage_forums_validate_data]] || includes/acp/acp_forums.php || forum_data, errors || 3.1.0-a1 || Validate the forum data before we create/update the forum
+
| [[#core.acp_manage_forums_validate_data|core.acp_manage_forums_validate_data]] || includes/acp/acp_forums.php || errors, forum_data || 3.1.0-a1 || Validate the forum data before we create/update the forum
 
|- id="core.acp_users_display_overview"
 
|- id="core.acp_users_display_overview"
| [[#core.acp_users_display_overview|core.acp_users_display_overview]] || includes/acp/acp_users.php || user_row, quick_tool_ary || 3.1.0-a1 || Add additional quick tool options and overwrite user data
+
| [[#core.acp_users_display_overview|core.acp_users_display_overview]] || includes/acp/acp_users.php || quick_tool_ary, user_row || 3.1.0-a1 || Add additional quick tool options and overwrite user data
 
|- id="core.acp_users_overview_modify_data"
 
|- id="core.acp_users_overview_modify_data"
| [[#core.acp_users_overview_modify_data|core.acp_users_overview_modify_data]] || includes/acp/acp_users.php || user_row, data, sql_ary || 3.1.0-a1 || Modify user data before we update it
+
| [[#core.acp_users_overview_modify_data|core.acp_users_overview_modify_data]] || includes/acp/acp_users.php || data, sql_ary, user_row || 3.1.0-a1 || Modify user data before we update it
 
|- id="core.acp_users_overview_run_quicktool"
 
|- id="core.acp_users_overview_run_quicktool"
 
| [[#core.acp_users_overview_run_quicktool|core.acp_users_overview_run_quicktool]] || includes/acp/acp_users.php || action, user_row || 3.1.0-a1 || Run custom quicktool code
 
| [[#core.acp_users_overview_run_quicktool|core.acp_users_overview_run_quicktool]] || includes/acp/acp_users.php || action, user_row || 3.1.0-a1 || Run custom quicktool code
 +
|- id="core.add_log"
 +
| [[#core.add_log|core.add_log]] || phpbb/log/log.php || additional_data, log_ip, log_operation, log_time, mode, sql_ary, user_id || 3.1.0-a1 || Allows to modify log data before we add it to the database
 
|- id="core.adm_page_footer"
 
|- id="core.adm_page_footer"
| [[#core.adm_page_footer|core.adm_page_footer]] || includes/functions_acp.php || copyright_html, adm_page_footer_override || 3.1.0-a1 || Execute code and/or overwrite adm_page_footer()
+
| [[#core.adm_page_footer|core.adm_page_footer]] || includes/functions_acp.php || adm_page_footer_override, copyright_html || 3.1.0-a1 || Execute code and/or overwrite adm_page_footer()
 
|- id="core.adm_page_header"
 
|- id="core.adm_page_header"
| [[#core.adm_page_header|core.adm_page_header]] || includes/functions_acp.php || page_title, adm_page_header_override || 3.1.0-a1 || Execute code and/or overwrite adm_page_header()
+
| [[#core.adm_page_header|core.adm_page_header]] || includes/functions_acp.php || adm_page_header_override, page_title || 3.1.0-a1 || Execute code and/or overwrite adm_page_header()
 
|- id="core.append_sid"
 
|- id="core.append_sid"
| [[#core.append_sid|core.append_sid]] || includes/functions.php || url, params, is_amp, session_id, append_sid_overwrite || 3.1.0-a1 || This event can either supplement or override the append_sid() function
+
| [[#core.append_sid|core.append_sid]] || includes/functions.php || append_sid_overwrite, is_amp, params, session_id, url || 3.1.0-a1 || This event can either supplement or override the append_sid() function
 
|- id="core.build_config_template"
 
|- id="core.build_config_template"
| [[#core.build_config_template|core.build_config_template]] || includes/functions_acp.php || tpl_type, key, new, name, vars, tpl || 3.1.0-a1 || Overwrite the html code we display for the config value
+
| [[#core.build_config_template|core.build_config_template]] || includes/functions_acp.php || key, name, new, tpl, tpl_type, vars || 3.1.0-a1 || Overwrite the html code we display for the config value
 
|- id="core.common"
 
|- id="core.common"
 
| [[#core.common|core.common]] || common.php ||  || 3.1.0-a1 || Main event which is triggered on every page
 
| [[#core.common|core.common]] || common.php ||  || 3.1.0-a1 || Main event which is triggered on every page
Line 48: Line 50:
 
| [[#core.delete_group_after|core.delete_group_after]] || includes/functions_user.php || group_id, group_name || 3.1.0-a1 || Event after a group is deleted
 
| [[#core.delete_group_after|core.delete_group_after]] || includes/functions_user.php || group_id, group_name || 3.1.0-a1 || Event after a group is deleted
 
|- id="core.delete_posts_after"
 
|- id="core.delete_posts_after"
| [[#core.delete_posts_after|core.delete_posts_after]] || includes/functions_admin.php || post_ids, poster_ids, topic_ids, forum_ids, where_type, where_ids, delete_notifications_types || 3.1.0-a4 || Perform additional actions after post(s) deletion
+
| [[#core.delete_posts_after|core.delete_posts_after]] || includes/functions_admin.php || delete_notifications_types, forum_ids, post_ids, poster_ids, topic_ids, where_ids, where_type || 3.1.0-a4 || Perform additional actions after post(s) deletion
 
|- id="core.delete_posts_before"
 
|- id="core.delete_posts_before"
| [[#core.delete_posts_before|core.delete_posts_before]] || includes/functions_admin.php || where_type, where_ids, auto_sync, posted_sync, post_count_sync, call_delete_topics, delete_notifications_types || 3.1.0-a4 || Perform additional actions before post(s) deletion
+
| [[#core.delete_posts_before|core.delete_posts_before]] || includes/functions_admin.php || auto_sync, call_delete_topics, delete_notifications_types, post_count_sync, posted_sync, where_ids, where_type || 3.1.0-a4 || Perform additional actions before post(s) deletion
 
|- id="core.delete_posts_in_transaction"
 
|- id="core.delete_posts_in_transaction"
| [[#core.delete_posts_in_transaction|core.delete_posts_in_transaction]] || includes/functions_admin.php || post_ids, poster_ids, topic_ids, forum_ids, where_type, where_ids, delete_notifications_types || 3.1.0-a4 || Perform additional actions during post(s) deletion
+
| [[#core.delete_posts_in_transaction|core.delete_posts_in_transaction]] || includes/functions_admin.php || delete_notifications_types, forum_ids, post_ids, poster_ids, topic_ids, where_ids, where_type || 3.1.0-a4 || Perform additional actions during post(s) deletion
 
|- id="core.delete_user_after"
 
|- id="core.delete_user_after"
| [[#core.delete_user_after|core.delete_user_after]] || includes/functions_user.php || mode, user_ids, retain_username || 3.1.0-a1 || Event after a user is deleted
+
| [[#core.delete_user_after|core.delete_user_after]] || includes/functions_user.php || mode, retain_username, user_ids || 3.1.0-a1 || Event after a user is deleted
 
|- id="core.delete_user_before"
 
|- id="core.delete_user_before"
| [[#core.delete_user_before|core.delete_user_before]] || includes/functions_user.php || mode, user_ids, retain_username || 3.1.0-a1 || Event before a user is deleted
+
| [[#core.delete_user_before|core.delete_user_before]] || includes/functions_user.php || mode, retain_username, user_ids || 3.1.0-a1 || Event before a user is deleted
 
|- id="core.display_custom_bbcodes"
 
|- id="core.display_custom_bbcodes"
 
| [[#core.display_custom_bbcodes|core.display_custom_bbcodes]] || includes/functions_display.php ||  || 3.1.0-a1 || Display custom bbcodes
 
| [[#core.display_custom_bbcodes|core.display_custom_bbcodes]] || includes/functions_display.php ||  || 3.1.0-a1 || Display custom bbcodes
Line 62: Line 64:
 
| [[#core.display_custom_bbcodes_modify_row|core.display_custom_bbcodes_modify_row]] || includes/functions_display.php || custom_tags, row || 3.1.0-a1 || Event to modify the template data block of a custom bbcode
 
| [[#core.display_custom_bbcodes_modify_row|core.display_custom_bbcodes_modify_row]] || includes/functions_display.php || custom_tags, row || 3.1.0-a1 || Event to modify the template data block of a custom bbcode
 
|- id="core.display_custom_bbcodes_modify_sql"
 
|- id="core.display_custom_bbcodes_modify_sql"
| [[#core.display_custom_bbcodes_modify_sql|core.display_custom_bbcodes_modify_sql]] || includes/functions_display.php || sql_ary, num_predefined_bbcodes || 3.1.0-a3 || Event to modify the SQL query before custom bbcode data is queried
+
| [[#core.display_custom_bbcodes_modify_sql|core.display_custom_bbcodes_modify_sql]] || includes/functions_display.php || num_predefined_bbcodes, sql_ary || 3.1.0-a3 || Event to modify the SQL query before custom bbcode data is queried
 
|- id="core.display_forums_modify_forum_rows"
 
|- id="core.display_forums_modify_forum_rows"
| [[#core.display_forums_modify_forum_rows|core.display_forums_modify_forum_rows]] || includes/functions_display.php || forum_rows, subforums, branch_root_id, parent_id, row || 3.1.0-a1 || Event to modify the forum rows data set
+
| [[#core.display_forums_modify_forum_rows|core.display_forums_modify_forum_rows]] || includes/functions_display.php || branch_root_id, forum_rows, parent_id, row, subforums || 3.1.0-a1 || Event to modify the forum rows data set
 
|- id="core.display_forums_modify_row"
 
|- id="core.display_forums_modify_row"
 
| [[#core.display_forums_modify_row|core.display_forums_modify_row]] || includes/functions_display.php || branch_root_id, row || 3.1.0-a1 || Event to modify the data set of a forum
 
| [[#core.display_forums_modify_row|core.display_forums_modify_row]] || includes/functions_display.php || branch_root_id, row || 3.1.0-a1 || Event to modify the data set of a forum
Line 74: Line 76:
 
| [[#core.garbage_collection|core.garbage_collection]] || includes/functions.php ||  || 3.1.0-a1 || Unload some objects, to free some memory, before we finish our task
 
| [[#core.garbage_collection|core.garbage_collection]] || includes/functions.php ||  || 3.1.0-a1 || Unload some objects, to free some memory, before we finish our task
 
|- id="core.generate_smilies_after"
 
|- id="core.generate_smilies_after"
| [[#core.generate_smilies_after|core.generate_smilies_after]] || includes/functions_posting.php || mode, forum_id, display_link || 3.1.0-a1 || This event is called after the smilies are populated
+
| [[#core.generate_smilies_after|core.generate_smilies_after]] || includes/functions_posting.php || display_link, forum_id, mode || 3.1.0-a1 || This event is called after the smilies are populated
 +
|- id="core.get_logs_get_additional_data"
 +
| [[#core.get_logs_get_additional_data|core.get_logs_get_additional_data]] || phpbb/log/log.php || log, reportee_id_list, topic_id_list || 3.1.0-a1 || Get some additional data after we got all log entries
 +
|- id="core.get_logs_modify_entry_data"
 +
| [[#core.get_logs_modify_entry_data|core.get_logs_modify_entry_data]] || phpbb/log/log.php || log_entry_data, row || 3.1.0-a1 || Modify the entry's data before it is returned
 +
|- id="core.get_logs_modify_type"
 +
| [[#core.get_logs_modify_type|core.get_logs_modify_type]] || phpbb/log/log.php || count_logs, forum_id, keywords, limit, log_time, log_type, mode, offset, profile_url, sort_by, sql_additional, topic_id, user_id || 3.1.0-a1 || Overwrite log type and limitations before we count and get the logs
 
|- id="core.group_delete_user_before"
 
|- id="core.group_delete_user_before"
 
| [[#core.group_delete_user_before|core.group_delete_user_before]] || includes/functions_user.php || group_id, group_name, user_id_ary, username_ary || 3.1.0-a1 || Event before users are removed from a group
 
| [[#core.group_delete_user_before|core.group_delete_user_before]] || includes/functions_user.php || group_id, group_name, user_id_ary, username_ary || 3.1.0-a1 || Event before users are removed from a group
Line 84: Line 92:
 
| [[#core.memberlist_prepare_profile_data|core.memberlist_prepare_profile_data]] || memberlist.php || data, template_data || 3.1.0-a1 || Preparing a user's data before displaying it in profile and memberlist
 
| [[#core.memberlist_prepare_profile_data|core.memberlist_prepare_profile_data]] || memberlist.php || data, template_data || 3.1.0-a1 || Preparing a user's data before displaying it in profile and memberlist
 
|- id="core.memberlist_view_profile"
 
|- id="core.memberlist_view_profile"
| [[#core.memberlist_view_profile|core.memberlist_view_profile]] || memberlist.php || member, user_notes_enabled, warn_user_enabled, zebra_enabled, friends_enabled, foes_enabled, friend, foe || 3.1.0-a1 || Modify user data before we display the profile
+
| [[#core.memberlist_view_profile|core.memberlist_view_profile]] || memberlist.php || foe, foes_enabled, friend, friends_enabled, member, user_notes_enabled, warn_user_enabled, zebra_enabled || 3.1.0-a1 || Modify user data before we display the profile
 
|- id="core.modify_bbcode_init"
 
|- id="core.modify_bbcode_init"
 
| [[#core.modify_bbcode_init|core.modify_bbcode_init]] || includes/message_parser.php || bbcodes, rowset || 3.1.0-a3 || Event to modify the bbcode data for later parsing
 
| [[#core.modify_bbcode_init|core.modify_bbcode_init]] || includes/message_parser.php || bbcodes, rowset || 3.1.0-a3 || Event to modify the bbcode data for later parsing
 
|- id="core.modify_format_display_text_after"
 
|- id="core.modify_format_display_text_after"
| [[#core.modify_format_display_text_after|core.modify_format_display_text_after]] || includes/message_parser.php || text, uid, allow_bbcode, allow_magic_url, allow_smilies, update_this_message || 3.1.0-a3 || Event to modify the text after it is parsed
+
| [[#core.modify_format_display_text_after|core.modify_format_display_text_after]] || includes/message_parser.php || allow_bbcode, allow_magic_url, allow_smilies, text, uid, update_this_message || 3.1.0-a3 || Event to modify the text after it is parsed
 
|- id="core.modify_mcp_modules_display_option"
 
|- id="core.modify_mcp_modules_display_option"
| [[#core.modify_mcp_modules_display_option|core.modify_mcp_modules_display_option]] || mcp.php || module, mode, user_id, forum_id, topic_id, post_id, username, id || 3.1.0-b2 || This event allows you to set display option for custom MCP modules
+
| [[#core.modify_mcp_modules_display_option|core.modify_mcp_modules_display_option]] || mcp.php || forum_id, id, mode, module, post_id, topic_id, user_id, username || 3.1.0-b2 || This event allows you to set display option for custom MCP modules
 +
|- id="core.modify_module_row"
 +
| [[#core.modify_module_row|core.modify_module_row]] || includes/functions_module.php || custom_func, lang_func, module_row, row, url_func || 3.1.0-b3 || This event allows to modify parameters for building modules list
 
|- id="core.modify_posting_parameters"
 
|- id="core.modify_posting_parameters"
| [[#core.modify_posting_parameters|core.modify_posting_parameters]] || posting.php || post_id, topic_id, forum_id, draft_id, lastclick, submit, preview, save, load, delete, cancel, refresh, mode, error || 3.1.0-a1 || This event allows you to alter the above parameters, such as submit and mode
+
| [[#core.modify_posting_parameters|core.modify_posting_parameters]] || posting.php || cancel, delete, draft_id, error, forum_id, lastclick, load, mode, post_id, preview, refresh, save, submit, topic_id || 3.1.0-a1 || This event allows you to alter the above parameters, such as submit and mode
 
|- id="core.modify_quickmod_actions"
 
|- id="core.modify_quickmod_actions"
 
| [[#core.modify_quickmod_actions|core.modify_quickmod_actions]] || includes/mcp/mcp_main.php ||  || 3.1.0-a4 || This event allows you to handle custom quickmod options
 
| [[#core.modify_quickmod_actions|core.modify_quickmod_actions]] || includes/mcp/mcp_main.php ||  || 3.1.0-a4 || This event allows you to handle custom quickmod options
 
|- id="core.modify_quickmod_options"
 
|- id="core.modify_quickmod_options"
| [[#core.modify_quickmod_options|core.modify_quickmod_options]] || mcp.php || module, action, is_valid_action || 3.1.0-a4 || This event allows you to add custom quickmod options
+
| [[#core.modify_quickmod_options|core.modify_quickmod_options]] || mcp.php || action, is_valid_action, module || 3.1.0-a4 || This event allows you to add custom quickmod options
 
|- id="core.modify_submit_post_data"
 
|- id="core.modify_submit_post_data"
| [[#core.modify_submit_post_data|core.modify_submit_post_data]] || includes/functions_posting.php || mode, subject, username, topic_type, poll, data, update_message, update_search_index || 3.1.0-a4 || Modify the data for post submitting
+
| [[#core.modify_submit_post_data|core.modify_submit_post_data]] || includes/functions_posting.php || data, mode, poll, subject, topic_type, update_message, update_search_index, username || 3.1.0-a4 || Modify the data for post submitting
 
|- id="core.modify_text_for_display_after"
 
|- id="core.modify_text_for_display_after"
| [[#core.modify_text_for_display_after|core.modify_text_for_display_after]] || includes/functions_content.php || text, uid, bitfield, flags || 3.1.0-a1 || Use this event to modify the text after it is parsed
+
| [[#core.modify_text_for_display_after|core.modify_text_for_display_after]] || includes/functions_content.php || bitfield, flags, text, uid || 3.1.0-a1 || Use this event to modify the text after it is parsed
 
|- id="core.modify_text_for_display_before"
 
|- id="core.modify_text_for_display_before"
| [[#core.modify_text_for_display_before|core.modify_text_for_display_before]] || includes/functions_content.php || text, uid, bitfield, flags, censor_text || 3.1.0-a1 || Use this event to modify the text before it is parsed
+
| [[#core.modify_text_for_display_before|core.modify_text_for_display_before]] || includes/functions_content.php || bitfield, censor_text, flags, text, uid || 3.1.0-a1 || Use this event to modify the text before it is parsed
 
|- id="core.modify_text_for_edit_after"
 
|- id="core.modify_text_for_edit_after"
| [[#core.modify_text_for_edit_after|core.modify_text_for_edit_after]] || includes/functions_content.php || text, flags || 3.1.0-a1 || Use this event to modify the text after it is decoded for editing
+
| [[#core.modify_text_for_edit_after|core.modify_text_for_edit_after]] || includes/functions_content.php || flags, text || 3.1.0-a1 || Use this event to modify the text after it is decoded for editing
 
|- id="core.modify_text_for_edit_before"
 
|- id="core.modify_text_for_edit_before"
| [[#core.modify_text_for_edit_before|core.modify_text_for_edit_before]] || includes/functions_content.php || text, uid, flags || 3.1.0-a1 || Use this event to modify the text before it is decoded for editing
+
| [[#core.modify_text_for_edit_before|core.modify_text_for_edit_before]] || includes/functions_content.php || flags, text, uid || 3.1.0-a1 || Use this event to modify the text before it is decoded for editing
 
|- id="core.modify_text_for_storage_after"
 
|- id="core.modify_text_for_storage_after"
| [[#core.modify_text_for_storage_after|core.modify_text_for_storage_after]] || includes/functions_content.php || text, uid, bitfield, flags || 3.1.0-a1 || Use this event to modify the text after it is prepared for storage
+
| [[#core.modify_text_for_storage_after|core.modify_text_for_storage_after]] || includes/functions_content.php || bitfield, flags, text, uid || 3.1.0-a1 || Use this event to modify the text after it is prepared for storage
 
|- id="core.modify_text_for_storage_before"
 
|- id="core.modify_text_for_storage_before"
| [[#core.modify_text_for_storage_before|core.modify_text_for_storage_before]] || includes/functions_content.php || text, uid, bitfield, flags, allow_bbcode, allow_urls, allow_smilies || 3.1.0-a1 || Use this event to modify the text before it is prepared for storage
+
| [[#core.modify_text_for_storage_before|core.modify_text_for_storage_before]] || includes/functions_content.php || allow_bbcode, allow_smilies, allow_urls, bitfield, flags, text, uid || 3.1.0-a1 || Use this event to modify the text before it is prepared for storage
 
|- id="core.modify_username_string"
 
|- id="core.modify_username_string"
| [[#core.modify_username_string|core.modify_username_string]] || includes/functions_content.php || mode, user_id, username, username_colour, guest_username, custom_profile_url, username_string, _profile_cache || 3.1.0-a1 || Use this event to change the output of get_username_string()
+
| [[#core.modify_username_string|core.modify_username_string]] || includes/functions_content.php || _profile_cache, custom_profile_url, guest_username, mode, user_id, username, username_colour, username_string || 3.1.0-a1 || Use this event to change the output of get_username_string()
 
|- id="core.module_auth"
 
|- id="core.module_auth"
| [[#core.module_auth|core.module_auth]] || includes/functions_module.php || valid_tokens, module_auth, forum_id || 3.1-A3 || Alter tokens for module authorisation check
+
| [[#core.module_auth|core.module_auth]] || includes/functions_module.php || forum_id, module_auth, valid_tokens || 3.1.0-a3 || Alter tokens for module authorisation check
 
|- id="core.page_footer"
 
|- id="core.page_footer"
| [[#core.page_footer|core.page_footer]] || includes/functions.php || run_cron, page_footer_override || 3.1.0-a1 || Execute code and/or overwrite page_footer()
+
| [[#core.page_footer|core.page_footer]] || includes/functions.php || page_footer_override, run_cron || 3.1.0-a1 || Execute code and/or overwrite page_footer()
 
|- id="core.page_header"
 
|- id="core.page_header"
| [[#core.page_header|core.page_header]] || includes/functions.php || page_title, display_online_list, item_id, item, page_header_override || 3.1.0-a1 || Execute code and/or overwrite page_header()
+
| [[#core.page_header|core.page_header]] || includes/functions.php || display_online_list, item, item_id, page_header_override, page_title || 3.1.0-a1 || Execute code and/or overwrite page_header()
 +
|- id="core.page_header_after"
 +
| [[#core.page_header_after|core.page_header_after]] || includes/functions.php || display_online_list, item, item_id, page_title || 3.1.0-b3 || Execute code and/or overwrite _common_ template variables after they have been assigned.
 
|- id="core.permissions"
 
|- id="core.permissions"
| [[#core.permissions|core.permissions]] || phpbb/permissions.php || types, categories, permissions || 3.1.0-a1 || Allows to specify additional permission categories, types and permissions
+
| [[#core.permissions|core.permissions]] || phpbb/permissions.php || categories, permissions, types || 3.1.0-a1 || Allows to specify additional permission categories, types and permissions
 
|- id="core.posting_modify_template_vars"
 
|- id="core.posting_modify_template_vars"
| [[#core.posting_modify_template_vars|core.posting_modify_template_vars]] || posting.php || || 3.1.0-a1 || This event allows you to modify template variables for the posting screen
+
| [[#core.posting_modify_template_vars|core.posting_modify_template_vars]] || posting.php || form_enctype, mode, moderators, page_title, post_data, s_action, s_hidden_fields, s_topic_icons || 3.1.0-a1 || This event allows you to modify template variables for the posting screen
 
|- id="core.search_get_topic_data"
 
|- id="core.search_get_topic_data"
| [[#core.search_get_topic_data|core.search_get_topic_data]] || search.php || sql_select, sql_from, sql_where || 3.1.0-a1 || Event to modify the SQL query before the topic data is retrieved
+
| [[#core.search_get_topic_data|core.search_get_topic_data]] || search.php || sql_from, sql_select, sql_where || 3.1.0-a1 || Event to modify the SQL query before the topic data is retrieved
 
|- id="core.search_modify_tpl_ary"
 
|- id="core.search_modify_tpl_ary"
 
| [[#core.search_modify_tpl_ary|core.search_modify_tpl_ary]] || search.php || row, tpl_ary || 3.1.0-a1 || Modify the topic data before it is assigned to the template
 
| [[#core.search_modify_tpl_ary|core.search_modify_tpl_ary]] || search.php || row, tpl_ary || 3.1.0-a1 || Modify the topic data before it is assigned to the template
 +
|- id="core.submit_pm_before"
 +
| [[#core.submit_pm_before|core.submit_pm_before]] || includes/functions_privmsgs.php || data, mode, subject || 3.1.0-b3 || Get all parts of the PM that are to be submited to the DB.
 
|- id="core.submit_post_end"
 
|- id="core.submit_post_end"
| [[#core.submit_post_end|core.submit_post_end]] || includes/functions_posting.php || url, data || 3.1-A3 || This event is used for performing actions directly after a post or topic
+
| [[#core.submit_post_end|core.submit_post_end]] || includes/functions_posting.php || data, url || 3.1.0-a3 || This event is used for performing actions directly after a post or topic
 
|- id="core.ucp_add_zebra"
 
|- id="core.ucp_add_zebra"
 
| [[#core.ucp_add_zebra|core.ucp_add_zebra]] || includes/ucp/ucp_zebra.php || mode, sql_ary || 3.1.0-a1 || Add users to friends/foes
 
| [[#core.ucp_add_zebra|core.ucp_add_zebra]] || includes/ucp/ucp_zebra.php || mode, sql_ary || 3.1.0-a1 || Add users to friends/foes
 
|- id="core.ucp_display_module_before"
 
|- id="core.ucp_display_module_before"
| [[#core.ucp_display_module_before|core.ucp_display_module_before]] || ucp.php || module, id, mode || 3.1.0-a1 || Use this event to enable and disable additional UCP modules
+
| [[#core.ucp_display_module_before|core.ucp_display_module_before]] || ucp.php || id, mode, module || 3.1.0-a1 || Use this event to enable and disable additional UCP modules
 
|- id="core.ucp_pm_view_messsage"
 
|- id="core.ucp_pm_view_messsage"
| [[#core.ucp_pm_view_messsage|core.ucp_pm_view_messsage]] || includes/ucp/ucp_pm_viewmessage.php || id, mode, folder_id, msg_id, folder, message_row, cp_row, msg_data || 3.1.0-a1 || Modify pm and sender data before it is assigned to the template
+
| [[#core.ucp_pm_view_messsage|core.ucp_pm_view_messsage]] || includes/ucp/ucp_pm_viewmessage.php || cp_row, folder, folder_id, id, message_row, mode, msg_data, msg_id || 3.1.0-a1 || Modify pm and sender data before it is assigned to the template
 
|- id="core.ucp_prefs_personal_data"
 
|- id="core.ucp_prefs_personal_data"
| [[#core.ucp_prefs_personal_data|core.ucp_prefs_personal_data]] || includes/ucp/ucp_prefs.php || submit, data || 3.1.0-a1 || Add UCP edit global settings data before they are assigned to the template or submitted
+
| [[#core.ucp_prefs_personal_data|core.ucp_prefs_personal_data]] || includes/ucp/ucp_prefs.php || data, submit || 3.1.0-a1 || Add UCP edit global settings data before they are assigned to the template or submitted
 
|- id="core.ucp_prefs_personal_update_data"
 
|- id="core.ucp_prefs_personal_update_data"
 
| [[#core.ucp_prefs_personal_update_data|core.ucp_prefs_personal_update_data]] || includes/ucp/ucp_prefs.php || data, sql_ary || 3.1.0-a1 || Update UCP edit global settings data on form submit
 
| [[#core.ucp_prefs_personal_update_data|core.ucp_prefs_personal_update_data]] || includes/ucp/ucp_prefs.php || data, sql_ary || 3.1.0-a1 || Update UCP edit global settings data on form submit
 
|- id="core.ucp_prefs_post_data"
 
|- id="core.ucp_prefs_post_data"
| [[#core.ucp_prefs_post_data|core.ucp_prefs_post_data]] || includes/ucp/ucp_prefs.php || submit, data || 3.1.0-a1 || Add UCP edit posting defaults data before they are assigned to the template or submitted
+
| [[#core.ucp_prefs_post_data|core.ucp_prefs_post_data]] || includes/ucp/ucp_prefs.php || data, submit || 3.1.0-a1 || Add UCP edit posting defaults data before they are assigned to the template or submitted
 
|- id="core.ucp_prefs_post_update_data"
 
|- id="core.ucp_prefs_post_update_data"
 
| [[#core.ucp_prefs_post_update_data|core.ucp_prefs_post_update_data]] || includes/ucp/ucp_prefs.php || data, sql_ary || 3.1.0-a1 || Update UCP edit posting defaults data on form submit
 
| [[#core.ucp_prefs_post_update_data|core.ucp_prefs_post_update_data]] || includes/ucp/ucp_prefs.php || data, sql_ary || 3.1.0-a1 || Update UCP edit posting defaults data on form submit
 
|- id="core.ucp_prefs_view_data"
 
|- id="core.ucp_prefs_view_data"
| [[#core.ucp_prefs_view_data|core.ucp_prefs_view_data]] || includes/ucp/ucp_prefs.php || submit, data || 3.1.0-a1 || Add UCP edit display options data before they are assigned to the template or submitted
+
| [[#core.ucp_prefs_view_data|core.ucp_prefs_view_data]] || includes/ucp/ucp_prefs.php || data, submit || 3.1.0-a1 || Add UCP edit display options data before they are assigned to the template or submitted
 
|- id="core.ucp_prefs_view_update_data"
 
|- id="core.ucp_prefs_view_update_data"
 
| [[#core.ucp_prefs_view_update_data|core.ucp_prefs_view_update_data]] || includes/ucp/ucp_prefs.php || data, sql_ary || 3.1.0-a1 || Update UCP edit display options data on form submit
 
| [[#core.ucp_prefs_view_update_data|core.ucp_prefs_view_update_data]] || includes/ucp/ucp_prefs.php || data, sql_ary || 3.1.0-a1 || Update UCP edit display options data on form submit
Line 150: Line 164:
 
| [[#core.ucp_remove_zebra|core.ucp_remove_zebra]] || includes/ucp/ucp_zebra.php || mode, user_ids || 3.1.0-a1 || Remove users from friends/foes
 
| [[#core.ucp_remove_zebra|core.ucp_remove_zebra]] || includes/ucp/ucp_zebra.php || mode, user_ids || 3.1.0-a1 || Remove users from friends/foes
 
|- id="core.update_username"
 
|- id="core.update_username"
| [[#core.update_username|core.update_username]] || includes/functions_user.php || old_name, new_name || 3.1.0-a1 || Update a username when it is changed
+
| [[#core.update_username|core.update_username]] || includes/functions_user.php || new_name, old_name || 3.1.0-a1 || Update a username when it is changed
 
|- id="core.user_add_modify_data"
 
|- id="core.user_add_modify_data"
 
| [[#core.user_add_modify_data|core.user_add_modify_data]] || includes/functions_user.php || sql_ary || 3.1.0-a1 || Use this event to modify the values to be inserted when a user is added
 
| [[#core.user_add_modify_data|core.user_add_modify_data]] || includes/functions_user.php || sql_ary || 3.1.0-a1 || Use this event to modify the values to be inserted when a user is added
 
|- id="core.user_set_default_group"
 
|- id="core.user_set_default_group"
| [[#core.user_set_default_group|core.user_set_default_group]] || includes/functions_user.php || group_id, user_id_ary, group_attributes, update_listing, sql_ary || 3.1.0-a1 || Event when the default group is set for an array of users
+
| [[#core.user_set_default_group|core.user_set_default_group]] || includes/functions_user.php || group_attributes, group_id, sql_ary, update_listing, user_id_ary || 3.1.0-a1 || Event when the default group is set for an array of users
 
|- id="core.user_setup"
 
|- id="core.user_setup"
| [[#core.user_setup|core.user_setup]] || phpbb/user.php || user_data, user_lang_name, user_date_format, user_timezone, lang_set, lang_set_ext, style_id || 3.1.0-a1 || Event to load language files and modify user data on every page
+
| [[#core.user_setup|core.user_setup]] || phpbb/user.php || lang_set, lang_set_ext, style_id, user_data, user_date_format, user_lang_name, user_timezone || 3.1.0-a1 || Event to load language files and modify user data on every page
 
|- id="core.validate_config_variable"
 
|- id="core.validate_config_variable"
| [[#core.validate_config_variable|core.validate_config_variable]] || includes/functions_acp.php || cfg_array, config_name, config_definition, error || 3.1.0-a1 || Validate a config value
+
| [[#core.validate_config_variable|core.validate_config_variable]] || includes/functions_acp.php || cfg_array, config_definition, config_name, error || 3.1.0-a1 || Validate a config value
 
|- id="core.viewforum_get_shadowtopic_data"
 
|- id="core.viewforum_get_shadowtopic_data"
 
| [[#core.viewforum_get_shadowtopic_data|core.viewforum_get_shadowtopic_data]] || viewforum.php || sql_array || 3.1.0-a1 || Event to modify the SQL query before the shadowtopic data is retrieved
 
| [[#core.viewforum_get_shadowtopic_data|core.viewforum_get_shadowtopic_data]] || viewforum.php || sql_array || 3.1.0-a1 || Event to modify the SQL query before the shadowtopic data is retrieved
Line 165: Line 179:
 
|- id="core.viewforum_modify_topicrow"
 
|- id="core.viewforum_modify_topicrow"
 
| [[#core.viewforum_modify_topicrow|core.viewforum_modify_topicrow]] || viewforum.php || row, topic_row || 3.1.0-a1 || Modify the topic data before it is assigned to the template
 
| [[#core.viewforum_modify_topicrow|core.viewforum_modify_topicrow]] || viewforum.php || row, topic_row || 3.1.0-a1 || Modify the topic data before it is assigned to the template
 +
|- id="core.viewforum_modify_topics_data"
 +
| [[#core.viewforum_modify_topics_data|core.viewforum_modify_topics_data]] || viewforum.php || rowset, topic_list, total_topic_count || 3.1.0-b3 || Modify topics data before we display the viewforum page
 
|- id="core.viewonline_modify_sql"
 
|- id="core.viewonline_modify_sql"
| [[#core.viewonline_modify_sql|core.viewonline_modify_sql]] || viewonline.php || sql_ary, show_guests, guest_counter, forum_data || 3.1.0-a1 || Modify the SQL query for getting the user data to display viewonline list
+
| [[#core.viewonline_modify_sql|core.viewonline_modify_sql]] || viewonline.php || forum_data, guest_counter, show_guests, sql_ary || 3.1.0-a1 || Modify the SQL query for getting the user data to display viewonline list
 
|- id="core.viewonline_overwrite_location"
 
|- id="core.viewonline_overwrite_location"
| [[#core.viewonline_overwrite_location|core.viewonline_overwrite_location]] || viewonline.php || on_page, row, location, location_url, forum_data || 3.1.0-a1 || Overwrite the location's name and URL, which are displayed in the list
+
| [[#core.viewonline_overwrite_location|core.viewonline_overwrite_location]] || viewonline.php || forum_data, location, location_url, on_page, row || 3.1.0-a1 || Overwrite the location's name and URL, which are displayed in the list
 
|- id="core.viewtopic_cache_guest_data"
 
|- id="core.viewtopic_cache_guest_data"
| [[#core.viewtopic_cache_guest_data|core.viewtopic_cache_guest_data]] || viewtopic.php || user_cache_data, poster_id, row || 3.1.0-a1 || Modify the guest user's data displayed with the posts
+
| [[#core.viewtopic_cache_guest_data|core.viewtopic_cache_guest_data]] || viewtopic.php || poster_id, row, user_cache_data || 3.1.0-a1 || Modify the guest user's data displayed with the posts
 
|- id="core.viewtopic_cache_user_data"
 
|- id="core.viewtopic_cache_user_data"
| [[#core.viewtopic_cache_user_data|core.viewtopic_cache_user_data]] || viewtopic.php || user_cache_data, poster_id, row || 3.1.0-a1 || Modify the users' data displayed with their posts
+
| [[#core.viewtopic_cache_user_data|core.viewtopic_cache_user_data]] || viewtopic.php || poster_id, row, user_cache_data || 3.1.0-a1 || Modify the users' data displayed with their posts
 
|- id="core.viewtopic_get_post_data"
 
|- id="core.viewtopic_get_post_data"
| [[#core.viewtopic_get_post_data|core.viewtopic_get_post_data]] || viewtopic.php || forum_id, topic_id, topic_data, post_list, sort_days, sort_key, sort_dir, start, sql_ary || 3.1.0-a1 || Event to modify the SQL query before the post and poster data is retrieved
+
| [[#core.viewtopic_get_post_data|core.viewtopic_get_post_data]] || viewtopic.php || forum_id, post_list, sort_days, sort_dir, sort_key, sql_ary, start, topic_data, topic_id || 3.1.0-a1 || Event to modify the SQL query before the post and poster data is retrieved
 
|- id="core.viewtopic_modify_page_title"
 
|- id="core.viewtopic_modify_page_title"
| [[#core.viewtopic_modify_page_title|core.viewtopic_modify_page_title]] || viewtopic.php || page_title, topic_data, forum_id, start || 3.1.0-a1 || You can use this event to modify the page title of the viewtopic page
+
| [[#core.viewtopic_modify_page_title|core.viewtopic_modify_page_title]] || viewtopic.php || forum_id, page_title, start, topic_data || 3.1.0-a1 || You can use this event to modify the page title of the viewtopic page
 
|- id="core.viewtopic_modify_post_row"
 
|- id="core.viewtopic_modify_post_row"
| [[#core.viewtopic_modify_post_row|core.viewtopic_modify_post_row]] || viewtopic.php || start, current_row_number, end, row, cp_row, attachments, user_poster_data, post_row || 3.1.0-a1 || Modify the posts template block
+
| [[#core.viewtopic_modify_post_row|core.viewtopic_modify_post_row]] || viewtopic.php || attachments, cp_row, current_row_number, end, post_row, row, start, topic_data, total_posts, user_poster_data || 3.1.0-a1 || Modify the posts template block
 
|- id="core.viewtopic_post_row_after"
 
|- id="core.viewtopic_post_row_after"
| [[#core.viewtopic_post_row_after|core.viewtopic_post_row_after]] || viewtopic.php || start, current_row_number, end, row, cp_row, attachments, user_poster_data, post_row || 3.1.0-a3 || Event after the post data has been assigned to the template
+
| [[#core.viewtopic_post_row_after|core.viewtopic_post_row_after]] || viewtopic.php || attachments, cp_row, current_row_number, end, post_row, row, start, topic_data, total_posts, user_poster_data || 3.1.0-a3 || Event after the post data has been assigned to the template
 
|- id="core.viewtopic_post_rowset_data"
 
|- id="core.viewtopic_post_rowset_data"
| [[#core.viewtopic_post_rowset_data|core.viewtopic_post_rowset_data]] || viewtopic.php || rowset_data, row || 3.1.0-a1 || Modify the post rowset containing data to be displayed with posts
+
| [[#core.viewtopic_post_rowset_data|core.viewtopic_post_rowset_data]] || viewtopic.php || row, rowset_data || 3.1.0-a1 || Modify the post rowset containing data to be displayed with posts
 
|}
 
|}
  
Line 188: Line 204:
 
{| class="zebra sortable" cellspacing="0" cellpadding="5"
 
{| class="zebra sortable" cellspacing="0" cellpadding="5"
 
! Identifier !! Prosilver Placement (If applicable) !! Subsilver Placement (If applicable) !! Added in Release !! Explanation
 
! Identifier !! Prosilver Placement (If applicable) !! Subsilver Placement (If applicable) !! Added in Release !! Explanation
 +
|- id="forumlist_body_category_header_after"
 +
| [[#forumlist_body_category_header_after|forumlist_body_category_header_after]] || forumlist_body.html || forumlist_body.html || 3.1.0-a4 || Add content after the header of the category on the forum list.
 +
|- id="forumlist_body_category_header_before"
 +
| [[#forumlist_body_category_header_before|forumlist_body_category_header_before]] || forumlist_body.html || forumlist_body.html || 3.1.0-a4 || Add content before the header of the category on the forum list.
 +
|- id="forumlist_body_last_post_title_prepend"
 +
| [[#forumlist_body_last_post_title_prepend|forumlist_body_last_post_title_prepend]] || forumlist_body.html || forumlist_body.html || 3.1.0-a1 || Add content before the post title of the latest post in a forum on the forum list.
 +
|- id="forumlist_body_subforums_after"
 +
| [[#forumlist_body_subforums_after|forumlist_body_subforums_after]] || forumlist_body.html || forumlist_body.html || 3.1.0-a4 || Add content after the list of subforums (if any) for each forum on the forum list.
 +
|- id="forumlist_body_subforums_before"
 +
| [[#forumlist_body_subforums_before|forumlist_body_subforums_before]] || forumlist_body.html || forumlist_body.html || 3.1.0-a4 || Add content before the list of subforums (if any) for each forum on the forum list.
 +
|- id="forumlist_body_last_row_after"
 +
| [[#forumlist_body_last_row_after|forumlist_body_last_row_after]] || forumlist_body.html || forumlist_body.html || 3.1.0-b2 || Add content after the very last row of the forum list.
 
|- id="index_body_linklist_after"
 
|- id="index_body_linklist_after"
 
| [[#index_body_linklist_after|index_body_linklist_after]] || index_body.html || index_body.html || 3.1.0-a3 || Add content after the linklist above the forum list on Board index
 
| [[#index_body_linklist_after|index_body_linklist_after]] || index_body.html || index_body.html || 3.1.0-a3 || Add content after the linklist above the forum list on Board index
 
|- id="index_body_linklist_before"
 
|- id="index_body_linklist_before"
 
| [[#index_body_linklist_before|index_body_linklist_before]] || index_body.html || index_body.html || 3.1.0-a3 || Add content before the linklist above the forum list on Board index
 
| [[#index_body_linklist_before|index_body_linklist_before]] || index_body.html || index_body.html || 3.1.0-a3 || Add content before the linklist above the forum list on Board index
 +
|- id="index_body_stat_blocks_after"
 +
| [[#index_body_stat_blocks_after|index_body_stat_blocks_after]] || index_body.html || index_body.html || 3.1.0-b3 || Add new statistic blocks below the Who Is Online and Board Statistics blocks
 
|- id="index_body_stat_blocks_before"
 
|- id="index_body_stat_blocks_before"
 
| [[#index_body_stat_blocks_before|index_body_stat_blocks_before]] || index_body.html || index_body.html || 3.1.0-a1 || Add new statistic blocks above the Who Is Online and Board Statistics blocks
 
| [[#index_body_stat_blocks_before|index_body_stat_blocks_before]] || index_body.html || index_body.html || 3.1.0-a1 || Add new statistic blocks above the Who Is Online and Board Statistics blocks
Line 211: Line 241:
 
| [[#overall_footer_after|overall_footer_after]] || overall_footer.html || overall_footer.html || 3.1.0-a1 || Add content at the end of the file, directly prior to the `</body>` tag
 
| [[#overall_footer_after|overall_footer_after]] || overall_footer.html || overall_footer.html || 3.1.0-a1 || Add content at the end of the file, directly prior to the `</body>` tag
 
|- id="overall_footer_breadcrumb_append"
 
|- id="overall_footer_breadcrumb_append"
| [[#overall_footer_breadcrumb_append|overall_footer_breadcrumb_append]] || overall_footer.html ||  || 3.1.0-a1 || Add links to the list of breadcrumbs in the footer
+
| [[#overall_footer_breadcrumb_append|overall_footer_breadcrumb_append]] || navbar_footer.html ||  || 3.1.0-a1 || Add links to the list of breadcrumbs in the footer
 
|- id="overall_footer_content_after"
 
|- id="overall_footer_content_after"
 
| [[#overall_footer_content_after|overall_footer_content_after]] || overall_footer.html || overall_footer.html || 3.1.0-a3 || Add content on all pages after the main content, before the footer
 
| [[#overall_footer_content_after|overall_footer_content_after]] || overall_footer.html || overall_footer.html || 3.1.0-a3 || Add content on all pages after the main content, before the footer
Line 218: Line 248:
 
|- id="overall_footer_copyright_prepend"
 
|- id="overall_footer_copyright_prepend"
 
| [[#overall_footer_copyright_prepend|overall_footer_copyright_prepend]] || overall_footer.html || overall_footer.html || 3.1.0-a1 || Add content before the copyright line
 
| [[#overall_footer_copyright_prepend|overall_footer_copyright_prepend]] || overall_footer.html || overall_footer.html || 3.1.0-a1 || Add content before the copyright line
 +
|- id="overall_footer_page_body_after"
 +
| [[#overall_footer_page_body_after|overall_footer_page_body_after]] || overall_footer.html || overall_footer.html || 3.1.0-b3 || Add content after the page-body, but before the footer
 
|- id="overall_header_body_before"
 
|- id="overall_header_body_before"
 
| [[#overall_header_body_before|overall_header_body_before]] || overall_header.html || overall_header.html || 3.1.0-b2 || Add content to the header body
 
| [[#overall_header_body_before|overall_header_body_before]] || overall_header.html || overall_header.html || 3.1.0-b2 || Add content to the header body
 
|- id="overall_header_breadcrumb_append"
 
|- id="overall_header_breadcrumb_append"
| [[#overall_header_breadcrumb_append|overall_header_breadcrumb_append]] || overall_header.html || breadcrumbs.html || 3.1.0-a1 || Add links to the list of breadcrumbs in the header
+
| [[#overall_header_breadcrumb_append|overall_header_breadcrumb_append]] || navbar_header.html || breadcrumbs.html || 3.1.0-a1 || Add links to the list of breadcrumbs in the header
 
|- id="overall_header_content_before"
 
|- id="overall_header_content_before"
 
| [[#overall_header_content_before|overall_header_content_before]] || overall_header.html || overall_header.html || 3.1.0-a3 || Add content on all pages before the main content, after the header
 
| [[#overall_header_content_before|overall_header_content_before]] || overall_header.html || overall_header.html || 3.1.0-a3 || Add content on all pages before the main content, after the header
Line 227: Line 259:
 
| [[#overall_header_head_append|overall_header_head_append]] || overall_header.html || overall_header.html || 3.1.0-a1 || Add asset calls directly before the `</head>` tag
 
| [[#overall_header_head_append|overall_header_head_append]] || overall_header.html || overall_header.html || 3.1.0-a1 || Add asset calls directly before the `</head>` tag
 
|- id="overall_header_navigation_append"
 
|- id="overall_header_navigation_append"
| [[#overall_header_navigation_append|overall_header_navigation_append]] || overall_header.html || overall_header.html || 3.1.0-a1 || Add links after the navigation links in the header
+
| [[#overall_header_navigation_append|overall_header_navigation_append]] || navbar_header.html || overall_header.html || 3.1.0-a1 || Add links after the navigation links in the header
 
|- id="overall_header_navigation_prepend"
 
|- id="overall_header_navigation_prepend"
| [[#overall_header_navigation_prepend|overall_header_navigation_prepend]] || overall_header.html || overall_header.html || 3.1.0-a1 || Add links before the navigation links in the header
+
| [[#overall_header_navigation_prepend|overall_header_navigation_prepend]] || navbar_header.html || overall_header.html || 3.1.0-a1 || Add links before the navigation links in the header
 +
|- id="overall_header_page_body_before"
 +
| [[#overall_header_page_body_before|overall_header_page_body_before]] || overall_header.html || overall_header.html || 3.1.0-b3 || Add content after the page-header, but before the page-body
 
|- id="posting_editor_buttons_after"
 
|- id="posting_editor_buttons_after"
 
| [[#posting_editor_buttons_after|posting_editor_buttons_after]] || posting_buttons.html || posting_buttons.html || 3.1.0-a3 || Add content after the BBCode posting buttons
 
| [[#posting_editor_buttons_after|posting_editor_buttons_after]] || posting_buttons.html || posting_buttons.html || 3.1.0-a3 || Add content after the BBCode posting buttons
Line 253: Line 287:
 
| [[#quickreply_editor_message_before|quickreply_editor_message_before]] || quickreply_editor.html || quickreply_editor.html || 3.1.0-a4 || Add content before the quick reply textbox
 
| [[#quickreply_editor_message_before|quickreply_editor_message_before]] || quickreply_editor.html || quickreply_editor.html || 3.1.0-a4 || Add content before the quick reply textbox
 
|- id="simple_footer_after"
 
|- id="simple_footer_after"
| [[#simple_footer_after|simple_footer_after]] || simple_footer.html || || 3.1.0-a1 || Add content directly prior to the `</body>` tag of the simple footer
+
| [[#simple_footer_after|simple_footer_after]] || simple_footer.html || simple_footer.html || 3.1.0-a1 || Add content directly prior to the `</body>` tag of the simple footer
 
|- id="simple_header_body_before"
 
|- id="simple_header_body_before"
 
| [[#simple_header_body_before|simple_header_body_before]] || simple_header.html || simple_header.html || 3.1.0-b2 || Add content to the header body
 
| [[#simple_header_body_before|simple_header_body_before]] || simple_header.html || simple_header.html || 3.1.0-b2 || Add content to the header body
Line 260: Line 294:
 
|- id="topiclist_row_append"
 
|- id="topiclist_row_append"
 
| [[#topiclist_row_append|topiclist_row_append]] || search_results.html, viewforum_body.html || search_results.html, viewforum_body.html || 3.1.0-a1 || Add content into topic rows (inside the elements containing topic titles)
 
| [[#topiclist_row_append|topiclist_row_append]] || search_results.html, viewforum_body.html || search_results.html, viewforum_body.html || 3.1.0-a1 || Add content into topic rows (inside the elements containing topic titles)
 +
|- id="ucp_pm_viewmessage_contact_fields_after"
 +
| [[#ucp_pm_viewmessage_contact_fields_after|ucp_pm_viewmessage_contact_fields_after]] || ucp_pm_viewmessage.html ||  || 3.1.0-b1 || Add data after the contact fields on the user profile when viewing a private message
 +
|- id="ucp_pm_viewmessage_contact_fields_before"
 +
| [[#ucp_pm_viewmessage_contact_fields_before|ucp_pm_viewmessage_contact_fields_before]] || ucp_pm_viewmessage.html ||  || 3.1.0-b1 || Add data before the contact fields on the user profile when viewing a private message
 
|- id="ucp_pm_viewmessage_custom_fields_after"
 
|- id="ucp_pm_viewmessage_custom_fields_after"
 
| [[#ucp_pm_viewmessage_custom_fields_after|ucp_pm_viewmessage_custom_fields_after]] || ucp_pm_viewmessage.html ||  || 3.1.0-a1 || Add data after the custom fields on the user profile when viewing a private message
 
| [[#ucp_pm_viewmessage_custom_fields_after|ucp_pm_viewmessage_custom_fields_after]] || ucp_pm_viewmessage.html ||  || 3.1.0-a1 || Add data after the custom fields on the user profile when viewing a private message
Line 283: Line 321:
 
| [[#ucp_prefs_view_select_menu_append|ucp_prefs_view_select_menu_append]] || ucp_prefs_view.html || ucp_prefs_view.html || 3.1.0-a1 || Add options to the bottom of the drop-down lists block of the Edit  Display Options screen
 
| [[#ucp_prefs_view_select_menu_append|ucp_prefs_view_select_menu_append]] || ucp_prefs_view.html || ucp_prefs_view.html || 3.1.0-a1 || Add options to the bottom of the drop-down lists block of the Edit  Display Options screen
 
|- id="ucp_friend_list_before"
 
|- id="ucp_friend_list_before"
| [[#ucp_friend_list_before|ucp_friend_list_before]] || || 3.1.0-a4 || Add optional elements before list of friends in UCP
+
| [[#ucp_friend_list_before|ucp_friend_list_before]] || ucp_zebra_friends.html || ucp_zebra_friends.html || 3.1.0-a4 || Add optional elements before list of friends in UCP
 
|- id="ucp_friend_list_after"
 
|- id="ucp_friend_list_after"
| [[#ucp_friend_list_after|ucp_friend_list_after]] || || 3.1.0-a4 || Add optional elements after list of friends in UCP
+
| [[#ucp_friend_list_after|ucp_friend_list_after]] || ucp_zebra_friends.html || ucp_zebra_friends.html || 3.1.0-a4 || Add optional elements after list of friends in UCP
 
|- id="viewtopic_print_head_append"
 
|- id="viewtopic_print_head_append"
 
| [[#viewtopic_print_head_append|viewtopic_print_head_append]] || viewtopic_print.html || viewtopic_print.html || 3.1.0-a1 || Add asset calls directly before the `</head>` tag of the Print Topic screen
 
| [[#viewtopic_print_head_append|viewtopic_print_head_append]] || viewtopic_print.html || viewtopic_print.html || 3.1.0-a1 || Add asset calls directly before the `</head>` tag of the Print Topic screen
Line 313: Line 351:
 
| [[#viewtopic_topic_tools_after|viewtopic_topic_tools_after]] || viewtopic_topic_tools.html ||  || 3.1.0-a3 || Add a new topic tool after the rest of the existing ones
 
| [[#viewtopic_topic_tools_after|viewtopic_topic_tools_after]] || viewtopic_topic_tools.html ||  || 3.1.0-a3 || Add a new topic tool after the rest of the existing ones
 
|- id="viewtopic_topic_tools_before"
 
|- id="viewtopic_topic_tools_before"
| [[#viewtopic_topic_tools_before|viewtopic_topic_tools_before]] || viewtopic_topic_tools.html ||  || 3.1.0-a3 || Add a new topic tool before the rest of the existing ones
+
| [[#viewtopic_topic_tools_before|viewtopic_topic_tools_before]] || viewtopic_topic_tools.html ||  || 3.1.0-a3 || Add a new topic tool before the rest of the existing ones  
 
|}
 
|}
  
= ACP Template Events =
+
= Template Events =
 
{| class="zebra sortable" cellspacing="0" cellpadding="5"
 
{| class="zebra sortable" cellspacing="0" cellpadding="5"
! Identifier !! Placement !! Added in Release !! Explanation
+
! Identifier !! Prosilver Placement (If applicable) !! Subsilver Placement (If applicable) !! Added in Release !! Explanation
 
|- id="acp_bbcodes_actions_append"
 
|- id="acp_bbcodes_actions_append"
 
| [[#acp_bbcodes_actions_append|acp_bbcodes_actions_append]] || acp_bbcodes.html || 3.1.0-a3 || Add actions to the BBCodes page, after edit/delete buttons
 
| [[#acp_bbcodes_actions_append|acp_bbcodes_actions_append]] || acp_bbcodes.html || 3.1.0-a3 || Add actions to the BBCodes page, after edit/delete buttons
Line 342: Line 380:
 
| [[#acp_simple_header_body_before|acp_simple_header_body_before]] || simple_header.html || 3.1.0-b2 || Add content to the header body
 
| [[#acp_simple_header_body_before|acp_simple_header_body_before]] || simple_header.html || 3.1.0-b2 || Add content to the header body
 
|- id="acp_simple_header_head_append"
 
|- id="acp_simple_header_head_append"
| [[#acp_simple_header_head_append|acp_simple_header_head_append]] || overall_header.html || 3.1.0-a1 || Add assets within the `<head>` tags in the simple header of the ACP
+
| [[#acp_simple_header_head_append|acp_simple_header_head_append]] || simple_header.html || 3.1.0-a1 || Add assets within the `<head>` tags in the simple header of the ACP
 
|- id="acp_users_overview_options_append"
 
|- id="acp_users_overview_options_append"
| [[#acp_users_overview_options_append|acp_users_overview_options_append]] || acp_users.html || 3.1.0-a1 || Add options and settings on user overview page
+
| [[#acp_users_overview_options_append|acp_users_overview_options_append]] || acp_users_overview.html || 3.1.0-a1 || Add options and settings on user overview page
 
|- id="acp_users_signature_editor_buttons_after"
 
|- id="acp_users_signature_editor_buttons_after"
 
| [[#acp_users_signature_editor_buttons_after|acp_users_signature_editor_buttons_after]] || acp_users_signature.html || 3.1.0-a3 || Add content after BBCode posting buttons in the ACP user signature
 
| [[#acp_users_signature_editor_buttons_after|acp_users_signature_editor_buttons_after]] || acp_users_signature.html || 3.1.0-a3 || Add content after BBCode posting buttons in the ACP user signature

Revision as of 10:36, 25 April 2014

PHP Events (Hook Locations)

Identifier Placement Arguments Added in Release Explanation
core.acp_bbcodes_display_bbcodes includes/acp/acp_bbcodes.php bbcodes_array, row, u_action 3.1.0-a3 Modify display of custom bbcodes in the form
core.acp_bbcodes_display_form includes/acp/acp_bbcodes.php action, sql_ary, template_data, u_action 3.1.0-a3 Modify custom bbcode template data before we display the form
core.acp_bbcodes_edit_add includes/acp/acp_bbcodes.php action, bbcode_id, bbcode_tokens, tpl_ary 3.1.0-a3 Modify custom bbcode template data before we display the add/edit form
core.acp_bbcodes_modify_create includes/acp/acp_bbcodes.php action, bbcode_helpline, bbcode_id, bbcode_match, bbcode_tpl, display_on_posting, hidden_fields, sql_ary 3.1.0-a3 Modify custom bbcode data before the modify/create action
core.acp_board_config_edit_add includes/acp/acp_board.php display_vars, mode, submit 3.1.0-a4 Event to add and/or modify acp_board configurations
core.acp_manage_forums_display_form includes/acp/acp_forums.php action, errors, forum_data, forum_id, parents_list, row, template_data, update 3.1.0-a1 Modify forum template data before we display the form
core.acp_manage_forums_initialise_data includes/acp/acp_forums.php action, forum_data, forum_id, parents_list, row, update 3.1.0-a1 Initialise data before we display the add/edit form
core.acp_manage_forums_move_children includes/acp/acp_forums.php errors, from_id, to_id 3.1.0-a1 Event when we move all children of one forum to another
core.acp_manage_forums_move_content includes/acp/acp_forums.php errors, from_id, sync, to_id 3.1.0-a1 Event when we move content from one forum to another
core.acp_manage_forums_request_data includes/acp/acp_forums.php action, forum_data 3.1.0-a1 Request forum data and operate on it (parse texts, etc.)
core.acp_manage_forums_update_data_after includes/acp/acp_forums.php errors, forum_data, forum_data_sql, is_new_forum 3.1.0-a1 Event after a forum was updated or created
core.acp_manage_forums_update_data_before includes/acp/acp_forums.php forum_data, forum_data_sql 3.1.0-a1 Remove invalid values from forum_data_sql that should not be updated
core.acp_manage_forums_validate_data includes/acp/acp_forums.php errors, forum_data 3.1.0-a1 Validate the forum data before we create/update the forum
core.acp_users_display_overview includes/acp/acp_users.php quick_tool_ary, user_row 3.1.0-a1 Add additional quick tool options and overwrite user data
core.acp_users_overview_modify_data includes/acp/acp_users.php data, sql_ary, user_row 3.1.0-a1 Modify user data before we update it
core.acp_users_overview_run_quicktool includes/acp/acp_users.php action, user_row 3.1.0-a1 Run custom quicktool code
core.add_log phpbb/log/log.php additional_data, log_ip, log_operation, log_time, mode, sql_ary, user_id 3.1.0-a1 Allows to modify log data before we add it to the database
core.adm_page_header includes/functions_acp.php adm_page_header_override, page_title 3.1.0-a1 Execute code and/or overwrite adm_page_header()
core.append_sid includes/functions.php append_sid_overwrite, is_amp, params, session_id, url 3.1.0-a1 This event can either supplement or override the append_sid() function
core.build_config_template includes/functions_acp.php key, name, new, tpl, tpl_type, vars 3.1.0-a1 Overwrite the html code we display for the config value
core.common common.php 3.1.0-a1 Main event which is triggered on every page
core.delete_group_after includes/functions_user.php group_id, group_name 3.1.0-a1 Event after a group is deleted
core.delete_posts_after includes/functions_admin.php delete_notifications_types, forum_ids, post_ids, poster_ids, topic_ids, where_ids, where_type 3.1.0-a4 Perform additional actions after post(s) deletion
core.delete_posts_before includes/functions_admin.php auto_sync, call_delete_topics, delete_notifications_types, post_count_sync, posted_sync, where_ids, where_type 3.1.0-a4 Perform additional actions before post(s) deletion
core.delete_posts_in_transaction includes/functions_admin.php delete_notifications_types, forum_ids, post_ids, poster_ids, topic_ids, where_ids, where_type 3.1.0-a4 Perform additional actions during post(s) deletion
core.delete_user_after includes/functions_user.php mode, retain_username, user_ids 3.1.0-a1 Event after a user is deleted
core.delete_user_before includes/functions_user.php mode, retain_username, user_ids 3.1.0-a1 Event before a user is deleted
core.display_custom_bbcodes includes/functions_display.php 3.1.0-a1 Display custom bbcodes
core.display_custom_bbcodes_modify_row includes/functions_display.php custom_tags, row 3.1.0-a1 Event to modify the template data block of a custom bbcode
core.display_custom_bbcodes_modify_sql includes/functions_display.php num_predefined_bbcodes, sql_ary 3.1.0-a3 Event to modify the SQL query before custom bbcode data is queried
core.display_forums_modify_forum_rows includes/functions_display.php branch_root_id, forum_rows, parent_id, row, subforums 3.1.0-a1 Event to modify the forum rows data set
core.display_forums_modify_row includes/functions_display.php branch_root_id, row 3.1.0-a1 Event to modify the data set of a forum
core.display_forums_modify_sql includes/functions_display.php sql_ary 3.1.0-a1 Event to modify the SQL query before the forum data is queried
core.display_forums_modify_template_vars includes/functions_display.php forum_row, row 3.1.0-a1 Modify the template data block of the forum
core.garbage_collection includes/functions.php 3.1.0-a1 Unload some objects, to free some memory, before we finish our task
core.generate_smilies_after includes/functions_posting.php display_link, forum_id, mode 3.1.0-a1 This event is called after the smilies are populated
core.get_logs_get_additional_data phpbb/log/log.php log, reportee_id_list, topic_id_list 3.1.0-a1 Get some additional data after we got all log entries
core.get_logs_modify_entry_data phpbb/log/log.php log_entry_data, row 3.1.0-a1 Modify the entry's data before it is returned
core.get_logs_modify_type phpbb/log/log.php count_logs, forum_id, keywords, limit, log_time, log_type, mode, offset, profile_url, sort_by, sql_additional, topic_id, user_id 3.1.0-a1 Overwrite log type and limitations before we count and get the logs
core.group_delete_user_before includes/functions_user.php group_id, group_name, user_id_ary, username_ary 3.1.0-a1 Event before users are removed from a group
core.index_modify_page_title index.php page_title 3.1.0-a1 You can use this event to modify the page title and load data for the index
core.mcp_view_forum_modify_topicrow includes/mcp/mcp_forum.php row, topic_row 3.1.0-a1 Modify the topic data before it is assigned to the template in MCP
core.memberlist_prepare_profile_data memberlist.php data, template_data 3.1.0-a1 Preparing a user's data before displaying it in profile and memberlist
core.memberlist_view_profile memberlist.php foe, foes_enabled, friend, friends_enabled, member, user_notes_enabled, warn_user_enabled, zebra_enabled 3.1.0-a1 Modify user data before we display the profile
core.modify_bbcode_init includes/message_parser.php bbcodes, rowset 3.1.0-a3 Event to modify the bbcode data for later parsing
core.modify_format_display_text_after includes/message_parser.php allow_bbcode, allow_magic_url, allow_smilies, text, uid, update_this_message 3.1.0-a3 Event to modify the text after it is parsed
core.modify_mcp_modules_display_option mcp.php forum_id, id, mode, module, post_id, topic_id, user_id, username 3.1.0-b2 This event allows you to set display option for custom MCP modules
core.modify_module_row includes/functions_module.php custom_func, lang_func, module_row, row, url_func 3.1.0-b3 This event allows to modify parameters for building modules list
core.modify_posting_parameters posting.php cancel, delete, draft_id, error, forum_id, lastclick, load, mode, post_id, preview, refresh, save, submit, topic_id 3.1.0-a1 This event allows you to alter the above parameters, such as submit and mode
core.modify_quickmod_actions includes/mcp/mcp_main.php 3.1.0-a4 This event allows you to handle custom quickmod options
core.modify_quickmod_options mcp.php action, is_valid_action, module 3.1.0-a4 This event allows you to add custom quickmod options
core.modify_submit_post_data includes/functions_posting.php data, mode, poll, subject, topic_type, update_message, update_search_index, username 3.1.0-a4 Modify the data for post submitting
core.modify_text_for_display_after includes/functions_content.php bitfield, flags, text, uid 3.1.0-a1 Use this event to modify the text after it is parsed
core.modify_text_for_display_before includes/functions_content.php bitfield, censor_text, flags, text, uid 3.1.0-a1 Use this event to modify the text before it is parsed
core.modify_text_for_edit_after includes/functions_content.php flags, text 3.1.0-a1 Use this event to modify the text after it is decoded for editing
core.modify_text_for_edit_before includes/functions_content.php flags, text, uid 3.1.0-a1 Use this event to modify the text before it is decoded for editing
core.modify_text_for_storage_after includes/functions_content.php bitfield, flags, text, uid 3.1.0-a1 Use this event to modify the text after it is prepared for storage
core.modify_text_for_storage_before includes/functions_content.php allow_bbcode, allow_smilies, allow_urls, bitfield, flags, text, uid 3.1.0-a1 Use this event to modify the text before it is prepared for storage
core.modify_username_string includes/functions_content.php _profile_cache, custom_profile_url, guest_username, mode, user_id, username, username_colour, username_string 3.1.0-a1 Use this event to change the output of get_username_string()
core.module_auth includes/functions_module.php forum_id, module_auth, valid_tokens 3.1.0-a3 Alter tokens for module authorisation check
core.page_header includes/functions.php display_online_list, item, item_id, page_header_override, page_title 3.1.0-a1 Execute code and/or overwrite page_header()
core.page_header_after includes/functions.php display_online_list, item, item_id, page_title 3.1.0-b3 Execute code and/or overwrite _common_ template variables after they have been assigned.
core.permissions phpbb/permissions.php categories, permissions, types 3.1.0-a1 Allows to specify additional permission categories, types and permissions
core.posting_modify_template_vars posting.php form_enctype, mode, moderators, page_title, post_data, s_action, s_hidden_fields, s_topic_icons 3.1.0-a1 This event allows you to modify template variables for the posting screen
core.search_get_topic_data search.php sql_from, sql_select, sql_where 3.1.0-a1 Event to modify the SQL query before the topic data is retrieved
core.search_modify_tpl_ary search.php row, tpl_ary 3.1.0-a1 Modify the topic data before it is assigned to the template
core.submit_pm_before includes/functions_privmsgs.php data, mode, subject 3.1.0-b3 Get all parts of the PM that are to be submited to the DB.
core.submit_post_end includes/functions_posting.php data, url 3.1.0-a3 This event is used for performing actions directly after a post or topic
core.ucp_add_zebra includes/ucp/ucp_zebra.php mode, sql_ary 3.1.0-a1 Add users to friends/foes
core.ucp_display_module_before ucp.php id, mode, module 3.1.0-a1 Use this event to enable and disable additional UCP modules
core.ucp_pm_view_messsage includes/ucp/ucp_pm_viewmessage.php cp_row, folder, folder_id, id, message_row, mode, msg_data, msg_id 3.1.0-a1 Modify pm and sender data before it is assigned to the template
core.ucp_prefs_personal_data includes/ucp/ucp_prefs.php data, submit 3.1.0-a1 Add UCP edit global settings data before they are assigned to the template or submitted
core.ucp_prefs_personal_update_data includes/ucp/ucp_prefs.php data, sql_ary 3.1.0-a1 Update UCP edit global settings data on form submit
core.ucp_prefs_post_data includes/ucp/ucp_prefs.php data, submit 3.1.0-a1 Add UCP edit posting defaults data before they are assigned to the template or submitted
core.ucp_prefs_post_update_data includes/ucp/ucp_prefs.php data, sql_ary 3.1.0-a1 Update UCP edit posting defaults data on form submit
core.ucp_prefs_view_data includes/ucp/ucp_prefs.php data, submit 3.1.0-a1 Add UCP edit display options data before they are assigned to the template or submitted
core.ucp_prefs_view_update_data includes/ucp/ucp_prefs.php data, sql_ary 3.1.0-a1 Update UCP edit display options data on form submit
core.ucp_remove_zebra includes/ucp/ucp_zebra.php mode, user_ids 3.1.0-a1 Remove users from friends/foes
core.update_username includes/functions_user.php new_name, old_name 3.1.0-a1 Update a username when it is changed
core.user_add_modify_data includes/functions_user.php sql_ary 3.1.0-a1 Use this event to modify the values to be inserted when a user is added
core.user_set_default_group includes/functions_user.php group_attributes, group_id, sql_ary, update_listing, user_id_ary 3.1.0-a1 Event when the default group is set for an array of users
core.user_setup phpbb/user.php lang_set, lang_set_ext, style_id, user_data, user_date_format, user_lang_name, user_timezone 3.1.0-a1 Event to load language files and modify user data on every page
core.validate_config_variable includes/functions_acp.php cfg_array, config_definition, config_name, error 3.1.0-a1 Validate a config value
core.viewforum_get_shadowtopic_data viewforum.php sql_array 3.1.0-a1 Event to modify the SQL query before the shadowtopic data is retrieved
core.viewforum_get_topic_data viewforum.php sql_array 3.1.0-a1 Event to modify the SQL query before the topic data is retrieved
core.viewforum_modify_topicrow viewforum.php row, topic_row 3.1.0-a1 Modify the topic data before it is assigned to the template
core.viewforum_modify_topics_data viewforum.php rowset, topic_list, total_topic_count 3.1.0-b3 Modify topics data before we display the viewforum page
core.viewonline_modify_sql viewonline.php forum_data, guest_counter, show_guests, sql_ary 3.1.0-a1 Modify the SQL query for getting the user data to display viewonline list
core.viewonline_overwrite_location viewonline.php forum_data, location, location_url, on_page, row 3.1.0-a1 Overwrite the location's name and URL, which are displayed in the list
core.viewtopic_cache_guest_data viewtopic.php poster_id, row, user_cache_data 3.1.0-a1 Modify the guest user's data displayed with the posts
core.viewtopic_cache_user_data viewtopic.php poster_id, row, user_cache_data 3.1.0-a1 Modify the users' data displayed with their posts
core.viewtopic_get_post_data viewtopic.php forum_id, post_list, sort_days, sort_dir, sort_key, sql_ary, start, topic_data, topic_id 3.1.0-a1 Event to modify the SQL query before the post and poster data is retrieved
core.viewtopic_modify_page_title viewtopic.php forum_id, page_title, start, topic_data 3.1.0-a1 You can use this event to modify the page title of the viewtopic page
core.viewtopic_modify_post_row viewtopic.php attachments, cp_row, current_row_number, end, post_row, row, start, topic_data, total_posts, user_poster_data 3.1.0-a1 Modify the posts template block
core.viewtopic_post_row_after viewtopic.php attachments, cp_row, current_row_number, end, post_row, row, start, topic_data, total_posts, user_poster_data 3.1.0-a3 Event after the post data has been assigned to the template
core.viewtopic_post_rowset_data viewtopic.php row, rowset_data 3.1.0-a1 Modify the post rowset containing data to be displayed with posts

Template Events

Identifier Prosilver Placement (If applicable) Subsilver Placement (If applicable) Added in Release Explanation
forumlist_body_category_header_after forumlist_body.html forumlist_body.html 3.1.0-a4 Add content after the header of the category on the forum list.
forumlist_body_category_header_before forumlist_body.html forumlist_body.html 3.1.0-a4 Add content before the header of the category on the forum list.
forumlist_body_last_post_title_prepend forumlist_body.html forumlist_body.html 3.1.0-a1 Add content before the post title of the latest post in a forum on the forum list.
forumlist_body_subforums_after forumlist_body.html forumlist_body.html 3.1.0-a4 Add content after the list of subforums (if any) for each forum on the forum list.
forumlist_body_subforums_before forumlist_body.html forumlist_body.html 3.1.0-a4 Add content before the list of subforums (if any) for each forum on the forum list.
forumlist_body_last_row_after forumlist_body.html forumlist_body.html 3.1.0-b2 Add content after the very last row of the forum list.
index_body_stat_blocks_after index_body.html index_body.html 3.1.0-b3 Add new statistic blocks below the Who Is Online and Board Statistics blocks
index_body_stat_blocks_before index_body.html index_body.html 3.1.0-a1 Add new statistic blocks above the Who Is Online and Board Statistics blocks
memberlist_body_username_append memberlist_body.html memberlist_body.html 3.1.0-a1 Add information after every username in the memberlist. Works in all display modes (leader, group and normal memberlist).
memberlist_body_username_prepend memberlist_body.html memberlist_body.html 3.1.0-a1 Add information before every username in the memberlist. Works in all display modes (leader, group and normal memberlist).
memberlist_view_contact_after memberlist_view.html memberlist_view.html 3.1.0-b2 Add content after the user contact part of any user profile
memberlist_view_contact_before memberlist_view.html memberlist_view.html 3.1.0-b2 Add content before the user contact part of any user profile
memberlist_view_content_append memberlist_view.html memberlist_view.html 3.1.0-b2 Add custom content to the user profile view after the main content
memberlist_view_user_statistics_after memberlist_view.html memberlist_view.html 3.1.0-a1 Add entries after the user statistics part of any user profile
memberlist_view_user_statistics_before memberlist_view.html memberlist_view.html 3.1.0-a1 Add entries before the user statistics part of any user profile
overall_header_body_before overall_header.html overall_header.html 3.1.0-b2 Add content to the header body
overall_header_breadcrumb_append navbar_header.html breadcrumbs.html 3.1.0-a1 Add links to the list of breadcrumbs in the header
overall_header_content_before overall_header.html overall_header.html 3.1.0-a3 Add content on all pages before the main content, after the header
overall_header_head_append overall_header.html overall_header.html 3.1.0-a1 Add asset calls directly before the `</head>` tag
overall_header_navigation_append navbar_header.html overall_header.html 3.1.0-a1 Add links after the navigation links in the header
overall_header_navigation_prepend navbar_header.html overall_header.html 3.1.0-a1 Add links before the navigation links in the header
overall_header_page_body_before overall_header.html overall_header.html 3.1.0-b3 Add content after the page-header, but before the page-body
posting_editor_buttons_after posting_buttons.html posting_buttons.html 3.1.0-a3 Add content after the BBCode posting buttons
posting_editor_buttons_before posting_buttons.html posting_buttons.html 3.1.0-a3 Add content before the BBCode posting buttons
posting_editor_message_after posting_editor.html posting_body.html 3.1.0-a2 Add field (e.g. textbox) to the posting screen after the message
posting_editor_message_before posting_editor.html posting_body.html 3.1.0-a2 Add field (e.g. textbox) to the posting screen before the message
posting_editor_options_prepend posting_editor.html posting_body.html 3.1.0-a1 Add posting options on the posting screen
posting_editor_subject_after posting_editor.html posting_body.html 3.1.0-a2 Add field (e.g. textbox) to the posting screen after the subject
posting_editor_subject_before posting_editor.html posting_body.html 3.1.0-a2 Add field (e.g. textbox) to the posting screen before the subject
quickreply_editor_panel_after quickreply_editor.html quickreply_editor.html 3.1.0-b2 Add content after the quick reply panel (but inside the form)
quickreply_editor_panel_before quickreply_editor.html quickreply_editor.html 3.1.0-b2 Add content before the quick reply panel (but inside the form)
quickreply_editor_message_after quickreply_editor.html quickreply_editor.html 3.1.0-a4 Add content after the quick reply textbox
quickreply_editor_message_before quickreply_editor.html quickreply_editor.html 3.1.0-a4 Add content before the quick reply textbox
simple_header_body_before simple_header.html simple_header.html 3.1.0-b2 Add content to the header body
topiclist_row_prepend search_results.html, viewforum_body.html search_results.html, viewforum_body.html 3.1.0-a1 Add content into topic rows (inside the elements containing topic titles)
topiclist_row_append search_results.html, viewforum_body.html search_results.html, viewforum_body.html 3.1.0-a1 Add content into topic rows (inside the elements containing topic titles)
ucp_pm_viewmessage_contact_fields_after ucp_pm_viewmessage.html 3.1.0-b1 Add data after the contact fields on the user profile when viewing a private message
ucp_pm_viewmessage_contact_fields_before ucp_pm_viewmessage.html 3.1.0-b1 Add data before the contact fields on the user profile when viewing a private message
ucp_pm_viewmessage_custom_fields_after ucp_pm_viewmessage.html 3.1.0-a1 Add data after the custom fields on the user profile when viewing a private message
ucp_pm_viewmessage_custom_fields_before ucp_pm_viewmessage.html 3.1.0-a1 Add data before the custom fields on the user profile when viewing a private message
ucp_pm_viewmessage_print_head_append ucp_pm_viewmessage_print.html ucp_pm_viewmessage_print.html 3.1.0-a1 Add asset calls directly before the `</head>` tag of the Print PM screen
ucp_prefs_personal_prepend ucp_prefs_personal.html ucp_prefs_personal.html 3.1.0-a1 Add user options to the top of the Edit Global Settings block
ucp_prefs_personal_append ucp_prefs_personal.html ucp_prefs_personal.html 3.1.0-a1 Add user options to the bottom of the Edit Global Settings block
ucp_prefs_post_prepend ucp_prefs_post.html ucp_prefs_post.html 3.1.0-a1 Add user options to the top of the Edit Posting Defaults block
ucp_prefs_post_append ucp_prefs_post.html ucp_prefs_post.html 3.1.0-a1 Add user options to the bottom of the Edit Posting Defaults block
ucp_prefs_view_radio_buttons_prepend ucp_prefs_view.html ucp_prefs_view.html 3.1.0-a1 Add options to the top of the radio buttons block of the Edit Display Options screen
ucp_prefs_view_radio_buttons_append ucp_prefs_view.html ucp_prefs_view.html 3.1.0-a1 Add options to the bottom of the radio buttons block of the Edit Display Options screen
ucp_prefs_view_select_menu_prepend ucp_prefs_view.html ucp_prefs_view.html 3.1.0-a1 Add options to the top of the drop-down lists block of the Edit Display Options screen
ucp_prefs_view_select_menu_append ucp_prefs_view.html ucp_prefs_view.html 3.1.0-a1 Add options to the bottom of the drop-down lists block of the Edit Display Options screen
ucp_friend_list_before ucp_zebra_friends.html ucp_zebra_friends.html 3.1.0-a4 Add optional elements before list of friends in UCP
ucp_friend_list_after ucp_zebra_friends.html ucp_zebra_friends.html 3.1.0-a4 Add optional elements after list of friends in UCP
viewtopic_print_head_append viewtopic_print.html viewtopic_print.html 3.1.0-a1 Add asset calls directly before the `</head>` tag of the Print Topic screen
viewtopic_body_post_buttons_after viewtopic_body.html viewtopic_body.html 3.1.0-a1 Add post button to posts (next to edit, quote etc), at the end of the list.
viewtopic_body_post_buttons_before viewtopic_body.html viewtopic_body.html 3.1.0-a1 Add post button to posts (next to edit, quote etc), at the start of the list.
viewtopic_body_postrow_custom_fields_after viewtopic_body.html viewtopic_body.html 3.1.0-a1 Add data after the custom fields on the user profile when viewing a post
viewtopic_body_postrow_custom_fields_before viewtopic_body.html viewtopic_body.html 3.1.0-a1 Add data before the custom fields on the user profile when viewing a post
viewtopic_body_postrow_post_after viewtopic_body.html viewtopic_body.html 3.1.0-a4 Add data after posts
viewtopic_body_postrow_post_before viewtopic_body.html viewtopic_body.html 3.1.0-a4 Add data before posts
viewtopic_body_postrow_post_notices_after viewtopic_body.html viewtopic_body.html 3.1.0-b2 Add posts specific custom notices at the notices bottom.
viewtopic_body_postrow_post_notices_before viewtopic_body.html viewtopic_body.html 3.1.0-b2 Add posts specific custom notices at the notices top.
viewtopic_body_topic_actions_before viewtopic_body.html viewtopic_body.html 3.1.0-a4 Add data before the topic actions buttons (after the posts sorting options)
viewtopic_topic_title_prepend viewtopic_body.html viewtopic_body.html 3.1.0-a1 Add content directly before the topic title link on the View topic screen
viewtopic_topic_tools_after viewtopic_topic_tools.html 3.1.0-a3 Add a new topic tool after the rest of the existing ones
viewtopic_topic_tools_before viewtopic_topic_tools.html 3.1.0-a3 Add a new topic tool before the rest of the existing ones

Template Events

Identifier Prosilver Placement (If applicable) Subsilver Placement (If applicable) Added in Release Explanation
acp_bbcodes_actions_append acp_bbcodes.html 3.1.0-a3 Add actions to the BBCodes page, after edit/delete buttons
acp_bbcodes_actions_prepend acp_bbcodes.html 3.1.0-a3 Add actions to the BBCodes page, before edit/delete buttons
acp_bbcodes_edit_fieldsets_after acp_bbcodes.html 3.1.0-a3 Add settings to BBCode add/edit form
acp_forums_normal_settings_append acp_forums.html 3.1.0-a1 Add settings to forums
acp_main_actions_append acp_main.html 3.1.0-a1 Add actions to the ACP main page below the cache purge action
acp_main_notice_after acp_main.html 3.1.0-a1 Add notices or other blocks in the ACP below other configuration notices
acp_overall_header_body_before overall_header.html 3.1.0-b2 Add content to the header body
acp_overall_header_head_append overall_header.html 3.1.0-a1 Add assets within the `<head>` tags in the ACP
acp_simple_header_body_before simple_header.html 3.1.0-b2 Add content to the header body
acp_simple_header_head_append simple_header.html 3.1.0-a1 Add assets within the `<head>` tags in the simple header of the ACP
acp_users_overview_options_append acp_users_overview.html 3.1.0-a1 Add options and settings on user overview page
acp_users_signature_editor_buttons_after acp_users_signature.html 3.1.0-a3 Add content after BBCode posting buttons in the ACP user signature
acp_users_signature_editor_buttons_before acp_users_signature.html 3.1.0-a3 Add content before BBCode posting buttons in the ACP user signature