Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > Programming Articles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Hooks in vBulletin 3.7.x
ForumsMods
Join Date: Aug 2007
Posts: 667

Computer Engineering Student

Argentina
Show Printable Version Email this Page Subscription
ForumsMods ForumsMods is offline 08-22-2008, 10:00 PM

For those interested, the list of hooks in vB 3.7.x:

Hook Statistics:
Total Hooks: 999
Unique Hooks: 933

Files With Hooks:
Code:
./admincp/adminpermissions.php 
-- admin_permissions_process 
-- admin_permissions_form 

./admincp/attachment.php 
-- admin_attachmenttype 

./admincp/css.php 
-- stylevar_edit_sizes 
-- stylevar_edit_imagepaths 
-- stylevar_edit_misc 
-- css_edit 

./admincp/forum.php 
-- forumadmin_start 
-- forumadmin_add_default 
-- forumadmin_edit_form 
-- forumadmin_update_save 

./admincp/forumpermission.php 
-- admin_fperms_save 
-- admin_fperms_doquickforum 

./admincp/global.php 
-- admin_global_datastore_check 
-- admin_global 

./admincp/index.php 
-- admin_index_navigation 
-- admin_index_main1 
-- admin_index_main2 
-- admin_index_main3 

./admincp/misc.php 
-- admin_maintenance 

./admincp/moderator.php 
-- admin_moderator_form 
-- admin_moderator_save 
-- admin_moderator_killall 

./admincp/modlog.php 
-- admin_modlogviewer_query 
-- admin_modlogviewer_query_loop 
-- admin_modlogviewer_query_linkfield 

./admincp/notice.php 
-- notices_list_criteria 

./admincp/plugin.php 
-- admin_product_export 

./admincp/profilefield.php 
-- admin_profilefield_start 

./admincp/queries.php 
-- admin_queries_auto_options 
-- admin_queries_auto_query 

./admincp/template.php 
-- admin_style_form 
-- admin_style_save 
-- admin_style_form 

./admincp/user.php 
-- useradmin_edit_start 
-- useradmin_edit_column1 
-- useradmin_edit_column2 
-- useradmin_update_save 
-- private_insertpm_process 
-- private_insertpm_complete 
-- useradmin_prune 

./admincp/usergroup.php 
-- admin_usergroup_edit 
-- admin_usergroup_save 
-- admin_usergroup_save_complete 
-- admin_usergroup_kill 

./admincp/usertools.php 
-- useradmin_merge 
-- useradmin_gethost 

./admincp/verify.php 
-- admin_humanverify_intro_start 
-- admin_humanverify_intro_setting 
-- admin_humanverify_intro_output 

./ajax.php 
-- ajax_start 
-- editor_switch_wysiwyg_to_standard 
-- ajax_complete 

./album.php 
-- album_start_precheck 
-- album_start_postcheck 
-- album_album_update 
-- album_album_edit 
-- album_picture_update 
-- album_picture_update_complete 
-- album_picture_editbit 
-- album_picture_edit_complete 
-- album_picture_upload_setup 
-- album_picture_upload_process 
-- album_picture_upload_complete 
-- album_picture_add 
-- album_picture_doaddgroups_multiple 
-- album_picture_doaddgroups 
-- album_picture_addgroups 
-- report_start 
-- report_form_start 
-- album_picture 
-- album_picture_complete 
-- album_album 
-- album_album_query 
-- album_album_picturebit 
-- album_album_complete 
-- album_user_query 
-- album_user_albumbit 
-- album_user_complete 
-- album_moderated_complete 
-- album_unread_picturebit 
-- album_unread_complete 

./announcement.php 
-- announcement_start 
-- announcement_query 
-- announcement_complete 

./archive/global.php 
-- style_fetch 
-- archive_global 
-- archive_forum 
-- archive_navigation 
-- archive_navigation 

./archive/index.php 
-- archive_process_start 
-- archive_postheader 
-- archive_forum_thread 
-- archive_thread_post 
-- archive_complete 
-- archive_complete_postoutput 

./attachment.php 
-- attachment_start 
-- attachment_lightbox 
-- attachment_display 
-- attachment_complete 

./calendar.php 
-- calendar_start 
-- calendar_start2 
-- calendar_displaymonth_start 
-- calendar_displaymonth_complete 
-- calendar_displayweek_start 
-- calendar_displayweek_event 
-- calendar_displayweek_complete 
-- calendar_displayyear_start 
-- calendar_displayyear_complete 
-- calendar_manage_start 
-- calendar_manage_complete 
-- calendar_getday_start 
-- calendar_getday_event 
-- calendar_getday_event 
-- calendar_getday_complete 
-- calendar_edit_start 
-- calendar_edit_complete 
-- calendar_add_start 
-- calendar_add_complete 
-- calendar_update_start 
-- calendar_update_process 
-- calendar_update_complete 
-- calendar_update_complete 
-- calendar_deletereminder 
-- calendar_dostuff 
-- calendar_viewreminder_start 
-- calendar_viewreminder_event 
-- calendar_viewreminder_complete 
-- calendar_doaddreminder 
-- calendar_addreminder 

