Skip to main content
Topic: Temporary hooks listing/documentation (Read 6801 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Temporary hooks listing/documentation

Proper documentation of hooks is still not yet in place, so for the moment I'll post here a quick and dirty grep of the code, it will at least be a reference to know there is "something", if you have any question, feel free to ask, it will be an opportunity to write down some lines and that will become part of the documentation! ;D
Bugs creator.
Features destroyer.
Template killer.

Re: Temporary hooks listing/documentation

Reply #1
index.php:call_integration_hook('integrate_pre_log_stats', array(&$no_stat_actions));
sources/Session.php:call_integration_hook('integrate_session_handlers');
sources/Load.php:call_integration_hook('integrate_load_average', array($modSettings['load_average']));
sources/Load.php:call_integration_hook('integrate_pre_load');
sources/Load.php:if (count($integration_ids = call_integration_hook('integrate_verify_user')) > 0)
sources/Load.php:call_integration_hook('integrate_user_info');
sources/Load.php:call_integration_hook('integrate_load_board_query', array(&$select_columns, &$select_tables));
sources/Load.php:call_integration_hook('integrate_loaded_board', array(&$board_info, &$row));
sources/Load.php:call_integration_hook('integrate_load_member_data', array(&$select_columns, &$select_tables, $set));
sources/Load.php:call_integration_hook('integrate_add_member_data', array($new_loaded_ids, $set));
sources/Load.php:call_integration_hook('integrate_member_context', array($user, $display_custom_fields));
sources/Load.php:call_integration_hook('integrate_simple_actions', array(&$simpleActions));
sources/Load.php:call_integration_hook('integrate_init_theme', array($id_theme, &$settings));
sources/Load.php:call_integration_hook('integrate_load_theme');
sources/SiteDispatcher.class.php:call_integration_hook('integrate_action_frontpage', array(&$default_action));
sources/SiteDispatcher.class.php:call_integration_hook('integrate_actions', array(&$actionArray, &$adminActions));
sources/SiteDispatcher.class.php:call_integration_hook('integrate_action_' . $hook . '_before', array($this->_function_name));
sources/SiteDispatcher.class.php:call_integration_hook('integrate_action_boardindex_before');
sources/SiteDispatcher.class.php:call_integration_hook('integrate_action_boardindex_after');
sources/SiteDispatcher.class.php:call_integration_hook('integrate_action_' . $hook . '_after', array($this->_function_name));
sources/controllers/Stats.controller.php:call_integration_hook('integrate_forum_stats');
sources/controllers/ProfileInfo.controller.php:call_integration_hook('integrate_profile_summary', array($memID));
sources/controllers/ProfileInfo.controller.php:call_integration_hook('integrate_profile_stats', array($memID));
sources/controllers/Display.controller.php:call_integration_hook('integrate_topic_query', array(&$topic_selects, &$topic_tables, &$topic_parameters));
sources/controllers/Display.controller.php:call_integration_hook('integrate_display_topic', array($topicinfo));
sources/controllers/Display.controller.php:call_integration_hook('integrate_poll_buttons');
sources/controllers/Display.controller.php:call_integration_hook('integrate_display_message_list', array(&$messages, &$posters));
sources/controllers/Display.controller.php:call_integration_hook('integrate_message_query', array(&$msg_selects, &$msg_tables, &$msg_parameters));
sources/controllers/Display.controller.php:call_integration_hook('integrate_display_buttons');
sources/controllers/Display.controller.php:call_integration_hook('integrate_mod_buttons');
sources/controllers/Display.controller.php:call_integration_hook('integrate_prepare_display_context', array(&$output, &$message));
sources/controllers/Register.controller.php:call_integration_hook('integrate_activate', array($regOptions['username']));
sources/controllers/Register.controller.php:call_integration_hook('integrate_activate', array($row['member_name']));
sources/controllers/Reminder.controller.php:call_integration_hook('integrate_reset_pass', array($member['member_name'], $member['member_name'], $_POST['passwrd1']));
sources/controllers/Reminder.controller.php:call_integration_hook('integrate_reset_pass', array($member['member_name'], $member['member_name'], $_POST['passwrd1']));
sources/controllers/Emailpost.controller.php:call_integration_hook('integrate_mailist_checks_before', array($email_message, $pbe));
sources/controllers/Emailpost.controller.php:call_integration_hook('integrate_mailist_checks_before', array($email_message, $pbe));
sources/controllers/Poll.controller.php:call_integration_hook('integrate_poll_vote', array(&$row['id_poll'], &$pollOptions));
sources/controllers/Poll.controller.php:call_integration_hook('integrate_poll_add_edit', array($bcinfo['id_poll'], $isEdit));
sources/controllers/Poll.controller.php:call_integration_hook('integrate_poll_remove', array($pollID));
sources/controllers/ProfileAccount.controller.php:call_integration_hook('integrate_activate', array($user_profile[$memID]['member_name']));
sources/controllers/Mentions.controller.php:call_integration_hook('integrate_add_mention', array(&$this->_known_mentions));
sources/controllers/BoardIndex.controller.php:call_integration_hook('integrate_mark_read_button');
sources/controllers/Calendar.controller.php:call_integration_hook('integrate_calendar_buttons');
sources/controllers/Profile.controller.php:$good_password = in_array(true, call_integration_hook('integrate_verify_password', array($cur_profile['member_name'], $_POST['oldpasswrd'], false)), true);
sources/controllers/Profile.controller.php:call_integration_hook('integrate_profile_save', array(&$profile_vars, &$post_errors, $memID));
sources/controllers/Profile.controller.php:call_integration_hook('integrate_reset_pass', array($cur_profile['member_name'], $cur_profile['member_name'], $_POST['passwrd2']));
sources/controllers/Help.controller.php:call_integration_hook('integrate_quickhelp');
sources/controllers/Auth.controller.php:if (in_array('retry', call_integration_hook('integrate_validate_login', array($_POST['user'], isset($_POST['hash_passwrd']) && strlen($_POST['hash_passwrd']) == 40 ? $_POST['hash_passwrd'] : null, $modSettings['cookieTime'])), true))
sources/controllers/Auth.controller.php:call_integration_hook('integrate_logout', array($user_settings['member_name']));
sources/controllers/Auth.controller.php:call_integration_hook('integrate_validateSession', array(&$types));
sources/controllers/Auth.controller.php:call_integration_hook('integrate_other_passwords', array(&$other_passwords));
sources/controllers/Auth.controller.php:call_integration_hook('integrate_login', array($user_settings['member_name'], isset($_POST['hash_passwrd']) && strlen($_POST['hash_passwrd']) == 64 ? $_POST['hash_passwrd'] : null, $modSettings['cookieTime']));
sources/controllers/Search.controller.php:call_integration_hook('integrate_search');
sources/controllers/Search.controller.php:call_integration_hook('integrate_search_sort_columns', array(&$sort_columns));
sources/controllers/Search.controller.php:call_integration_hook('integrate_search_params', array(&$search_params));
sources/controllers/Search.controller.php:call_integration_hook('integrate_search_blacklisted_words', array(&$blacklisted_words));
sources/controllers/Search.controller.php:call_integration_hook('integrate_search_errors');
sources/controllers/Search.controller.php:call_integration_hook('integrate_subject_only_search_query', array(&$subject_query, &$subject_query_params));
sources/controllers/Search.controller.php:call_integration_hook('integrate_subject_search_query', array(&$subject_query));
sources/controllers/Search.controller.php:call_integration_hook('integrate_main_search_query', array(&$main_query));
sources/controllers/Search.controller.php:call_integration_hook('integrate_search_message_list', array(&$msg_list, &$posters));
sources/controllers/Search.controller.php:call_integration_hook('integrate_quick_mod_actions_search');
sources/controllers/Search.controller.php:call_integration_hook('integrate_search_message_context', array($counter, &$output));
sources/controllers/Search.controller.php:call_integration_hook('integrate_search_weights', array(&$this->_weight_factors));
sources/controllers/Members.controller.php:call_integration_hook('integrate_add_buddies', array($user_info['id'], &$user));
sources/controllers/Members.controller.php:call_integration_hook('integrate_remove_buddy', array($user_info['id']));
sources/controllers/MessageIndex.controller.php:call_integration_hook('integrate_messageindex_topics', array(&$sort_column, &$indexOptions));
sources/controllers/MessageIndex.controller.php:call_integration_hook('integrate_messageindex_listing', array($topics_info));
sources/controllers/MessageIndex.controller.php:call_integration_hook('integrate_quick_mod_actions');
sources/controllers/MessageIndex.controller.php:call_integration_hook('integrate_messageindex_buttons');
sources/controllers/Memberlist.controller.php:call_integration_hook('integrate_memberlist_buttons');
sources/controllers/Suggest.controller.php:call_integration_hook('integrate_autosuggest', array(&$searchTypes));
sources/controllers/ProfileOptions.controller.php:call_integration_hook('integrate_remove_buddy', array($memID));
sources/controllers/ProfileOptions.controller.php:call_integration_hook('integrate_add_buddies', array($memID, &$new_buddies));
sources/controllers/ProfileOptions.controller.php:call_integration_hook('integrate_view_buddies', array($memID));
sources/controllers/ProfileOptions.controller.php:call_integration_hook('integrate_reset_pass', array($cur_profile['member_name'], $cur_profile['member_name'], $_POST['passwrd1']));
sources/controllers/Recent.controller.php:call_integration_hook('integrate_recent_message_list', array($messages, &$permissions));
sources/controllers/Recent.controller.php:call_integration_hook('integrate_recent_buttons');
sources/controllers/Recent.controller.php:call_integration_hook('integrate_unread_list');
sources/controllers/PersonalMessage.controller.php:call_integration_hook('integrate_conversation_buttons');
sources/controllers/News.controller.php:call_integration_hook('integrate_xmlfeeds', array(&$subActions));
sources/controllers/News.controller.php:call_integration_hook('integrate_fix_url', array(&$val));
sources/Security.php:call_integration_hook('integrate_validateSession', array(&$types));
sources/Security.php:$good_password = in_array(true, call_integration_hook('integrate_verify_password', array($user_info['username'], $_POST[$type . '_hash_pass'], true)), true);
sources/Security.php:$good_password = in_array(true, call_integration_hook('integrate_verify_password', array($user_info['username'], $_POST[$type . '_pass'], false)), true);
sources/Security.php:call_integration_hook('integrate_post_ban_permissions', array(&$denied_permissions));
sources/Security.php:call_integration_hook('integrate_warn_permissions', array(&$permission_change));
sources/Security.php:call_integration_hook('integrate_spam_protection', array(&$timeOverrides));
sources/Subs.php:call_integration_hook('integrate_change_member_data', array($member_names, &$var, &$data[$var], &$knownInts, &$knownFloats));
sources/Subs.php:call_integration_hook('integrate_pre_parsebbc', array(&$message, &$smileys, &$cache_id, &$parse_tags));
sources/Subs.php:call_integration_hook('integrate_bbc_codes', array(&$codes, &$no_autolink_tags, &$itemcodes));
sources/Subs.php:call_integration_hook('integrate_post_parsebbc', array(&$message, &$smileys, &$cache_id, &$parse_tags));
sources/Subs.php:call_integration_hook('integrate_redirect', array(&$setLocation, &$refresh));
sources/Subs.php:call_integration_hook('integrate_exit', array($do_footer));
sources/Subs.php:call_integration_hook('pre_javascript_output');
sources/Subs.php:call_integration_hook('pre_css_output');
sources/Subs.php:call_integration_hook('integrate_menu_buttons', array(&$buttons, &$menu_count));
sources/Subs.php:call_integration_hook('integrate_current_action', array(&$current_action));
sources/Subs.php:call_integration_hook('integrate_basic_url_replacement', array(&$find, &$replace));
sources/ErrorContext.class.php:call_integration_hook('integrate_' . $this->_name . '_errors', array(&$this->_errors, &$this->_severity_levels));
sources/Logging.php:call_integration_hook('integrate_log_types', array(&$log_types));
sources/Errors.php:call_integration_hook('integrate_error_types', array(&$other_error_types));
sources/Errors.php:call_integration_hook('integrate_output_error', array($message, $error_type, $error_level, $file, $line));
Bugs creator.
Features destroyer.
Template killer.

Re: Temporary hooks listing/documentation

Reply #2
sources/subs/ManagePermissions.subs.php:call_integration_hook('integrate_load_permissions', array(&$permissionGroups, &$permissionList, &$leftPermissionGroups, &$hiddenPermissions, &$relabelPermissions));
sources/subs/Menu.subs.php:call_integration_hook('integrate_' . $menuOptions['hook'] . '_areas', array(&$menuData, &$menuOptions));
sources/subs/Profile.subs.php:call_integration_hook('integrate_' . $hook . '_profile_fields', array(&$fields));
sources/subs/Profile.subs.php:call_integration_hook('integrate_load_custom_profile_fields', array($memID, $area));
sources/subs/Profile.subs.php:call_integration_hook('integrate_load_profile_fields', array(&$profile_fields));
sources/subs/Profile.subs.php:call_integration_hook('integrate_save_custom_profile_fields', array(&$changes, &$log_changes, $memID, $area, $sanitize));
sources/subs/Permission.subs.php:call_integration_hook('integrate_load_illegal_permissions');
sources/subs/Permission.subs.php:call_integration_hook('integrate_load_illegal_guest_permissions');
sources/subs/MessageIndex.subs.php:call_integration_hook('integrate_messageindex_sort', array(&$sort_methods));
sources/subs/MessageIndex.subs.php:call_integration_hook('integrate_messageindex_icons', array(&$stable_icons));
sources/subs/GenericList.class.php:call_integration_hook('integrate_list_' . $listOptions['id'], array(&$listOptions));
sources/subs/Themes.subs.php:call_integration_hook('integrate_init_theme', array($id_theme, &$settings));
sources/subs/VerificationControls.class.php:call_integration_hook('integrate_control_verification', array(&$known_verifications));
sources/subs/Categories.subs.php:call_integration_hook('integrate_pre_modify_category', array($cat_id, &$catOptions));
sources/subs/Categories.subs.php:call_integration_hook('integrate_modify_category', array($cat_id, &$catUpdates, &$catParameters));
sources/subs/Categories.subs.php:call_integration_hook('integrate_create_category', array(&$catOptions, &$cat_columns, &$cat_parameters));
sources/subs/Categories.subs.php:call_integration_hook('integrate_delete_category', array($categories, &$moveBoardsTo));
sources/subs/Who.subs.php:call_integration_hook('integrate_whos_online_allowed', array(&$allowedActions));
sources/subs/Who.subs.php:if (count($integrate_actions = call_integration_hook('integrate_whos_online', array($actions))) > 0)
sources/subs/Who.subs.php:call_integration_hook('integrate_credits', array(&$credits));
sources/subs/ManageAttachments.subs.php:call_integration_hook('integrate_approve_attachments', array($attachments));
sources/subs/ManageAttachments.subs.php:call_integration_hook('integrate_remove_attachments', array($attach));
sources/subs/Attachments.subs.php:call_integration_hook('integrate_attachment_upload');
sources/subs/Bans.subs.php:call_integration_hook('integrate_load_additional_ip_ban', array(&$search_list));
sources/subs/Mail.subs.php:if (in_array(false, call_integration_hook('integrate_outgoing_email', array(&$subject, &$message, &$headers)), true))
sources/subs/Poll.subs.php:call_integration_hook('integrate_poll_add_edit', array($id_poll, false));
sources/subs/Poll.subs.php:call_integration_hook('integrate_poll_add_edit', array($id_poll, true));
sources/subs/Cache.subs.php:call_integration_hook('pre_cache_quick_get', array(&$key, &$file, &$function, &$params, &$level));
sources/subs/Cache.subs.php:call_integration_hook('post_cache_quick_get', array($cache_block));
sources/subs/Cache.subs.php:call_integration_hook('cache_put_data', array($key, $value, $ttl));
sources/subs/Cache.subs.php:call_integration_hook('cache_get_data', array($key, $ttl, $value));
sources/subs/Cache.subs.php:call_integration_hook('integrate_clean_cache');
sources/subs/Post.subs.php:call_integration_hook('integrate_preparse_code', array(&$parts[$i], $i, $previewing));
sources/subs/Post.subs.php:call_integration_hook('integrate_unpreparse_code', array(&$message, &$parts, &$i));
sources/subs/Post.subs.php:call_integration_hook('integrate_fixtags', array(&$fixArray, &$message));
sources/subs/Post.subs.php:call_integration_hook('integrate_before_create_post', array(&$msgOptions, &$topicOptions, &$posterOptions, &$message_columns, &$message_parameters));
sources/subs/Post.subs.php:call_integration_hook('integrate_create_post', array($msgOptions, $topicOptions, $posterOptions, $message_columns, $message_parameters));
sources/subs/Post.subs.php:call_integration_hook('integrate_before_create_topic', array(&$msgOptions, &$topicOptions, &$posterOptions, &$topic_columns, &$topic_parameters));
sources/subs/Post.subs.php:call_integration_hook('integrate_create_topic', array($msgOptions, $topicOptions, $posterOptions));
sources/subs/Post.subs.php:call_integration_hook('integrate_before_modify_topic', array(&$topics_columns, &$update_parameters, &$msgOptions, &$topicOptions, &$posterOptions));
sources/subs/Post.subs.php:call_integration_hook('integrate_before_modify_post', array(&$messages_columns, &$update_parameters, &$msgOptions, &$topicOptions, &$posterOptions, &$messageInts));
sources/subs/Emailpost.subs.php:call_integration_hook('integrate_mailist_pre_markdown', array(&$message));
sources/subs/Members.subs.php:call_integration_hook('integrate_delete_members', array($users));
sources/subs/Members.subs.php:call_integration_hook('integrate_register_check', array(&$regOptions, &$reg_errors));
sources/subs/Members.subs.php:call_integration_hook('integrate_register', array(&$regOptions, &$theme_vars, &$knownInts, &$knownFloats));
sources/subs/Members.subs.php:call_integration_hook('integrate_register_after', array($regOptions, $memberID));
sources/subs/Members.subs.php:call_integration_hook('integrate_reattribute_posts', array($memID, $email, $membername, $post_count));
sources/subs/Auth.subs.php:call_integration_hook('integrate_validateSession', array(&$types));
sources/subs/Auth.subs.php:call_integration_hook('integrate_reset_pass', array($old_user, $user, $newPassword));
sources/subs/Auth.subs.php:call_integration_hook('integrate_mod_cache');
sources/subs/Auth.subs.php:call_integration_hook('integrate_cookie', array($name, $value, $expire, $path, $domain, $secure, $httponly));
sources/subs/Notification.subs.php:call_integration_hook('integrate_notification_replacements', array(&$replacements, $row, $type, $current_language));
sources/subs/Boards.subs.php:call_integration_hook('integrate_modify_board', array($board_id, $boardOptions, &$boardUpdates, &$boardUpdateParameters));
sources/subs/Boards.subs.php:call_integration_hook('integrate_delete_board', array($boards_to_remove, &$moveChildrenTo));
sources/subs/Boards.subs.php:call_integration_hook('integrate_board_fields', array(&$knownInts));
sources/subs/Boards.subs.php:call_integration_hook('integrate_board_fields', array(&$knownInts));
sources/subs/Action.class.php:call_integration_hook('integrate_sa_' . $this->_name, array(&$subactions));
sources/subs/Calendar.subs.php:call_integration_hook('integrate_create_event', array(&$eventOptions, &$event_columns, &$event_parameters));
sources/subs/Calendar.subs.php:call_integration_hook('integrate_modify_event', array($event_id, &$eventOptions, &$event_columns));
sources/subs/Calendar.subs.php:call_integration_hook('integrate_remove_event', array($event_id));
sources/subs/SettingsForm.class.php:call_integration_hook('integrate_prepare_db_settings', array(&$config_vars));
sources/subs/Messages.subs.php:call_integration_hook('integrate_remove_message', array($message));
sources/subs/Membergroups.subs.php:call_integration_hook('integrate_delete_membergroups', array($groups));
sources/subs/Membergroups.subs.php:call_integration_hook('integrate_add_members_to_group', array($members, $group_details, &$group_names));
sources/subs/Topic.subs.php:call_integration_hook('integrate_remove_topics', array($topics));
sources/subs/Editor.subs.php:call_integration_hook('integrate_editor_plugins', array($editorOptions['id']));
sources/subs/Editor.subs.php:call_integration_hook('integrate_bbc_buttons', array(&$bbc_tags));
sources/subs/PersonalMessage.subs.php:call_integration_hook('integrate_personal_message', array(&$recipients, &$from, &$subject, &$message));
sources/subs/PersonalMessage.subs.php:call_integration_hook('integrate_personal_message_after', array(&$id_pm, &$log, &$recipients, &$from, &$subject, &$message));
Bugs creator.
Features destroyer.
Template killer.

Re: Temporary hooks listing/documentation

Reply #3
sources/admin/ManageSearchEngines.controller.php:call_integration_hook('integrate_save_search_engine_settings');
sources/admin/ManageSearchEngines.controller.php:call_integration_hook('integrate_modify_search_engine_settings', array(&$config_vars));
sources/admin/ManagePosts.controller.php:call_integration_hook('integrate_save_censors', array(&$updates));
sources/admin/ManagePosts.controller.php:call_integration_hook('integrate_censors');
sources/admin/ManagePosts.controller.php:call_integration_hook('integrate_save_post_settings');
sources/admin/ManagePosts.controller.php:call_integration_hook('integrate_modify_post_settings', array(&$config_vars));
sources/admin/ManageLanguages.controller.php:call_integration_hook('integrate_save_language_settings');
sources/admin/ManageLanguages.controller.php:call_integration_hook('integrate_modify_language_settings', array(&$config_vars));
sources/admin/Reports.controller.php:call_integration_hook('integrate_report_types');
sources/admin/Reports.controller.php:call_integration_hook('integrate_report_buttons');
sources/admin/AdminLog.controller.php:call_integration_hook('integrate_manage_logs', array(&$log_functions));
sources/admin/AdminLog.controller.php:call_integration_hook('integrate_prune_settings');
sources/admin/ManagePermissions.controller.php:call_integration_hook('integrate_save_permission_settings');
sources/admin/ManagePermissions.controller.php:call_integration_hook('integrate_modify_permission_settings', array(&$config_vars));
sources/admin/ManagePermissions.controller.php:call_integration_hook('integrate_post_moderation_mapping', array(&$mappings));
sources/admin/ManageMaillist.controller.php:call_integration_hook('integrate_save_filter_settings');
sources/admin/ManageMaillist.controller.php:call_integration_hook('integrate_modify_maillist_filter_settings', array(&$config_vars));
sources/admin/ManageMaillist.controller.php:call_integration_hook('integrate_save_parser_settings');
sources/admin/ManageMaillist.controller.php:call_integration_hook('integrate_modify_maillist_parser_settings', array(&$config_vars));
sources/admin/ManageMaillist.controller.php:call_integration_hook('integrate_save_maillist_settings');
sources/admin/ManageMaillist.controller.php:call_integration_hook('integrate_modify_maillist_settings', array(&$config_vars));
sources/admin/Admin.controller.php:call_integration_hook('integrate_admin_search', array(&$language_files, &$include_files, &$settings_search));
sources/admin/ManageAvatars.controller.php:call_integration_hook('integrate_save_avatar_settings');
sources/admin/ManageAvatars.controller.php:call_integration_hook('integrate_modify_avatar_settings', array(&$config_vars));
sources/admin/ManageRegistration.controller.php:call_integration_hook('integrate_save_registration_settings');
sources/admin/ManageRegistration.controller.php:call_integration_hook('integrate_modify_registration_settings', array(&$config_vars));
sources/admin/ManageSearch.controller.php:call_integration_hook('integrate_save_search_settings');
sources/admin/ManageSearch.controller.php:call_integration_hook('integrate_modify_search_settings', array(&$config_vars));
sources/admin/ManageSearch.controller.php:call_integration_hook('integrate_modify_search_weights', array(&$factors));
sources/admin/ManageSearch.controller.php:call_integration_hook('integrate_save_search_weights');
sources/admin/ManageDrafts.controller.php:call_integration_hook('integrate_save_drafts_settings');
sources/admin/ManageDrafts.controller.php:call_integration_hook('integrate_modify_drafts_settings', array(&$config_vars));
sources/admin/Maintenance.controller.php:call_integration_hook('integrate_routine_maintenance');
sources/admin/ManageTopics.controller.php:call_integration_hook('integrate_save_topic_settings');
sources/admin/ManageTopics.controller.php:call_integration_hook('integrate_modify_topic_settings', array(&$config_vars));
sources/admin/ManageBBC.controller.php:call_integration_hook('integrate_save_bbc_settings', array($bbcTags));
sources/admin/ManageBBC.controller.php:call_integration_hook('integrate_modify_bbc_settings', array(&$config_vars));
sources/admin/ManageThemes.controller.php:call_integration_hook('integrate_init_theme', array($theme, &$settings));
sources/admin/ManageServer.controller.php:call_integration_hook('integrate_save_general_settings');
sources/admin/ManageServer.controller.php:call_integration_hook('integrate_save_database_settings');
sources/admin/ManageServer.controller.php:call_integration_hook('integrate_save_cookie_settings');
sources/admin/ManageServer.controller.php:call_integration_hook('integrate_save_cache_settings');
sources/admin/ManageServer.controller.php:call_integration_hook('integrate_loadavg_settings');
sources/admin/ManageServer.controller.php:call_integration_hook('integrate_save_loadavg_settings');
sources/admin/ManageServer.controller.php:call_integration_hook('integrate_modify_general_settings', array(&$config_vars));
sources/admin/ManageServer.controller.php:call_integration_hook('integrate_modify_database_settings', array(&$config_vars));
sources/admin/ManageServer.controller.php:call_integration_hook('integrate_modify_cookie_settings', array(&$config_vars));
sources/admin/ManageServer.controller.php:call_integration_hook('integrate_modify_cache_settings', array(&$config_vars));
sources/admin/ManageServer.controller.php:call_integration_hook('integrate_modify_loadavg_settings', array(&$config_vars));
sources/admin/AddonSettings.controller.php:call_integration_hook('integrate_save_general_mod_settings');
sources/admin/AddonSettings.controller.php:call_integration_hook('integrate_general_mod_settings', array(&$config_vars));
sources/admin/ManageAttachments.controller.php:call_integration_hook('integrate_save_attachment_settings');
sources/admin/ManageAttachments.controller.php:call_integration_hook('integrate_modify_attachment_settings', array(&$config_vars));
sources/admin/ManageFeatures.controller.php:call_integration_hook('integrate_save_basic_settings');
sources/admin/ManageFeatures.controller.php:call_integration_hook('integrate_save_layout_settings');
sources/admin/ManageFeatures.controller.php:call_integration_hook('integrate_save_karma_settings');
sources/admin/ManageFeatures.controller.php:call_integration_hook('integrate_save_likes_settings');
sources/admin/ManageFeatures.controller.php:call_integration_hook('integrate_apply_signature_settings', array(&$sig, $sig_limits, $disabledTags));
sources/admin/ManageFeatures.controller.php:call_integration_hook('integrate_save_signature_settings', array(&$sig_limits, &$bbcTags));
sources/admin/ManageFeatures.controller.php:call_integration_hook('integrate_save_pmsettings_settings');
sources/admin/ManageFeatures.controller.php:call_integration_hook('integrate_modify_basic_settings', array(&$config_vars));
sources/admin/ManageFeatures.controller.php:call_integration_hook('integrate_modify_layout_settings', array(&$config_vars));
sources/admin/ManageFeatures.controller.php:call_integration_hook('integrate_modify_karma_settings', array(&$config_vars));
sources/admin/ManageFeatures.controller.php:call_integration_hook('integrate_modify_likes_settings', array(&$config_vars));
sources/admin/ManageFeatures.controller.php:call_integration_hook('integrate_modify_mention_settings', array(&$config_vars));
sources/admin/ManageFeatures.controller.php:call_integration_hook('integrate_modify_signature_settings', array(&$config_vars));
sources/admin/ManageFeatures.controller.php:call_integration_hook('integrate_modify_pmsettings_settings', array(&$config_vars));
sources/admin/ManageCalendar.controller.php:call_integration_hook('integrate_save_calendar_settings');
sources/admin/ManageCalendar.controller.php:call_integration_hook('integrate_modify_calendar_settings', array(&$config_vars));
sources/admin/ManageSecurity.controller.php:call_integration_hook('integrate_save_general_security_settings');
sources/admin/ManageSecurity.controller.php:call_integration_hook('integratesave_moderation_settings', array(&$config_vars));
sources/admin/ManageSecurity.controller.php:call_integration_hook('integrate_save_moderation_settings');
sources/admin/ManageSecurity.controller.php:call_integration_hook('integrate_save_spam_settings');
sources/admin/ManageSecurity.controller.php:call_integration_hook('integrate_modify_moderation_settings', array(&$config_vars));
sources/admin/ManageSecurity.controller.php:call_integration_hook('integrate_general_security_settings', array(&$config_vars));
sources/admin/ManageSecurity.controller.php:call_integration_hook('integrate_spam_settings', array(&$config_vars));
sources/admin/CoreFeatures.controller.php:call_integration_hook('integrate_core_features', array(&$core_features));
sources/admin/ManageNews.controller.php:call_integration_hook('integrate_save_news_settings');
sources/admin/ManageNews.controller.php:call_integration_hook('integrate_modify_news_settings', array(&$config_vars));
sources/admin/ManageMembergroups.controller.php:call_integration_hook('integrate_add_membergroup', array($id_group, $postCountBasedGroup));
sources/admin/ManageMembergroups.controller.php:call_integration_hook('integrate_save_membergroup', array($current_group['id_group']));
sources/admin/ManageMembergroups.controller.php:call_integration_hook('integrate_view_membergroup');
sources/admin/ManageMembergroups.controller.php:call_integration_hook('integrate_save_membergroup_settings');
sources/admin/ManageMembergroups.controller.php:call_integration_hook('integrate_modify_membergroup_settings', array(&$config_vars));
sources/admin/ManageSmileys.controller.php:call_integration_hook('integrate_save_smiley_settings');
sources/admin/ManageSmileys.controller.php:call_integration_hook('integrate_modify_smiley_settings', array(&$config_vars));
sources/admin/ManageMembers.controller.php:call_integration_hook('integrate_manage_members', array(&$subActions));
sources/admin/ManageMembers.controller.php:call_integration_hook('integrate_view_members_params', array(&$params));
sources/admin/ManageMembers.controller.php:call_integration_hook('integrate_activate', array($member['username']));
sources/admin/ManageBoards.controller.php:call_integration_hook('integrate_boards_main');
sources/admin/ManageBoards.controller.php:call_integration_hook('integrate_edit_category');
sources/admin/ManageBoards.controller.php:call_integration_hook('integrate_edit_board');
sources/admin/ManageBoards.controller.php:call_integration_hook('integrate_save_board', array($board_id, &$boardOptions));
sources/admin/ManageBoards.controller.php:call_integration_hook('integrate_save_board_settings');
sources/admin/ManageBoards.controller.php:call_integration_hook('integrate_modify_board_settings', array(&$config_vars));
sources/admin/ManageMail.controller.php:call_integration_hook('integrate_save_mail_settings');
sources/admin/ManageMail.controller.php:call_integration_hook('integrate_modify_mail_settings', array(&$config_vars));
sources/admin/ManagePaid.controller.php:call_integration_hook('integrate_save_subscription_settings');
sources/admin/ManagePaid.controller.php:call_integration_hook('integrate_modify_subscription_settings', array(&$config_vars));
sources/admin/ManagePaid.controller.php:call_integration_hook('integrate_delete_subscription', array($context['sub_id']));
sources/admin/ManagePaid.controller.php:call_integration_hook('integrate_save_subscription', array(($context['action_type'] == 'add' ? $sub_id : $context['sub_id']), $_POST['name'], $_POST['desc'], $isActive, $span, $cost, $_POST['prim_group'], $addgroups, $isRepeatable, $allowpartial, $emailComplete, $reminder));
sources/admin/ManageBans.controller.php:call_integration_hook('integrate_manage_bans', array(&$subActions));
SSI.php:call_integration_hook('integrate_SSI');
Bugs creator.
Features destroyer.
Template killer.

Re: Temporary hooks listing/documentation

Reply #4
Why not just use GH wiki?
I am currently doing freelance work. If you need coding help, forum help, or server maintenance, shoot me a PM and let me know.

Re: Temporary hooks listing/documentation

Reply #5
Because is too messy at the moment.
I don't even have an exact idea of how to organize it... :-\
Bugs creator.
Features destroyer.
Template killer.

Re: Temporary hooks listing/documentation

Reply #6
Why not just use GH wiki?
I think that is the goal, well at least to use that as our wiki for docs etc ... but like eman said, its a bit messy right now, needs some top level nav pages or something so it can be used.  Right now its a dumping ground of sorts, not sure how to organize it.

PS damn, thats a lot of hooks :D
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: Temporary hooks listing/documentation

Reply #7
I like...

Re: Temporary hooks listing/documentation

Reply #8
...needs some top level nav pages or something so it can be used.

Good point. It needs a good structure. I would try to make a few main categories, a few sub categories, and at last one page for one topic. Maybe something like this:

- Administration
--- Installation
--- Update & Upgrade
----- Update (f.e. 10.0 to 1.0.1)
----- Upgrade (f.e. 1.0.0 to 2.0.0)
--- Migration
--- Server Settings
--- Forum Settings
--- Permissions
--- ...and all the other functions of ElkArte
- Customization
--- Installation of Addons
--- Installation of Themes
- Coding
--- Coding ElkArte (?)
--- Coding Addons
--- Coding Themes
- Languages
--- Installation
--- Translation
- Anything else?
- Glossary

And every main and sub category page would have a link list of the sub categories and pages inside.

Re: Temporary hooks listing/documentation

Reply #9
How is this hook used?

call_integration_hook('integrate_action_' . $hook . '_before', array($this->_function_name));
Regards Stephan

Give the terrorism no chance

Re: Temporary hooks listing/documentation

Reply #10
It calls a different hook depending on the action, for example:
http://www.elkarte.net/community/index.php?topic=2192.0 => integrate_action_display_before
http://www.elkarte.net/community/index.php?board=12.0 => integrate_action_messageindex_before
http://www.elkarte.net/community/index.php?action=admin => integrate_action_admin_before
http://my-localhost:8080/beta_21/index.php?action=pm => integrate_action_pm_before
etc.

If you have a testing environment, I'd suggest you to add:
Code: [Select]
$db_show_debug = true;
to your Settings.php (do not use it on live sites!), this will add a debug output at the end of each page that contains also a list of hooks called during the page load. ;D
Bugs creator.
Features destroyer.
Template killer.

Re: Temporary hooks listing/documentation

Reply #11
Thanks :) 


Regards Stephan

Give the terrorism no chance

Re: Temporary hooks listing/documentation

Reply #12
yw! :)
Bugs creator.
Features destroyer.
Template killer.

Re: Temporary hooks listing/documentation

Reply #13
This
Code: (php) [Select]
$db_show_debug = true;
is great!

Seeking a hook which I can insert einTemplate function (template_inc_talk_belowIndex(); & template_inc_talk_aboveIndex() ;  )  under the breadcrumbs and the Info Center.
sample
Code: (php) [Select]
function template_info_center()
{
    global $context, $txt;
   
    template_inc_talk_belowIndex();  







Regards Stephan

Give the terrorism no chance

Re: Temporary hooks listing/documentation

Reply #14
You could use integrate_action_boardindex_after
But add something before the info center is not easy...
Without code edits you can add it before template_boardindex_outer_below (that is before the board index legend, the three icons explaining "new posts", "no new posts" and "redirect")... that actually is quite wrong, I'd call it a bug.
Bugs creator.
Features destroyer.
Template killer.