Norodo

  • Oh you Baidu, so randumb. (60 sites being indexed at once? Jeez)
  • Posts: 469
Hooks
« on February 5th, 2014, 01:48 AM »Last edited on February 6th, 2014, 03:45 PM
This topic might be a little barebones for now. Taken from file wedge/core/ManagePlugins.php on 5feb2014

Language hooks

'lang_help'
Found in: core/app/ManageServer.php && core/app/Help.php
Called when: Loading the admin help language file and template || Loading the help items, plus any from plugins for (?) icons.

'lang_who'
Found in: core/app/Who.php
Called when: Viewing the "Who's Online page"?

'lang_modlog'
Found in: core/app/Modlog.php
Called when: Displaying the moderation and administration logs

Foundation stone items

'pre_load'
Found in: core/app/Load.php
Called when: Load.php is used for a lot of database interaction. It is loaded on nearly every page. When loading from database.

'determine_location',
Found in: core/app/QueryString.php
Called when: Handling URLs?


'detect_browser',
'load_theme',
'menu_items',
'action_list',
'behavior',
'skin_parser',

Threads and posts display
'post_bbc_parse',
'display_prepare_post',
'display_post_done',
'messageindex_buttons',
'display_message_list',
'display_main',

// Admin
'admin_areas',
'admin_search',
'admin_intro',
'moderation_rules',
'output_error',
'settings_spam',
'settings_bans',
'remove_boards',
'repair_errors_tests',
'repair_errors_finished',
'member_options',
'maintenance_routine',

// User related
'login',
'validate_login',
'logout',
'change_member_data',
'verify_password',
'verify_user',
'reset_pass',
'other_passwords',
'register',
'register_validate',
'register_post',
'activate',
'delete_member',
'delete_member_multiple',
'track_ip',
'reattribute_posts',

// User permissions
'load_permissions',
'illegal_perms',
'illegal_guest_perms',
'banned_perms',
'settings_infraction_levels',

// Content creation
'outgoing_email',
'personal_message',
'create_post_before',
'create_post_after',
'modify_post_before',
'modify_post_after',
'move_topics',
'remove_topics',
'merge_topics',
'post_mod_actions',
'post_form_pre',
'post_form',
'post_form_load_draft',
'post_pre_validate',
'post_post_validate',
'save_post_draft',
'save_pm_draft',

// Likes
'like_handler',
'liked_content',

// Thoughts
'thought_add',
'thought_update',
'thought_delete',

// Process flow and execution
'default_action',
'fallback_action',
'buffer',
'redirect',
'exit',
'dynamic_rewrite',

// Verification/CAPTCHA points
'add_captcha',
'verification_setup',
'verification_test',
'verification_refresh',
'verification_display',

// Who's Online
'who_allowed',
'whos_online',
'whos_online_complete',

// Miscellaneous
'ssi',
'feed',
'buddy',
'css_color',
'bbc_buttons',
'place_credit',
'get_boardindex',
'info_center',
'media_areas',
'profile_areas',
'suggest',
'thought',
'select_quickmod',
'apply_quickmod',

// Notifications
'notification_callback',
'notification_new',
'notification_subscription',

// Infractions
'infraction_view',
'infraction_issue_pre',
'infraction_issue_content',

Pandos

  • Living on the edge of Wedge
  • Posts: 635
Re: Hooks
« Reply #1, on February 5th, 2014, 02:08 AM »
Thanks!
This is really helpful.
# dpkg-reconfigure brain
error: brain is not installed or configured

MultiformeIngegno

  • Posts: 1,337
Re: Hooks
« Reply #2, on February 5th, 2014, 02:29 AM »
What about adding it to the readme ? Or a readme in the plugin folder

Norodo

  • Oh you Baidu, so randumb. (60 sites being indexed at once? Jeez)
  • Posts: 469
Re: Hooks
« Reply #3, on February 5th, 2014, 03:41 AM »
You'd have to ask Nao for that. But as of now I'm not done with this list. Gonna add details and style it a bit better. I think it will take some time. :^^;:

Zeyad_Ahmed

  • The Founder of MPO
  • Think Clearly
  • Posts: 28
Re: Hooks
« Reply #4, on November 10th, 2016, 09:49 AM »
Thanks :D