./converse.php 
-- converse_start 
-- converse_query 
-- converse_complete 

./cron.php 
-- cron_start 

./editpost.php 
-- editpost_start 
-- editpost_update_start 
-- editpost_update_process 
-- editpost_update_thread 
-- editpost_update_complete 
-- editpost_edit_ajax 
-- showthread_postbit_create 
-- editpost_edit_start 
-- editpost_edit_complete 
-- editpost_delete_start 
-- editpost_delete_complete 
-- editpost_delete_complete 
-- editpost_delete_complete 

./external.php 
-- external_start 
-- external_type 
-- external_query 
-- external_complete 

./faq.php 
-- faq_start 
-- faq_search_query 
-- faq_complete 

./forumdisplay.php 
-- forumdisplay_start 
-- forumdisplay_moderator 
-- forumdisplay_loggedinuser 
-- forumdisplay_loggedinuser 
-- forumdisplay_announcement_query 
-- forumdisplay_announcement 
-- forumdisplay_sort 
-- forumdisplay_query_threadscount 
-- forumdisplay_query_threadid 
-- forumdisplay_query 
-- threadbit_display 
-- forumdisplay_complete 

./global.php 
-- style_fetch 
-- cache_templates 
-- global_start 
-- parse_templates 
-- notices_noticebit 
-- notifications_list 
-- global_setup_complete 

./group.php 
-- group_start_precheck 
-- group_start_postcheck 
-- group_list_mygroupsbit 
-- group_list_filter 
-- group_list_groupbit 
-- group_dojoin 
-- group_docreate 
-- group_doedit 
-- group_memberbit 
-- group_view_message_start 
-- group_view_message_query 
-- group_view_pictures_start 
-- group_pictures_query 
-- group_picturebit 
-- group_memberbit 
-- group_message_post_start 
-- group_message_post_ajax 
-- group_message_post_complete 
-- group_message_form_start 
-- group_message_form_complete 
-- group_message_delete 
-- group_message_getip 
-- report_start 
-- report_form_start 
-- report_start 
-- report_form_start 
-- group_picture_insert 
-- group_picture_insert_rebuild 
-- group_picture_insert_errors 
-- group_picture_delete 
-- group_pictures_query 
-- group_picturebit 
-- group_picture 
-- group_manage_memberbit 
-- group_kickmember 
-- group_kickmember_complete 
-- group_pending_members 
-- group_pending_members_complete 
-- group_complete 

./group_inlinemod.php 
-- group_inlinemod_authenticate_switch 
-- group_inlinemod_start 
-- group_inlinemod_approveunapprove 
-- group_inlinemod_delete 
-- group_inlinemod_dodelete 
-- group_inlinemod_undelete 

./image.php 
-- image_table 
-- image_exists 
-- image_missing 

./includes/adminfunctions.php 
-- admin_login_area_switch 
-- admin_complete 
-- can_administer 
-- admin_delete_confirmation 
-- admin_cache_smilies 
-- admin_cache_bbcode 
-- admin_build_forum_perms_group 
-- admin_build_forum_perms_forum 
-- admin_cache_forum_perms 

./includes/adminfunctions_forums.php 
-- admin_fperms_form 

./includes/adminfunctions_options.php 
-- admin_options_print 
-- admin_options_processing 
-- admin_options_processing_censorcode 
-- admin_options_processing_build 

./includes/adminfunctions_template.php 
-- css_output_build 
-- css_output_build_end 
-- template_safe_functions 
-- template_compile 
-- admin_style_datastore 
-- template_groups 

./includes/class_bbcode.php 
-- bbcode_create 
-- bbcode_parse_start 
-- bbcode_parse_complete_precache 
-- bbcode_parse_complete 
-- bbcode_fetch_tags 

./includes/class_bbcode_alt.php 
-- bbcode_parse_complete 

./includes/class_dm_admin.php 
-- admindata_start 
-- admindata_presave 
-- admindata_postsave 
-- admindata_delete 

./includes/class_dm_album.php 
-- albumdata_start 
-- albumdata_presave 
-- albumdata_postsave 
-- albumdata_delete 

./includes/class_dm_announcement.php 
-- announcementdata_start 
-- announcementdata_presave 
-- announcementdata_postsave 
-- announcementdata_delete 

./includes/class_dm_attachment.php 
-- attachdata_start 
-- attachdata_presave 
-- attachdata_postsave 
-- attachdata_delete 
-- attachdata_postsave 

./includes/class_dm_deletionlog.php 
-- deletionlogdata_start 
-- deletionlogdata_presave 
-- deletionlogdata_postsave 
-- deletionlogdata_delete 

./includes/class_dm_event.php 
-- eventdata_start 
-- eventdata_presave 
-- eventdata_postsave 
-- eventdata_delete 

./includes/class_dm_forum.php 
-- forumdata_start 
-- forumdata_presave 
-- forumdata_postsave 
-- forumdata_delete 

./includes/class_dm_groupmessage.php 
-- groupmessagedata_start 
-- groupmessagedata_presave 
-- groupmessagedata_delete 
-- groupmessagedata_postsave 

./includes/class_dm_infraction.php 
-- infractiondata_start 
-- infractiondata_presave 
-- infractiondata_postsave 
-- infractiondata_delete 

./includes/class_dm_moderator.php 
-- moderatordata_start 
-- moderatordata_presave 
-- moderatordata_postsave 
-- moderatordata_delete 

./includes/class_dm_picture.php 
-- picturedata_start 
-- picturedata_presave 
-- picturedata_postsave 
-- picturedata_delete 

./includes/class_dm_picturecomment.php 
-- picturecommentdata_start 
-- picturecommentdata_presave 
-- picturecommentdata_delete 
-- picturecommentdata_postsave 

./includes/class_dm_pm.php 
-- pmdata_start 
-- pmdata_presave 
-- pmdata_postsave_recipient 
-- pmdata_postsave 

./includes/class_dm_poll.php 
-- polldata_start 
-- polldata_presave 
-- polldata_postsave 
-- polldata_delete 

./includes/class_dm_pollvote.php 
-- pollvotedata_start 
-- pollvotedata_presave 
-- pollvotedata_postsave 
-- pollvotedata_delete 

./includes/class_dm_prefix.php 
-- prefixdata_start 
-- prefixdata_presave 
-- prefixdata_postsave 
-- prefixdata_delete 

./includes/class_dm_prefixset.php 
-- prefixsetdata_start 
-- prefixsetdata_presave 
-- prefixsetdata_postsave 
-- prefixsetdata_delete 

./includes/class_dm_rssfeed.php 
-- rssfeeddata_start 
-- rssfeeddata_presave 
-- rssfeeddata_postsave 
-- rssfeeddata_delete 

./includes/class_dm_socialgroup.php 
-- socgroupdata_start 
-- socgroupdata_presave 
-- socgroupdata_postsave 
-- socgroupdata_delete 

./includes/class_dm_socialgroupmember.php 
-- socgroupmemberdata_start 
-- socgroupmemberdata_presave 
-- socgroupmemberdata_postsave 
-- socgroupmemberdata_delete 

./includes/class_dm_threadpost.php 
-- postdata_start 
-- postdata_presave 
-- postdata_postsave 
-- postdata_delete 
-- threaddata_start 
-- threaddata_presave 
-- threaddata_postsave 
-- threaddata_delete 
-- threadfpdata_start 
-- threadfpdata_doset 
-- threadfpdata_presave 
-- threadfpdata_postsave 
-- threadfpdata_delete 

./includes/class_dm_threadrate.php 
-- threadratedata_start 
-- threadratedata_presave 
-- threadratedata_delete 
-- threadratedata_postsave 

./includes/class_dm_user.php 
-- userdata_start 
-- userdata_doset 
-- userdata_presave 
-- userdata_postsave 
-- userdata_delete 
-- userdata_update_username 
-- private_insertpm_process 
-- private_insertpm_complete 

./includes/class_dm_userpic.php 
-- userpicdata_start 
-- userpicdata_presave 
-- userpicdata_postsave 
-- userpicdata_delete 
-- userpicdata_postsave 
-- userpicdata_postsave 
-- userpicdata_postsave 
-- userpicdata_delete 

./includes/class_dm_visitormessage.php 
-- visitormessagedata_start 
-- visitormessagedata_presave 
-- visitormessagedata_delete 
-- visitormessagedata_postsave 

./includes/class_groupmessage.php 
-- group_messagebit_factory 
-- group_messagebit_display_start 
-- group_messagebit_display_complete 

./includes/class_hook.php 
-- unique_hook_name 

./includes/class_mail.php 
-- mail_send 

./includes/class_paid_subscription.php 
-- paidsub_construct_payment 
-- paidsub_build 
-- paidsub_delete 

./includes/class_picturecomment.php 
-- picture_commentbit_factory 
-- picture_commentbit_display_start 
-- picture_commentbit_display_complete 
-- picture_commentbit_display_start 
-- picture_commentbit_display_complete 

./includes/class_postbit.php 
-- postbit_factory 
-- postbit_display_start 
-- postbit_display_complete 
-- postbit_attachment 
-- postbit_imicons 

./includes/class_postbit_alt.php 
-- postbit_display_start 
-- postbit_display_complete 

./includes/class_profileblock.php 
-- member_profileblock_fetch_unwrapped 
-- member_profileblock_friends_query 
-- member_profileblock_friendbit 
-- member_profileblock_profilefieldbit 
-- member_profileblock_profilefield_category 
-- member_profileblock_album_query 
-- member_profileblock_recentvisitors_query 
-- member_profileblock_visitormessage_query 
-- member_infraction_start 
-- member_infractionbit 
-- member_infraction_complete 

./includes/class_reportitem.php 
-- report_send_process 
-- report_send_complete 
-- report_send_email 

./includes/class_rss_poster.php 
-- rssposter_parse_atom 
-- rssposter_parse_rss 

./includes/class_socialgroup_search.php 
-- group_search_perform 

./includes/class_upload.php 
-- upload_accept 

./includes/class_usercss.php 
-- usercss_create 
-- usercss_parse 
-- usercss_build_property 
-- usercss_build_css 
-- usercss_build_display_array 
-- usercss_build_css_array 

./includes/class_userprofile.php 
-- userprofile_create 
-- userprofile_prepare 

./includes/class_visitormessage.php 
-- visitor_messagebit_factory 
-- visitor_messagebit_display_start 
-- visitor_messagebit_display_complete 
-- visitor_messagebit_display_start 
-- visitor_messagebit_display_complete 

./includes/cron/cleanup.php 
-- cron_script_cleanup_hourly 

./includes/cron/cleanup2.php 
-- cron_script_cleanup_hourly2 

./includes/cron/dailycleanup.php 
-- cron_script_cleanup_daily 

./includes/cron/subscriptions.php 
-- cron_script_subscriptions 

./includes/functions.php 
-- fetch_foruminfo 
-- fetch_threadinfo_query 
-- fetch_threadinfo 
-- fetch_postinfo_query 
-- fetch_postinfo 
-- fetch_userinfo_query 
-- fetch_userinfo 
-- member_customfields 
-- pagenav_page 
-- pagenav_complete 
-- navbits 
-- navbits_complete 
-- error_fetch 
-- error_nopermission 
-- error_generic 
-- redirect_generic 
-- header_redirect 
-- cache_ordered_forums 
-- forumjump 
-- cache_permissions 
-- can_moderate_forum 
-- replacement_vars 
-- global_complete 
-- global_shutdown 

./includes/functions_album.php 
-- album_fetch_albuminfo 
-- album_fetch_pictureinfo 
-- album_prepare_thumb 
-- album_can_see_private 

./includes/functions_bigthree.php 
-- forumrules 
-- tag_fetchbit 
-- tag_fetchbit_complete 

./includes/functions_calendar.php 
-- calendar_displaymonth_event 
-- calendar_displaymonth_event 
-- calendar_displaymonth_daybit 
-- calendar_displaymonth_weekbit 
-- calendar_displaymonth_month 

./includes/functions_cron.php 
-- cron_complete 

./includes/functions_digest.php 
-- digest_thread_post 
-- digest_thread_process 
-- digest_forum_thread 
-- digest_forum_process 

./includes/functions_editor.php 
-- editor_wysiwyg_compatible 
-- editor_toolbar_switch 
-- editor_toolbar_start 
-- editor_toolbar_end 

./includes/functions_faq.php 
-- faq_item_display 
-- faq_cache_query 

./includes/functions_forumdisplay.php 
-- dot_threads_array 
-- threadbit_process 

./includes/functions_forumlist.php 
-- forumbit_moderator 
-- forumbit_display 
-- forumbit_subforumbit 
-- forumbit_subforumbit2 

./includes/functions_login.php 
-- login_strikes 
-- login_verify_failure_password 
-- login_verify_failure_password 
-- login_verify_success 
-- login_verify_failure_username 
-- login_process 
-- login_redirect 
-- logout_process 

./includes/functions_log_error.php 
-- fetch_modlogtypes 
-- fetch_modlogactions 
-- log_moderator_action 

./includes/functions_newpost.php 
-- posticons_start 
-- posticons_bit 
-- posticons_complete 
-- url_to_bbcode 
-- newpost_process 
-- newpost_subscribe 
-- newpost_complete 
-- newpost_preview 
-- newpost_notification_start 
-- newpost_notification_message 
-- quotable_posts_query 
-- quotable_posts_logic 
-- newreply_quote 

./includes/functions_notice.php 
-- notices_check_start 
-- notices_check_criteria 

./includes/functions_online.php 
-- online_location_unknown 
-- online_bit_complete 
-- online_location_preprocess 
-- online_location_process 
-- online_ids_titles 

./includes/functions_picturecomment.php 
-- picture_comment_query 
-- picture_comment_build_counters 

./includes/functions_prefix.php 
-- prefix_fetch_array 

./includes/functions_reputation.php 
-- reputation_power 
-- reputation_image 

./includes/functions_search.php 
-- search_similarthreads_fulltext 
-- tag_cloud_bit 

./includes/functions_socialgroup.php 
-- group_prepareinfo 
-- group_fetch_pictureinfo 
-- group_build_counters 

./includes/functions_threadedmode.php 
-- showthread_threaded_construct_link 

./includes/functions_threadmanage.php 
-- threadmanage_construct_post_tree 

./includes/functions_user.php 
-- usercp_nav_start 
-- usercp_nav_complete 
-- profile_fetch_profilefields_loc 
-- profile_fetch_profilefields 

./includes/functions_visitormessage.php 
-- visitor_message_build_counters 
-- visitor_message_post_ajax 

./includes/functions_wysiwyg.php 
-- wysiwyg_parse_start 
-- wysiwyg_parse_complete 

./includes/init.php 
-- init_startup 

./includes/searchwords.php 
-- search_stopwords 

./index.php 
-- forumhome_start 
-- forumhome_event 
-- forumhome_loggedinuser_query 
-- forumhome_loggedinuser 
-- forumhome_complete 

./infraction.php 
-- infraction_start 
-- infraction_verify_permissions 
-- infraction_reverse_start 
-- infraction_reverse_process 
-- infraction_reverse_complete 
-- infraction_view_start 
-- infraction_view_complete 
-- infraction_update_start 
-- private_insertpm_process 
-- private_insertpm_complete 
-- infraction_update_process 
-- infraction_update_complete 
-- infraction_update_complete 
-- infraction_report_start 
-- infraction_report_complete 

./inlinemod.php 
-- inlinemod_authenticate_switch 
-- inlinemod_action_switch 
-- inlinemod_start 
-- inlinemod_clearthread 
-- inlinemod_clearpost 
-- inlinemod_closeopen 
-- inlinemod_stickunstick 
-- inlinemod_deletethread 
-- inlinemod_spamthread 
-- inlinemod_dodeletethread 
-- inlinemod_spam_permission 
-- inlinemod_spamconfirm_defaultaction 
-- inlinemod_spamconfirm 
-- inlinemod_deletespam_defaultaction 
-- inlinemod_deletespam 
-- inlinemod_dodeletethread 
-- inlinemod_undeletethread 
-- inlinemod_approvethread 
-- inlinemod_unapprovethread 
-- inlinemod_movethread 
-- inlinemod_domovethread 
-- inlinemod_mergethread 
-- inlinemod_domergethread 
-- inlinemod_spampost 
-- inlinemod_deleteposts 
-- inlinemod_dodeleteposts 
-- inlinemod_undeleteposts 
-- inlinemod_approveattachments 
-- inlinemod_unapproveattachments 
-- inlinemod_approveposts 
-- inlinemod_unapproveposts 
-- inlinemod_domergeposts_process 
-- inlinemod_domergeposts_complete 
-- inlinemod_mergeposts_post 
-- inlinemod_mergeposts_complete 
-- inlinemod_moveposts 
-- inlinemod_copyposts 
-- inlinemod_domoveposts 
-- inlinemod_docopyposts 
-- inlinemod_complete 

./joinrequests.php 
-- joinrequest_start 
-- joinrequest_process_start 
-- joinrequest_process_complete 
-- joinrequest_view_start 
-- joinrequest_view_bit 
-- joinrequest_complete 

./login.php 
-- login_failure 
-- reset_password 
Reply With Quote
  #2  
Old 08-23-2008, 12:45 AM
ForumsMods ForumsMods is offline
 
Join Date: Aug 2007
Location: Argentina
Posts: 667
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
  ./member.php 
-- member_start 
-- member_start_fetch_user 
-- member_execute_start 
-- member_build_blocks_start 
-- member_complete 

./memberlist.php 
-- memberlist_start 
-- memberlist_query_userscount 
-- memberlist_fetch 
-- memberlist_bit 
-- memberlist_complete 

./member_inlinemod.php 
-- member_inlinemod_authenticate_switch 
-- member_inlinemod_start 
-- member_inlinemod_approveunapprove 
-- member_inlinemod_delete 
-- member_inlinemod_dodelete 
-- member_inlinemod_undelete 

./misc.php 
-- misc_start 
-- misc_buddylist_start 
-- misc_buddylist_bit 
-- misc_buddylist_complete 
-- misc_whoposted_start 
-- misc_whoposted_complete 
-- misc_showattachments_start 
-- misc_showattachments_complete 
-- misc_avatars_start 
-- misc_avatars_complete 
-- misc_bbcode_start 
-- misc_bbcode_bit 
-- misc_bbcode_complete 
-- misc_smiliespopup_start 
-- misc_smiliespopup_category 
-- misc_smiliespopup_smilie 
-- misc_smiliespopup_complete 
-- misc_smilieslist_start 
-- misc_smilieslist_category 
-- misc_smilieslist_smilie 
-- misc_smilieslist_complete 

./modcp/global.php 
-- mod_global 

./modcp/index.php 
-- mod_index_main 
-- mod_index_navigation 

./modcp/user.php 
-- useradmin_edit_start 
-- useradmin_edit_column1 
-- useradmin_edit_column2 

./moderation.php 
-- moderation_start 
-- moderation_threads_start 
-- moderation_threads_sort 
-- moderation_threadsquery_threadscount 
-- moderation_threadsquery_threadid 
-- moderation_threadsquery 
-- threadbit_display 
-- moderation_threads_complete 
-- moderation_posts_start 
-- moderation_posts_sort 
-- moderation_postsquery_postscount 
-- moderation_postsquery_postid 
-- moderation_postsquery 
-- search_results_postbit 
-- moderation_posts_complete 
-- moderation_visitor_messages_start 
-- moderation_visitor_messages_sort 
-- moderation_visitor_messages_query 
-- moderation_visitor_messages_complete 
-- moderation_group_messages_start 
-- moderation_group_messages_sort 
-- moderation_group_messages_query 
-- moderation_group_messages_complete 
-- moderation_picture_comments_start 
-- moderation_picture_comments_sort 
-- moderation_picture_comments_query 
-- moderation_picture_comments_complete 
-- moderation_picture_start 
-- moderation_picture_sort 
-- moderation_picture_query 
-- moderation_picture_complete 

./newattachment.php 
-- newattachment_start 
-- newattachment_attach 
-- newattachment_complete 

./newreply.php 
-- newreply_start 
-- newreply_post_start 
-- newreply_post_quote 
-- newreply_post_ajax 
-- showthread_postbit_create 
-- newreply_post_complete 
-- newreply_post_complete 
-- newreply_form_start 
-- newreply_form_threadmanage 
-- newreply_form_reviewbit 
-- newreply_form_complete 

./newthread.php 
-- newthread_start 
-- newthread_post_start 
-- newthread_post_complete 
-- newthread_form_start 
-- newthread_form_threadmanage 
-- newthread_form_complete 

./online.php 
-- online_start 
-- online_query 
-- online_user 
-- online_complete 

./payments.php 
-- paidsub_start 
-- paidsub_list_start 
-- paidsub_list_activebit 
-- paidsub_list_availablebit 
-- paidsub_order_start 
-- paidsub_order_paymentbit 
-- paidsub_complete 

./picture.php 
-- picture_start 
-- picture_imageinfo 
-- picture_haveimage 

./picturecomment.php 
-- picture_comment_start 
-- picture_comment_start2 
-- picture_comment_post_start 
-- picture_comment_post_ajax 
-- picture_comment_post_complete 
-- picture_comment_form_start 
-- picture_comment_form_complete 
-- picture_comment_getip 
-- report_start 
-- report_form_start 
-- picture_comment_complete 

./picture_inlinemod.php 
-- picturecomment_inlinemod_authenticate_switch 
-- picturecomment_inlinemod_start 
-- picturecomment_inlinemod_approveunapprove 
-- picture_inlinemod_approve 
-- picture_inlinemod_delete 
-- picture_inlinemod_dodelete 
-- picturecomment_inlinemod_delete 
-- picturecomment_inlinemod_dodelete 
-- picturecomment_inlinemod_undelete 

./poll.php 
-- poll_start 
-- poll_post_start 
-- poll_post_process 
-- poll_post_complete 
-- poll_newform_start 
-- poll_newform_complete 
-- poll_editform_start 
-- poll_editform_complete 
-- poll_update_start 
-- poll_update_process 
-- poll_update_complete 
-- poll_results_start 
-- poll_results_bit 
-- poll_results_complete 
-- poll_vote_start 
-- poll_vote_complete 
-- poll_vote_complete 

./posthistory.php 
-- posthistory_start 
-- posthistory_history_bits 
-- posthistory_compare 
-- posthistory_comparebit 
-- posthistory_complete 

./postings.php 
-- threadmanage_action_switch 
-- threadmanage_start 
-- threadmanage_openclose 
-- threadmanage_getip 
-- threadmanage_move_start 
-- threadmanage_move_simple 
-- threadmanage_move_redirect_orig 
-- threadmanage_move_redirect_notice 
-- threadmanage_move_copy_threadcopy 
-- threadmanage_move_copy_postcopy 
-- threadmanage_move_complete 
-- threadmanage_update 
-- threadmanage_merge_start 
-- threadmanage_merge_complete 
-- threadmanage_stickunstick 
-- threadmanage_removeredirect 
-- threadmanage_managepost 
-- threadmanage_complete 

./printthread.php 
-- printthread_start 
-- printthread_post 
-- printthread_complete 

./private.php 
-- private_start 
-- private_updatefolders 
-- private_emptyfolder 
-- private_confirmemptyfolder 
-- private_editfolders_start 
-- private_editfolders_bit 
-- private_editfolders_bit 
-- private_deletepmreceipt 
-- private_dopmreceipt 
-- private_trackpm_start 
-- private_trackpm_receiptbit 
-- private_trackpm_receiptbit 
-- private_movepm 
-- private_managepm_start 
-- private_managepm_move 
-- private_managepm_unread 
-- private_managepm_read 
-- private_managepm_delete 
-- private_managepm_action_switch 
-- private_downloadpm_start 
-- private_downloadpm_bit 
-- private_downloadpm_bit 
-- private_downloadpm_bit 
-- private_insertpm_process 
-- private_insertpm_complete 
-- private_newpm_start 
-- private_newpm_reply 
-- private_newpm_blank 
-- private_showpm_start 
-- private_messagelist_start 
-- private_messagelist_messagebit 
-- private_messagelist_period 
-- private_complete 

./profile.php 
-- profile_start 
-- profile_dst 
-- profile_editpassword_start 
-- profile_updatepassword_start 
-- profile_updatepassword_complete 
-- profile_doaddlist_start 
-- profile_doaddlist_complete 
-- profile_doremovelist_start 
-- profile_doremovelist_complete 
-- profile_updatelist_start 
-- profile_updatelist_listtype 
-- profile_updatelist_process 
-- profile_updatelist_addfriend 
-- profile_updatelist_complete 
-- profile_contactlist_listtype 
-- profile_editprofile_start 
-- profile_updateprofile 
-- profile_editoptions_start 
-- profile_updateoptions 
-- profile_updatesignature_start 
-- profile_updatesignature_complete 
-- profile_updatesigpic_start 
-- profile_updatesigpic_complete 
-- profile_editsignature_start 
-- profile_editavatar_start 
-- profile_editavatar_bit 
-- profile_editprofilepic 
-- profile_updateavatar_start 
-- profile_updateavatar_complete 
-- profile_updateprofilepic_start 
-- profile_updateprofilepic_complete 
-- profile_updatedisplaygroup 
-- profile_leavegroup 
-- profile_insertjoinrequest 
-- profile_joingroup_moderated 
-- profile_joingroup_unmoderated 
-- profile_editusergroups_start 
-- profile_editusergroups_nonmemberbit 
-- profile_editusergroups_memberbit 
-- profile_editusergroups_displaybit 
-- profile_deleteusergroups_start 
-- profile_deleteusergroups_process 
-- profile_deleteattachments_start 
-- profile_deleteattachments_complete 
-- profile_editattachments_start 
-- profile_editattachments_bit 
-- profile_editattachments_complete 
-- profile_docustomize_start 
-- profile_docustomize_process 
-- profile_customize_start 
-- profile_customize_bit 
-- profile_complete 

./register.php 
-- register_start 
-- register_checkdate 
-- register_signup 
-- register_addmember_process 
-- register_addmember_complete 
-- register_form_start 
-- register_form_complete 
-- register_activateform 
-- register_activate_start 
-- register_activate_process 
-- register_requestemail 
-- register_emailcode_user 
-- register_coppaform 

./report.php 
-- report_start 
-- report_form_start 

./reputation.php 
-- reputation_start 
-- reputation_add_start 
-- reputation_add_process 
-- reputation_add_complete 
-- reputation_viewown_start 
-- reputation_viewown_bit 
-- reputation_viewown_complete 
-- reputation_viewown_complete 
-- reputation_form 

./search.php 
-- search_process_start 
-- search_process_fullsearch 
-- search_process_postindex 
-- search_process_fulltext 
-- search_process_fetch 
-- search_process_complete 
-- search_start 
-- search_intro 
-- search_results_start 
-- search_results_query_posts 
-- search_results_query_threads 
-- search_results_prebits 
-- search_results_postbit 
-- search_results_threadbit 
-- search_getnew_start 
-- search_getnew_display 
-- search_getnew_process 
-- search_getnew_complete 
-- search_finduser_start 
-- search_finduser_complete 
-- search_doprefs_process 
-- search_doprefs_process 
-- search_doprefs_complete 
-- search_complete 

./sendmessage.php 
-- sendmessage_start 
-- sendmessage_im_start 
-- sendmessage_im_complete 
-- sendmessage_docontactus_start 
-- sendmessage_docontactus_process 
-- sendmessage_docontactus_complete 
-- sendmessage_contactus_start 
-- sendmessage_contactus_option 
-- sendmessage_contactus_complete 
-- sendmessage_sendtofriend_start 
-- sendmessage_sendtofriend_complete 
-- sendmessage_dosendtofriend_start 
-- sendmessage_dosendtofriend_complete 
-- sendmessage_mailmember 
-- sendmessage_domailmember 

./showgroups.php 
-- showgroups_start 
-- showgroups_user 
-- showgroups_usergroup 
-- showgroups_forum 
-- showgroups_usergroup 
-- showgroups_complete 

./showpost.php 
-- showpost_start 
-- showpost_post 
-- showpost_complete 

./showthread.php 
-- showthread_start 
-- showthread_getinfo 
-- showthread_poll_start 
-- showthread_polloption 
-- showthread_polloption 
-- showthread_poll_complete 
-- showthread_post_start 
-- showthread_query_postids 
-- showthread_query 
-- showthread_postbit_create 
-- showthread_query_postids_threaded 
-- showthread_query 
-- showthread_postbit_create 
-- showthread_loggedinuser 
-- showthread_similarthread_query 
-- showthread_similarthreadbit 
-- showthread_bookmarkbit 
-- showthread_complete 

./subscription.php 
-- usersub_start 
-- usersub_doadd 
-- usersub_add_start 
-- usersub_add_complete 
-- usersub_remove 
-- usersub_view_start 
-- usersub_view_sort 
-- usersub_view_query_threadid 
-- usersub_view_query 
-- threadbit_display 
-- usersub_view_complete 
-- usersub_movethread 
-- usersub_manage_start 
-- usersub_manage_delete 
-- usersub_manage_move 
-- usersub_manage_update 
-- usersub_editfolders 
-- usersub_doeditfolders 

./tags.php 
-- tags_start 
-- tags_cloud_complete 
-- tags_list_query_limit 
-- tags_list_query_data 
-- tags_list_threads 
-- tags_list_complete 

./threadrate.php 
-- threadrate_start 
-- threadrate_update 
-- threadrate_add 
-- threadrate_update 
-- threadrate_add 

./threadtag.php 
-- threadtag_start 
-- threadtag_domanage_delete 
-- threadtag_domanage_postdelete 
-- threadtag_managebit 
-- threadtag_manage_tagsremain 

./usercp.php 
-- usercp_start 
-- usercp_reputationbit 
-- usercp_pmbit 
-- usercp_threads_query 
-- threadbit_display 
-- usercp_infractioninfobit 
-- usercp_complete 

./usernote.php 
-- usernote_start 
-- usernote_delete 
-- usernote_edit 
-- usernote_donote 
-- usernote_newnote 
-- usernote_viewuser_start 
-- usernote_viewuser_query 
-- usernote_viewuser_complete 

./visitormessage.php 
-- visitor_message_start 
-- visitor_message_post_start 
-- visitor_message_post_complete 
-- visitor_message_form_start 
-- visitor_message_form_query 
-- visitor_message_form_complete 
-- visitor_message_getip 
-- report_start 
-- report_form_start 
-- visitor_message_complete
If you can combine the two messages, I will be grateful.
Reply With Quote
  #3  
Old 09-14-2008, 02:45 AM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone define exactly what a hook is, what it's job is and how it functions? Perhaps an analogy to assist with the less vb orientated folk, such as my good self
Reply With Quote
  #4  
Old 09-14-2008, 08:07 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by karlm View Post
Can someone define exactly what a hook is, what it's job is and how it functions? Perhaps an analogy to assist with the less vb orientated folk, such as my good self
A hook provides a way for others to insert extra php code into standard product code without them having to edit any of the product's files. The programmer inserts hooks in two steps:

a) a line at the relevant place in the php code file which takes the form
PHP Code:
    ($hook vBulletinHook::fetch_hook('hookname')) ? eval($hook) : false
and
b) a line in the file includes/hooks_productname.xml, which defines all the hooks that are available.

As an example, there is a hook called cache_templates in the file global.php. This hook appears just before vbulletin caches the required templates. So if someone (e.g. the author of a product that integrates within vbulletin) wants to cache another template, she can use that hook to do so, in this case, by writing a plugin which is tied to the cache_templates hook, containing the following code:

PHP Code:
    if (is_array($globaltemplates)) {
        
$globaltemplates[] = 'my_template';
    } 
When the global.php code is executed and reaches the cache_templates hook, it will automatically execute this plugin code (and any other plugins tied to the same hook).

Hooks and plugins are widely used in software products to allow the products to be extended without having to modify the main code files.
Reply With Quote
  #5  
Old 09-23-2008, 12:20 PM
ColinP ColinP is offline
 
Join Date: Jun 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are there any hooks that fire off after a user updates their profile?

I need to write a plugin that reflects profile changes in a secondary application and rather than do a batch job every hour, it makes sense to use a hook if there is one available.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:23 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04297 seconds
  • Memory Usage 2,298KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete