Xiuno BBS Hook点完整分析表
# Xiuno BBS Hook点完整分析表
> 本文档基于 `plugin/till_hookr/_generator/_allhookslist.php` 自动生成
> 总计 Hook 点数量: **443个**
---
## 一、Hook点索引总表
### 1. vanilla 插件 Hook点 (252个)
| Hook名称 | 所在文件 | 层级 | 典型用途 |
|----------|----------|------|----------|
| footer_start.htm | footer.inc.htm | 视图层 | 页脚开始前插入内容 |
| footer_nav_before.htm | footer.inc.htm | 视图层 | 页脚导航前插入内容 |
| footer_nav_after.htm | footer.inc.htm | 视图层 | 页脚导航后插入内容 |
| footer_js_before.htm | footer.inc.htm | 视图层 | 页脚JS脚本前插入 |
| footer_js_after.htm | footer.inc.htm | 视图层 | 页脚JS脚本后插入 |
| footer_body_after.htm | footer.inc.htm | 视图层 | 页脚body标签后插入 |
| footer_end.htm | footer.inc.htm | 视图层 | 页脚结束时插入 |
| footer_footer_left_start.htm | footer_nav.inc.htm | 视图层 | 页脚左侧区域开始 |
| footer_footer_left_end.htm | footer_nav.inc.htm | 视图层 | 页脚左侧区域结束 |
| footer_footer_right_start.htm | footer_nav.inc.htm | 视图层 | 页脚右侧区域开始 |
| footer_footer_right_end.htm | footer_nav.inc.htm | 视图层 | 页脚右侧区域结束 |
| forum_start.htm | forum.htm | 视图层 | 版块页面开始 |
| forum_breadcrumb_before.htm | forum.htm | 视图层 | 面包屑导航前 |
| forum_breadcrumb.htm | forum.htm | 视图层 | 面包屑导航位置 |
| forum_breadcrumb_after.htm | forum.htm | 视图层 | 面包屑导航后 |
| forum_thread_list_nav_item_after.htm | forum.htm | 视图层 | 主题列表导航项后 |
| forum_thread_list_dropdown_before.htm | forum.htm | 视图层 | 主题下拉菜单前 |
| forum_thread_list_dropdown_toggle.htm | forum.htm | 视图层 | 主题下拉切换按钮 |
| forum_thread_list_dropdown_menu.htm | forum.htm | 视图层 | 主题下拉菜单内容 |
| forum_thread_list_dropdown_after.htm | forum.htm | 视图层 | 主题下拉菜单后 |
| forum_threadlist_before.htm | forum.htm | 视图层 | 主题列表前 |
| forum_threadlist_after.htm | forum.htm | 视图层 | 主题列表后 |
| forum_page_before.htm | forum.htm | 视图层 | 分页前 |
| forum_page_after.htm | forum.htm | 视图层 | 分页后 |
| forum_brief_before.htm | forum.htm | 视图层 | 版块简介前 |
| forum_brief_after.htm | forum.htm | 视图层 | 版块简介后 |
| forum_todaythreads_after.htm | forum.htm | 视图层 | 今日帖子数后 |
| forum_mod_before.htm | forum.htm | 视图层 | 版主信息前 |
| forum_mod_after.htm | forum.htm | 视图层 | 版主信息后 |
| forum_end.htm | forum.htm | 视图层 | 版块页面结束 |
| forum_js.htm | forum.htm | 视图层 | 版块页面JS区域 |
| header_start.htm | header.inc.htm | 视图层 | 页头开始 |
| header_meta_before.htm | header.inc.htm | 视图层 | meta标签前 |
| header_link_before.htm | header.inc.htm | 视图层 | link标签前 |
| header_bootstrap_before.htm | header.inc.htm | 视图层 | Bootstrap加载前 |
| header_bootstrap_after.htm | header.inc.htm | 视图层 | Bootstrap加载后 |
| header_bootstrap_bbs_before.htm | header.inc.htm | 视图层 | BBS样式前 |
| header_bootstrap_bbs_after.htm | header.inc.htm | 视图层 | BBS样式后 |
| header_link_after.htm | header.inc.htm | 视图层 | link标签后 |
| header_body_start.htm | header.inc.htm | 视图层 | body标签开始 |
| body_start.htm | header.inc.htm | 视图层 | body内容开始 |
| header_nav_start.htm | header_nav.inc.htm | 视图层 | 导航栏开始 |
| header_nav_logo_before.htm | header_nav.inc.htm | 视图层 | Logo前 |
| header_nav_logo_after.htm | header_nav.inc.htm | 视图层 | Logo后 |
| header_nav_forum_start.htm | header_nav.inc.htm | 视图层 | 版块导航开始 |
| header_nav_home_link_after.htm | header_nav.inc.htm | 视图层 | 首页链接后 |
| header_nav_forumlist_loop_start.htm | header_nav.inc.htm | 视图层 | 版块列表循环开始 |
| header_nav_forumlist_loop_end.htm | header_nav.inc.htm | 视图层 | 版块列表循环结束 |
| header_nav_forum_end.htm | header_nav.inc.htm | 视图层 | 版块导航结束 |
| header_nav_user_start.htm | header_nav.inc.htm | 视图层 | 用户导航开始 |
| header_nav_admin_page_after.htm | header_nav.inc.htm | 视图层 | 管理页面链接后 |
| header_nav_user_end.htm | header_nav.inc.htm | 视图层 | 用户导航结束 |
| header_nav_end.htm | header_nav.inc.htm | 视图层 | 导航栏结束 |
| index_start.htm | index.htm | 视图层 | 首页开始 |
| index_main_start.htm | index.htm | 视图层 | 首页主区域开始 |
| index_thread_list_nav_item_after.htm | index.htm | 视图层 | 主题列表导航项后 |
| index_threadlist_before.htm | index.htm | 视图层 | 主题列表前 |
| index_threadlist_after.htm | index.htm | 视图层 | 主题列表后 |
| index_page_before.htm | index.htm | 视图层 | 分页前 |
| index_page_end.htm | index.htm | 视图层 | 分页结束 |
| index_site_brief_before.htm | index.htm | 视图层 | 站点简介前 |
| index_site_brief_start.htm | index.htm | 视图层 | 站点简介开始 |
| index_site_brief_end.htm | index.htm | 视图层 | 站点简介结束 |
| index_site_brief_after.htm | index.htm | 视图层 | 站点简介后 |
| index_end.htm | index.htm | 视图层 | 首页结束 |
| index_js.htm | index.htm | 视图层 | 首页JS区域 |
| message_start.htm | message.htm | 视图层 | 消息页面开始 |
| message_message_before.htm | message.htm | 视图层 | 消息内容前 |
| message_message_after.htm | message.htm | 视图层 | 消息内容后 |
| message_title_after.htm | message.htm | 视图层 | 消息标题后 |
| message_end.htm | message.htm | 视图层 | 消息页面结束 |
| message_js.htm | message.htm | 视图层 | 消息页面JS |
| my_common_start.htm | my.common.template.htm | 视图层 | 个人中心公共模板开始 |
| my_common_mobile_my_before.htm | my.common.template.htm | 视图层 | 移动端个人中心前 |
| my_common_mobile_my_after.htm | my.common.template.htm | 视图层 | 移动端个人中心后 |
| my_common_mobile_my_thread_before.htm | my.common.template.htm | 视图层 | 移动端我的主题前 |
| my_common_mobile_my_thread_after.htm | my.common.template.htm | 视图层 | 移动端我的主题后 |
| my_common_avatar_before.htm | my.common.template.htm | 视图层 | 头像前 |
| my_common_username_after.htm | my.common.template.htm | 视图层 | 用户名后 |
| my_common_my_before.htm | my.common.template.htm | 视图层 | 个人中心前 |
| my_common_my_after.htm | my.common.template.htm | 视图层 | 个人中心后 |
| my_common_my_thread_before.htm | my.common.template.htm | 视图层 | 我的主题前 |
| my_common_my_thread_after.htm | my.common.template.htm | 视图层 | 我的主题后 |
| my_common_main_card_before.htm | my.common.template.htm | 视图层 | 主卡片前 |
| my_common_my_nav_slot_before.htm | my.common.template.htm | 视图层 | 导航槽前 |
| my_common_my_nav_slot_after.htm | my.common.template.htm | 视图层 | 导航槽后 |
| my_common_my_body_slot_before.htm | my.common.template.htm | 视图层 | 内容槽前 |
| my_common_my_body_slot_after.htm | my.common.template.htm | 视图层 | 内容槽后 |
| my_common_main_card_after.htm | my.common.template.htm | 视图层 | 主卡片后 |
| my_common_end.htm | my.common.template.htm | 视图层 | 个人中心公共模板结束 |
| my_common_js.htm | my.common.template.htm | 视图层 | 个人中心JS |
| my_profile_posts_after.htm | my.htm | 视图层 | 个人资料帖子数后 |
| my_profile_login_date_after.htm | my.htm | 视图层 | 登录日期后 |
| my_nav_start.htm | my.template.htm | 视图层 | 个人中心导航开始 |
| my_nav_profile_before.htm | my.template.htm | 视图层 | 资料导航前 |
| my_nav_profile_after.htm | my.template.htm | 视图层 | 资料导航后 |
| my_nav_password_before.htm | my.template.htm | 视图层 | 密码导航前 |
| my_nav_password_after.htm | my.template.htm | 视图层 | 密码导航后 |
| my_nav_avatar_before.htm | my.template.htm | 视图层 | 头像导航前 |
| my_nav_avatar_after.htm | my.template.htm | 视图层 | 头像导航后 |
| my_nav_end.htm | my.template.htm | 视图层 | 个人中心导航结束 |
| hook post_list_inc_start.htm | post_list.inc.htm | 视图层 | 帖子列表开始 |
| hook post_list_inc_avatar_after.htm | post_list.inc.htm | 视图层 | 帖子头像后 |
| hook post_list_inc_username_before.htm | post_list.inc.htm | 视图层 | 帖子用户名前 |
| hook post_list_inc_username_after.htm | post_list.inc.htm | 视图层 | 帖子用户名后 |
| hook post_list_inc_create_date_before.htm | post_list.inc.htm | 视图层 | 创建日期前 |
| hook post_list_inc_create_date_after.htm | post_list.inc.htm | 视图层 | 创建日期后 |
| hook post_list_inc_quote_before.htm | post_list.inc.htm | 视图层 | 引用按钮前 |
| hook post_list_inc_quote_after.htm | post_list.inc.htm | 视图层 | 引用按钮后 |
| hook post_list_inc_update_before.htm | post_list.inc.htm | 视图层 | 编辑按钮前 |
| hook post_list_inc_update_after.htm | post_list.inc.htm | 视图层 | 编辑按钮后 |
| hook post_list_inc_delete_before.htm | post_list.inc.htm | 视图层 | 删除按钮前 |
| hook post_list_inc_delete_after.htm | post_list.inc.htm | 视图层 | 删除按钮后 |
| hook post_list_inc_floor_before.htm | post_list.inc.htm | 视图层 | 楼层号前 |
| hook post_list_inc_floor_after.htm | post_list.inc.htm | 视图层 | 楼层号后 |
| hook post_list_inc_subject_before.htm | post_list.inc.htm | 视图层 | 帖子标题前 |
| hook post_list_inc_subject_after.htm | post_list.inc.htm | 视图层 | 帖子标题后 |
| hook post_list_inc_message_before.htm | post_list.inc.htm | 视图层 | 帖子内容前 |
| hook post_list_inc_message_after.htm | post_list.inc.htm | 视图层 | 帖子内容后 |
| hook post_list_inc_filelist_before.htm | post_list.inc.htm | 视图层 | 附件列表前 |
| hook post_list_inc_filelist_after.htm | post_list.inc.htm | 视图层 | 附件列表后 |
| hook post_list_inc_end.htm | post_list.inc.htm | 视图层 | 帖子列表结束 |
| post_start.htm | post.htm | 视图层 | 发帖页面开始 |
| post_fid_before.htm | post.htm | 视图层 | 版块选择前 |
| post_fid_select_before.htm | post.htm | 视图层 | 版块下拉前 |
| post_fid_select_after.htm | post.htm | 视图层 | 版块下拉后 |
| post_subject_before.htm | post.htm | 视图层 | 标题前 |
| post_subject_after.htm | post.htm | 视图层 | 标题后 |
| post_message_after.htm | post.htm | 视图层 | 内容编辑器后 |
| post_bottom_right.htm | post.htm | 视图层 | 底部右侧 |
| post_bottom_left.htm | post.htm | 视图层 | 底部左侧 |
| post_submit_after.htm | post.htm | 视图层 | 提交按钮后 |
| post_end.htm | post.htm | 视图层 | 发帖页面结束 |
| post_js.htm | post.htm | 视图层 | 发帖页面JS |
| thread_list_mod_delete_before.htm | thread_list_mod.inc.htm | 视图层 | 主题删除按钮前 |
| thread_list_mod_delete_after.htm | thread_list_mod.inc.htm | 视图层 | 主题删除按钮后 |
| thread_list_mod_top_before.htm | thread_list_mod.inc.htm | 视图层 | 置顶按钮前 |
| thread_list_mod_top_after.htm | thread_list_mod.inc.htm | 视图层 | 置顶按钮后 |
| thread_list_mod_close_after.htm | thread_list_mod.inc.htm | 视图层 | 关闭按钮后 |
| thread_list_inc_start.htm | thread_list.inc.htm | 视图层 | 主题列表开始 |
| thread_list_inc_avatar_after.htm | thread_list.inc.htm | 视图层 | 头像后 |
| thread_list_inc_top_icon_before.htm | thread_list.inc.htm | 视图层 | 置顶图标前 |
| thread_list_inc_subject_top_after.htm | thread_list.inc.htm | 视图层 | 置顶标题后 |
| thread_list_inc_subject_before.htm | thread_list.inc.htm | 视图层 | 标题前 |
| thread_list_inc_subject_after.htm | thread_list.inc.htm | 视图层 | 标题后 |
| thread_list_inc_filetype_icon_before.htm | thread_list.inc.htm | 视图层 | 文件类型图标前 |
| thread_list_inc_filetype_icon_after.htm | thread_list.inc.htm | 视图层 | 文件类型图标后 |
| thread_list_inc_lock_icon_before.htm | thread_list.inc.htm | 视图层 | 锁定图标前 |
| thread_list_inc_lock_icon_after.htm | thread_list.inc.htm | 视图层 | 锁定图标后 |
| thread_list_inc_username_before.htm | thread_list.inc.htm | 视图层 | 用户名前 |
| thread_list_inc_username_after.htm | thread_list.inc.htm | 视图层 | 用户名后 |
| thread_list_inc_lastuid_before.htm | thread_list.inc.htm | 视图层 | 最后回复UID前 |
| thread_list_inc_lastuid_after.htm | thread_list.inc.htm | 视图层 | 最后回复UID后 |
| thread_list_inc_view_before.htm | thread_list.inc.htm | 视图层 | 浏览数前 |
| thread_list_inc_view_after.htm | thread_list.inc.htm | 视图层 | 浏览数后 |
| thread_list_inc_posts_before.htm | thread_list.inc.htm | 视图层 | 回复数前 |
| thread_list_inc_posts_after.htm | thread_list.inc.htm | 视图层 | 回复数后 |
| thread_list_inc_end.htm | thread_list.inc.htm | 视图层 | 主题列表结束 |
| thread_start.htm | thread.htm | 视图层 | 主题页面开始 |
| thread_breadcrumb_before.htm | thread.htm | 视图层 | 面包屑前 |
| thread_breadcrumb.htm | thread.htm | 视图层 | 面包屑位置 |
| thread_breadcrumb_after.htm | thread.htm | 视图层 | 面包屑后 |
| thread_subject_before.htm | thread.htm | 视图层 | 主题标题前 |
| thread_subject_start.htm | thread.htm | 视图层 | 主题标题开始 |
| thread_subject_end.htm | thread.htm | 视图层 | 主题标题结束 |
| thread_subject_after.htm | thread.htm | 视图层 | 主题标题后 |
| thread_username_before.htm | thread.htm | 视图层 | 主题用户名前 |
| thread_views_after.htm | thread.htm | 视图层 | 浏览数后 |
| thread_update_before.htm | thread.htm | 视图层 | 编辑按钮前 |
| thread_delete_after.htm | thread.htm | 视图层 | 删除按钮后 |
| thread_message_before.htm | thread.htm | 视图层 | 主题内容前 |
| thread_message_after.htm | thread.htm | 视图层 | 主题内容后 |
| thread_filelist_after.htm | thread.htm | 视图层 | 附件列表后 |
| thread_message_more_before.htm | thread.htm | 视图层 | 查看更多前 |
| thread_message_more_after.htm | thread.htm | 视图层 | 查看更多后 |
| thread_plugin_before.htm | thread.htm | 视图层 | 插件区域前 |
| thread_plugin_body.htm | thread.htm | 视图层 | 插件主体区域 |
| thread_plugin_after.htm | thread.htm | 视图层 | 插件区域后 |
| thread_postlist_before.htm | thread.htm | 视图层 | 回复列表前 |
| thread_post_list_title_middle.htm | thread.htm | 视图层 | 回复标题中间 |
| thread_post_list_title_right.htm | thread.htm | 视图层 | 回复标题右侧 |
| thread_quick_reply_message_before.htm | thread.htm | 视图层 | 快速回复内容前 |
| thread_quick_reply_message_after.htm | thread.htm | 视图层 | 快速回复内容后 |
| thread_quick_reply_left_start.htm | thread.htm | 视图层 | 快速回复左侧开始 |
| thread_quick_reply_left_end.htm | thread.htm | 视图层 | 快速回复左侧结束 |
| thread_quick_reply_right_start.htm | thread.htm | 视图层 | 快速回复右侧开始 |
| thread_quick_reply_right_end.htm | thread.htm | 视图层 | 快速回复右侧结束 |
| thread_quick_reply_submit_after.htm | thread.htm | 视图层 | 快速回复提交后 |
| thread_postlist_after.htm | thread.htm | 视图层 | 回复列表后 |
| thread_page_after.htm | thread.htm | 视图层 | 分页后 |
| thread_user_username_after.htm | thread.htm | 视图层 | 用户名后 |
| thread_user_threads_after.htm | thread.htm | 视图层 | 用户主题数后 |
| thread_user_posts_after.htm | thread.htm | 视图层 | 用户帖子数后 |
| thread_user_uid_after.htm | thread.htm | 视图层 | 用户UID后 |
| thread_user_after.htm | thread.htm | 视图层 | 用户信息后 |
| thread_end.htm | thread.htm | 视图层 | 主题页面结束 |
| thread_js.htm | thread.htm | 视图层 | 主题页面JS |
| user_create_start.htm | user_create.htm | 视图层 | 用户注册开始 |
| user_create_card_before.htm | user_create.htm | 视图层 | 注册卡片前 |
| user_create_title_after.htm | user_create.htm | 视图层 | 注册标题后 |
| user_create_email_after.htm | user_create.htm | 视图层 | 邮箱输入后 |
| user_create_username_after.htm | user_create.htm | 视图层 | 用户名输入后 |
| user_create_password_after.htm | user_create.htm | 视图层 | 密码输入后 |
| user_create_submit_after.htm | user_create.htm | 视图层 | 提交按钮后 |
| user_create_form_footer_left.htm | user_create.htm | 视图层 | 表单底部左侧 |
| user_create_form_footer_right_start.htm | user_create.htm | 视图层 | 表单底部右侧开始 |
| user_create_form_footer_right_end.htm | user_create.htm | 视图层 | 表单底部右侧结束 |
| user_create_card_after.htm | user_create.htm | 视图层 | 注册卡片后 |
| user_create_end.htm | user_create.htm | 视图层 | 用户注册结束 |
| user_create_js.htm | user_create.htm | 视图层 | 注册页面JS |
| user_login_start.htm | user_login.htm | 视图层 | 用户登录开始 |
| user_login_title_after.htm | user_login.htm | 视图层 | 登录标题后 |
| user_login_email_after.htm | user_login.htm | 视图层 | 邮箱输入后 |
| user_login_password_after.htm | user_login.htm | 视图层 | 密码输入后 |
| user_login_submit_after.htm | user_login.htm | 视图层 | 提交按钮后 |
| user_login_form_footer_left.htm | user_login.htm | 视图层 | 表单底部左侧 |
| user_login_form_footer_right_start.htm | user_login.htm | 视图层 | 表单底部右侧开始 |
| user_login_form_footer_right_end.htm | user_login.htm | 视图层 | 表单底部右侧结束 |
| user_login_card_after.htm | user_login.htm | 视图层 | 登录卡片后 |
| user_login_end.htm | user_login.htm | 视图层 | 用户登录结束 |
| user_login_js.htm | user_login.htm | 视图层 | 登录页面JS |
| user_create_card_title.htm | user_resetpw_complete.htm | 视图层 | 重置密码完成标题 |
| user_resetpw_email_before.htm | user_resetpw.htm | 视图层 | 重置密码邮箱前 |
| user_resetpw_email_after.htm | user_resetpw.htm | 视图层 | 重置密码邮箱后 |
| user_resetpw_verify_code_before.htm | user_resetpw.htm | 视图层 | 验证码前 |
| user_resetpw_verify_code_after.htm | user_resetpw.htm | 视图层 | 验证码后 |
| user_nav_thread_before.htm | user_thread.template.htm | 视图层 | 用户主题导航前 |
| user_nav_thread_after.htm | user_thread.template.htm | 视图层 | 用户主题导航后 |
| user_index_start.htm | user.common.template.htm | 视图层 | 用户主页开始 |
| user_common_mobile_user_before.htm | user.common.template.htm | 视图层 | 移动端用户信息前 |
| user_common_mobile_user_after.htm | user.common.template.htm | 视图层 | 移动端用户信息后 |
| user_common_mobile_thread_before.htm | user.common.template.htm | 视图层 | 移动端主题前 |
| user_common_mobile_thread_after.htm | user.common.template.htm | 视图层 | 移动端主题后 |
| user_profile_username_after.htm | user.common.template.htm | 视图层 | 用户名后 |
| user_common_user_before.htm | user.common.template.htm | 视图层 | 用户信息前 |
| user_common_user_after.htm | user.common.template.htm | 视图层 | 用户信息后 |
| user_common_thread_before.htm | user.common.template.htm | 视图层 | 用户主题前 |
| user_common_thread_after.htm | user.common.template.htm | 视图层 | 用户主题后 |
| user_common_main_card_before.htm | user.common.template.htm | 视图层 | 主卡片前 |
| user_common_user_nav_slot_before.htm | user.common.template.htm | 视图层 | 用户导航槽前 |
| user_common_user_nav_slot_after.htm | user.common.template.htm | 视图层 | 用户导航槽后 |
| user_common_body_slot_before.htm | user.common.template.htm | 视图层 | 内容槽前 |
| user_common_body_slot_after.htm | user.common.template.htm | 视图层 | 内容槽后 |
| user_common_main_card_after.htm | user.common.template.htm | 视图层 | 主卡片后 |
| user_index_end.htm | user.common.template.htm | 视图层 | 用户主页结束 |
| user_index_js.htm | user.common.template.htm | 视图层 | 用户主页JS |
| user_nav_profile_before.htm | user.template.htm | 视图层 | 用户资料导航前 |
| user_nav_profile_after.htm | user.template.htm | 视图层 | 用户资料导航后 |
---
### 2. vanilla-admin 插件 Hook点 (97个)
| Hook名称 | 所在文件 | 层级 | 典型用途 |
|----------|----------|------|----------|
| admin_footer_start.htm | footer.inc.htm | 视图层 | 后台页脚开始 |
| admin_footer_footer_before.htm | footer.inc.htm | 视图层 | 后台页脚内容前 |
| footer_footer_left_start.htm | footer.inc.htm | 视图层 | 后台页脚左侧开始 |
| footer_footer_left_end.htm | footer.inc.htm | 视图层 | 后台页脚左侧结束 |
| footer_footer_right_start.htm | footer.inc.htm | 视图层 | 后台页脚右侧开始 |
| footer_footer_right_end.htm | footer.inc.htm | 视图层 | 后台页脚右侧结束 |
| admin_footer_footer_after.htm | footer.inc.htm | 视图层 | 后台页脚内容后 |
| admin_footer_js_before.htm | footer.inc.htm | 视图层 | 后台JS前 |
| admin_footer_js_after.htm | footer.inc.htm | 视图层 | 后台JS后 |
| admin_footer_end.htm | footer.inc.htm | 视图层 | 后台页脚结束 |
| admin_forum_list_start.htm | forum_list.htm | 视图层 | 版块列表开始 |
| admin_forum_list_end.htm | forum_list.htm | 视图层 | 版块列表结束 |
| admin_forum_list_js.htm | forum_list.htm | 视图层 | 版块列表JS |
| admin_forum_update_start.htm | forum_update.htm | 视图层 | 版块编辑开始 |
| admin_forum_update_forum_name_after.htm | forum_update.htm | 视图层 | 版块名称后 |
| admin_forum_update_forum_rank_after.htm | forum_update.htm | 视图层 | 版块排序后 |
| admin_forum_update_forum_brief_after.htm | forum_update.htm | 视图层 | 版块简介后 |
| admin_forum_update_forum_announcement_after.htm | forum_update.htm | 视图层 | 版块公告后 |
| admin_forum_update_privilete_before.htm | forum_update.htm | 视图层 | 权限设置前 |
| admin_forum_update_access_title_end.htm | forum_update.htm | 视图层 | 访问权限标题后 |
| admin_forum_update_access_input_end.htm | forum_update.htm | 视图层 | 访问权限输入后 |
| admin_forum_update_privilete_after.htm | forum_update.htm | 视图层 | 权限设置后 |
| admin_forum_update_submit_after.htm | forum_update.htm | 视图层 | 提交按钮后 |
| admin_forum_update_end.htm | forum_update.htm | 视图层 | 版块编辑结束 |
| admin_forum_update_js.htm | forum_update.htm | 视图层 | 版块编辑JS |
| admin_group_list_start.htm | group_list.htm | 视图层 | 用户组列表开始 |
| admin_group_list_end.htm | group_list.htm | 视图层 | 用户组列表结束 |
| admin_group_list_js.htm | group_list.htm | 视图层 | 用户组列表JS |
| admin_group_update_start.htm | group_update.htm | 视图层 | 用户组编辑开始 |
| admin_group_update_end.htm | group_update.htm | 视图层 | 用户组编辑结束 |
| admin_group_update_js.htm | group_update.htm | 视图层 | 用户组编辑JS |
| admin_header_nav_start.htm | header.inc.htm | 视图层 | 后台导航开始 |
| admin_header_nav_logo_after.htm | header.inc.htm | 视图层 | 后台Logo后 |
| admin_header_nav_start.htm | header.inc.htm | 视图层 | 后台导航开始 |
| admin_header_nav_end.htm | header.inc.htm | 视图层 | 后台导航结束 |
| admin_header_nav_user_start.htm | header.inc.htm | 视图层 | 后台用户导航开始 |
| admin_header_nav_user_end.htm | header.inc.htm | 视图层 | 后台用户导航结束 |
| admin_header_nav_footer.htm | header.inc.htm | 视图层 | 后台导航页脚 |
| admin_header_meta_before.htm | header.inc.htm | 视图层 | 后台meta前 |
| admin_header_bootstrap_before.htm | header.inc.htm | 视图层 | 后台Bootstrap前 |
| admin_header_bootstrap_after.htm | header.inc.htm | 视图层 | 后台Bootstrap后 |
| admin_header_bootstrap_bbs_before.htm | header.inc.htm | 视图层 | 后台BBS样式前 |
| admin_header_bootstrap_bbs_after.htm | header.inc.htm | 视图层 | 后台BBS样式后 |
| admin_header_admin_css_before.htm | header.inc.htm | 视图层 | 后台CSS前 |
| admin_header_admin_css_after.htm | header.inc.htm | 视图层 | 后台CSS后 |
| admin_header_css_after.htm | header.inc.htm | 视图层 | 后台CSS后 |
| admin_header_body_start.htm | header.inc.htm | 视图层 | 后台body开始 |
| admin_body_start.htm | header.inc.htm | 视图层 | 后台body内容开始 |
| admin_index_login_start.htm | index_login.htm | 视图层 | 后台登录开始 |
| admin_index_login_end.htm | index_login.htm | 视图层 | 后台登录结束 |
| admin_index_login_js.htm | index_login.htm | 视图层 | 后台登录JS |
| admin_index_start.htm | index.htm | 视图层 | 后台首页开始 |
| admin_index_site_stat_before.htm | index.htm | 视图层 | 站点统计前 |
| admin_index_server_info_before.htm | index.htm | 视图层 | 服务器信息前 |
| admin_index_team_before.htm | index.htm | 视图层 | 团队信息前 |
| admin_index_team_after.htm | index.htm | 视图层 | 团队信息后 |
| admin_index_end.htm | index.htm | 视图层 | 后台首页结束 |
| admin_index_js.htm | index.htm | 视图层 | 后台首页JS |
| admin_message_start.htm | message.htm | 视图层 | 后台消息开始 |
| admin_message_message_after.htm | message.htm | 视图层 | 后台消息内容后 |
| admin_message_end.htm | message.htm | 视图层 | 后台消息结束 |
| admin_message_js.htm | message.htm | 视图层 | 后台消息JS |
| admin_other_cache_start.htm | other_cache.htm | 视图层 | 缓存管理开始 |
| admin_other_cache_end.htm | other_cache.htm | 视图层 | 缓存管理结束 |
| admin_other_cache_js.htm | other_cache.htm | 视图层 | 缓存管理JS |
| admin_setting_base_start.htm | setting_base.htm | 视图层 | 基本设置开始 |
| admin_setting_sitename_before.htm | setting_base.htm | 视图层 | 站点名称前 |
| admin_setting_sitename_after.htm | setting_base.htm | 视图层 | 站点名称后 |
| admin_setting_sitebrief_after.htm | setting_base.htm | 视图层 | 站点简介后 |
| admin_setting_runlevel_after.htm | setting_base.htm | 视图层 | 运行级别后 |
| admin_setting_base_lang_after.htm | setting_base.htm | 视图层 | 语言设置后 |
| admin_setting_base_end.htm | setting_base.htm | 视图层 | 基本设置结束 |
| admin_setting_base_js.htm | setting_base.htm | 视图层 | 基本设置JS |
| admin_setting_smtp_start.htm | setting_smtp.htm | 视图层 | SMTP设置开始 |
| admin_setting_smtp_end.htm | setting_smtp.htm | 视图层 | SMTP设置结束 |
| admin_setting_smtp_js.htm | setting_smtp.htm | 视图层 | SMTP设置JS |
| admin_thread_found_start.htm | thread_found.htm | 视图层 | 主题查找开始 |
| admin_thread_found_end.htm | thread_found.htm | 视图层 | 主题查找结束 |
| admin_thread_found_js.htm | thread_found.htm | 视图层 | 主题查找JS |
| admin_thread_list_start.htm | thread_list.htm | 视图层 | 主题列表开始 |
| admin_thread_list_search_before.htm | thread_list.htm | 视图层 | 主题搜索前 |
| admin_thread_list_delete_after.htm | thread_list.htm | 视图层 | 主题删除后 |
| admin_thread_list_end.htm | thread_list.htm | 视图层 | 主题列表结束 |
| admin_thread_list_js.htm | thread_list.htm | 视图层 | 主题列表JS |
| admin_user_create_start.htm | user_create.htm | 视图层 | 后台创建用户开始 |
| admin_user_create_end.htm | user_create.htm | 视图层 | 后台创建用户结束 |
| admin_user_create_js.htm | user_create.htm | 视图层 | 后台创建用户JS |
| admin_user_list_start.htm | user_list.htm | 视图层 | 用户列表开始 |
| admin_user_list_option_create_ip_after.htm | user_list.htm | 视图层 | 创建IP选项后 |
| admin_user_list_id_th_after.htm | user_list.htm | 视图层 | ID表头后 |
| admin_user_list_id_td_after.htm | user_list.htm | 视图层 | ID单元格后 |
| admin_user_list_end.htm | user_list.htm | 视图层 | 用户列表结束 |
| admin_user_list_js.htm | user_list.htm | 视图层 | 用户列表JS |
| admin_user_update_start.htm | user_update.htm | 视图层 | 用户编辑开始 |
| admin_user_update_group_after.htm | user_update.htm | 视图层 | 用户组后 |
| admin_user_update_end.htm | user_update.htm | 视图层 | 用户编辑结束 |
| admin_user_update_js.htm | user_update.htm | 视图层 | 用户编辑JS |
---
### 3. 其他插件 Hook点 (94个)
#### 3.1 xn_vcode 插件 (2个)
| Hook名称 | 所在文件 | 层级 | 典型用途 |
|----------|----------|------|----------|
| plugin_vcode_setting_thread_create_on_after.htm | setting.htm | 视图层 | 验证码设置项 |
| plugin_vcode_setting_thread_create_on_after.htm | setting.htm | 视图层 | 验证码设置项 |
#### 3.2 tt_credits 插件 (5个)
| Hook名称 | 所在文件 | 层级 | 典型用途 |
|----------|----------|------|----------|
| my_nav_credits_before.htm | view/htm/my_credits.template.htm | 视图层 | 积分导航前 |
| my_nav_credits_after.htm | view/htm/my_credits.template.htm | 视图层 | 积分导航后 |
| my_credits_after.htm | view/htm/my_credits.htm | 视图层 | 积分页面后 |
| my_credits_script_after.htm | view/htm/my_credits.htm | 视图层 | 积分脚本后 |
| post_message_credits_after.htm | hook/post_message_agter.htm | 视图层 | 帖子积分显示后 |
#### 3.3 huux_timymce 插件 (4个)
| Hook名称 | 所在文件 | 层级 | 典型用途 |
|----------|----------|------|----------|
| huux_tinymce_thread_js_before.htm | hook/thread_js.htm | 视图层 | TinyMCE主题JS前 |
| huux_tinymce_thread_js_after.htm | hook/thread_js.htm | 视图层 | TinyMCE主题JS后 |
| huux_tinymce_post_js_before.htm | hook/post_js.htm | 视图层 | TinyMCE发帖JS前 |
| huux_tinymce_post_js_after.htm | hook/post_js.htm | 视图层 | TinyMCE发帖JS后 |
#### 3.4 huux_notice 插件 (4个)
| Hook名称 | 所在文件 | 层级 | 典型用途 |
|----------|----------|------|----------|
| my_notice_js.htm | view/htm/my_notice.htm | 视图层 | 通知JS |
| my_nav_notice_before.htm | view/htm/my_notice.template.htm | 视图层 | 通知导航前 |
| my_nav_notice_after.htm | view/htm/my_notice.template.htm | 视图层 | 通知导航后 |
#### 3.5 xn_forum_level_3 插件 (3个)
| Hook名称 | 所在文件 | 层级 | 典型用途 |
|----------|----------|------|----------|
| admin_forum_list_start.htm | overwrite/admin/view/htm/forum_list.htm | 视图层 | 三级版块列表开始 |
| admin_forum_list_end.htm | overwrite/admin/view/htm/forum_list.htm | 视图层 | 三级版块列表结束 |
| admin_forum_list_js.htm | overwrite/admin/view/htm/forum_list.htm | 视图层 | 三级版块列表JS |
#### 3.6 xn_forum_merge 插件 (6个)
| Hook名称 | 所在文件 | 层级 | 典型用途 |
|----------|----------|------|----------|
| admin_forum_merge_start.htm | setting.htm | 视图层 | 版块合并开始 |
| admin_forum_merge_forum1_after.htm | setting.htm | 视图层 | 源版块选择后 |
| admin_forum_merge_forum2_after.htm | setting.htm | 视图层 | 目标版块选择后 |
| admin_forum_merge_submit_after.htm | setting.htm | 视图层 | 合并提交后 |
| admin_forum_merge_end.htm | setting.htm | 视图层 | 版块合并结束 |
| admin_forum_merge_js.htm | setting.htm | 视图层 | 版块合并JS |
#### 3.7 xn_mypost 插件 (4个)
| Hook名称 | 所在文件 | 层级 | 典型用途 |
|----------|----------|------|----------|
| user_post_start.htm | view/htm/user_post.htm | 视图层 | 用户帖子开始 |
| user_post_page_after.htm | view/htm/user_post.htm | 视图层 | 用户帖子分页后 |
| user_post_end.htm | view/htm/user_post.htm | 视图层 | 用户帖子结束 |
| user_post_js.htm | view/htm/user_post.htm | 视图层 | 用户帖子JS |
#### 3.8 xn_nav_2 插件 (51个)
| Hook名称 | 所在文件 | 层级 | 典型用途 |
|----------|----------|------|----------|
| header_nav_2_start.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 导航2开始 |
| header_nav_2_pc_logo_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端Logo前 |
| header_nav_2_pc_logo_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端Logo后 |
| header_nav_2_pc_forum_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端版块前 |
| header_nav_2_pc_forum_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端版块后 |
| header_nav_2_pc_bbs_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端BBS前 |
| header_nav_2_pc_bbs_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端BBS后 |
| header_nav_2_pc_user_start.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端用户开始 |
| header_nav_2_pc_user_login_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端登录前 |
| header_nav_2_pc_user_login_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端登录后 |
| header_nav_2_pc_user_name_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端用户名前 |
| header_nav_2_pc_admin_page_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端管理页面后 |
| header_nav_2_pc_user_logout_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端退出前 |
| header_nav_2_pc_user_logout_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端退出后 |
| header_nav_2_user_pc_end.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端用户结束 |
| header_nav_2_pc_forum_start.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端版块开始 |
| header_nav_2_pc_forumlist_loop_start.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端版块列表循环开始 |
| header_nav_2_pc_forumlist_loop_end.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端版块列表循环结束 |
| header_nav_2_pc_forum_end.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | PC端版块结束 |
| header_nav_2_toggler_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 折叠按钮前 |
| header_nav_2_toggler_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 折叠按钮后 |
| header_nav_2_logo_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | Logo前 |
| header_nav_2_logo_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | Logo后 |
| header_nav_2_user_icon_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 用户图标前 |
| header_nav_2_user_icon_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 用户图标后 |
| header_nav_2_channel_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 频道前 |
| header_nav_2_channel_index_page_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 频道首页前 |
| header_nav_2_channel_index_page_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 频道首页后 |
| header_nav_2_channel_bbs_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 频道BBS前 |
| header_nav_2_channel_bbs_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 频道BBS后 |
| header_nav_2_channel_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 频道后 |
| header_nav_2_forumlist_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 版块列表前 |
| header_nav_2_forumlist_loop_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 版块列表循环前 |
| header_nav_2_forumlist_loop_start.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 版块列表循环开始 |
| header_nav_2_forumlist_loop_end.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 版块列表循环结束 |
| header_nav_2_forumlist_loop_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 版块列表循环后 |
| header_nav_2_forumlist_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 版块列表后 |
| header_nav_2_my_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 我的导航前 |
| header_nav_2_my_profile_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 我的资料前 |
| header_nav_2_my_profile_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 我的资料后 |
| header_nav_2_my_thread_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 我的主题前 |
| header_nav_2_my_thread_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 我的主题后 |
| header_nav_2_my_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 我的导航后 |
| header_nav_2_user_info_before.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 用户信息前 |
| header_nav_2_user_info_start.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 用户信息开始 |
| header_nav_2_user_info_name_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 用户名后 |
| header_nav_2_user_info_login_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 登录信息后 |
| header_nav_2_user_info_end.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 用户信息结束 |
| header_nav_2_user_info_after.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 用户信息后 |
| header_nav_2_end.htm | overwrite/view/htm/header_nav.inc.htm | 视图层 | 导航2结束 |
#### 3.9 xn_search 插件 (11个)
| Hook名称 | 所在文件 | 层级 | 典型用途 |
|----------|----------|------|----------|
| search_start.htm | htm/search.htm | 视图层 | 搜索页面开始 |
| search_thread_list_nav_item_after.htm | htm/search.htm | 视图层 | 搜索导航项后 |
| search_threadlist_before.htm | htm/search.htm | 视图层 | 搜索结果列表前 |
| search_threadlist_after.htm | htm/search.htm | 视图层 | 搜索结果列表后 |
| search_page_before.htm | htm/search.htm | 视图层 | 搜索分页前 |
| search_page_end.htm | htm/search.htm | 视图层 | 搜索分页结束 |
| search_post_list_title_right.htm | htm/search.htm | 视图层 | 搜索标题右侧 |
| search_postlist_before.htm | htm/search.htm | 视图层 | 搜索回复列表前 |
| search_end.htm | htm/search.htm | 视图层 | 搜索页面结束 |
| search_js.htm | htm/search.htm | 视图层 | 搜索页面JS |
#### 3.10 xn_umeditor 插件 (2个)
| Hook名称 | 所在文件 | 层级 | 典型用途 |
|----------|----------|------|----------|
| plugin_umeditor_js_config_after.htm | hook/post_js.htm | 视图层 | UM编辑器配置后 |
| plugin_umeditor_js_css_after.htm | hook/post_js.htm | 视图层 | UM编辑器CSS后 |
---
## 二、按层级分类统计
| 层级 | 数量 | 占比 |
|------|------|------|
| 视图层Hook | 443个 | 100% |
> **说明**: Xiuno BBS 的 Hook 机制主要基于模板文件实现,所有 Hook 点都位于视图层,通过在模板文件中插入 `` 标记来实现插件扩展。
---
## 三、每个模板文件的Hook点分布
### 3.1 前台模板文件 (vanilla)
| 模板文件 | Hook数量 | 主要用途 |
|----------|----------|----------|
| footer.inc.htm | 7个 | 页脚区域扩展 |
| footer_nav.inc.htm | 4个 | 页脚导航扩展 |
| forum.htm | 20个 | 版块页面扩展 |
| header.inc.htm | 10个 | 页头区域扩展 |
| header_nav.inc.htm | 12个 | 导航栏扩展 |
| index.htm | 13个 | 首页扩展 |
| message.htm | 6个 | 消息页面扩展 |
| my.common.template.htm | 19个 | 个人中心公共模板扩展 |
| my.template.htm | 8个 | 个人中心模板扩展 |
| post_list.inc.htm | 21个 | 帖子列表扩展 |
| post.htm | 12个 | 发帖页面扩展 |
| thread_list_mod.inc.htm | 5个 | 主题管理扩展 |
| thread_list.inc.htm | 19个 | 主题列表扩展 |
| thread.htm | 39个 | 主题页面扩展 |
| user_create.htm | 13个 | 用户注册扩展 |
| user_login.htm | 11个 | 用户登录扩展 |
| user_resetpw.htm | 4个 | 密码重置扩展 |
| user_resetpw_complete.htm | 1个 | 密码重置完成扩展 |
| user.common.template.htm | 18个 | 用户公共模板扩展 |
| user.template.htm | 2个 | 用户模板扩展 |
### 3.2 后台模板文件 (vanilla-admin)
| 模板文件 | Hook数量 | 主要用途 |
|----------|----------|----------|
| footer.inc.htm | 10个 | 后台页脚扩展 |
| forum_list.htm | 3个 | 版块列表管理扩展 |
| forum_update.htm | 13个 | 版块编辑扩展 |
| group_list.htm | 3个 | 用户组列表扩展 |
| group_update.htm | 3个 | 用户组编辑扩展 |
| header.inc.htm | 18个 | 后台页头扩展 |
| index_login.htm | 3个 | 后台登录扩展 |
| index.htm | 7个 | 后台首页扩展 |
| message.htm | 4个 | 后台消息扩展 |
| other_cache.htm | 3个 | 缓存管理扩展 |
| setting_base.htm | 8个 | 基本设置扩展 |
| setting_smtp.htm | 3个 | SMTP设置扩展 |
| thread_found.htm | 3个 | 主题查找扩展 |
| thread_list.htm | 5个 | 主题列表管理扩展 |
| user_create.htm | 3个 | 后台创建用户扩展 |
| user_list.htm | 6个 | 用户列表扩展 |
| user_update.htm | 4个 | 用户编辑扩展 |
### 3.3 第三方插件模板文件
| 模板文件 | 归属插件 | Hook数量 |
|----------|----------|----------|
| setting.htm | xn_vcode | 2个 |
| view/htm/my_credits.template.htm | tt_credits | 2个 |
| view/htm/my_credits.htm | tt_credits | 2个 |
| hook/post_message_agter.htm | tt_credits | 1个 |
| hook/thread_js.htm | huux_timymce | 2个 |
| hook/post_js.htm | huux_timymce | 2个 |
| view/htm/my_notice.htm | huux_notice | 2个 |
| view/htm/my_notice.template.htm | huux_notice | 2个 |
| overwrite/admin/view/htm/forum_list.htm | xn_forum_level_3 | 3个 |
| setting.htm | xn_forum_merge | 6个 |
| view/htm/user_post.htm | xn_mypost | 4个 |
| overwrite/view/htm/header_nav.inc.htm | xn_nav_2 | 51个 |
| htm/search.htm | xn_search | 11个 |
| hook/post_js.htm | xn_umeditor | 2个 |
---
## 四、Hook命名规范分析
### 4.1 命名模式
Xiuno BBS 的 Hook 命名遵循以下模式:
```
{页面/模块}_{位置/元素}_{动作}.htm
```
### 4.2 常用位置关键词
| 关键词 | 含义 | 示例 |
|--------|------|------|
| _start | 区域开始 | forum_start.htm |
| _end | 区域结束 | forum_end.htm |
| _before | 元素前 | thread_subject_before.htm |
| _after | 元素后 | thread_subject_after.htm |
| _js | JS脚本区域 | thread_js.htm |
### 4.3 常用页面前缀
| 前缀 | 页面类型 |
|------|----------|
| forum_ | 版块页面 |
| thread_ | 主题页面 |
| post_ | 帖子/发帖页面 |
| index_ | 首页 |
| user_ | 用户相关页面 |
| my_ | 个人中心 |
| header_ | 页头 |
| footer_ | 页脚 |
| admin_ | 后台管理 |
---
## 五、Hook使用建议
### 5.1 开发插件时的Hook选择
1. **优先使用 `_before` 和 `_after` 类Hook** - 这些Hook位置精确,不会破坏原有布局
2. **避免使用 `_start` 和 `_end` 类Hook插入大量内容** - 可能影响页面结构
3. **合理使用 `_js` 类Hook** - 用于添加页面特定的JavaScript代码
### 5.2 常见扩展场景
| 扩展需求 | 推荐Hook |
|----------|----------|
| 添加统计代码 | footer_js_before.htm / footer_js_after.htm |
| 添加自定义导航 | header_nav_forum_end.htm |
| 主题列表添加图标 | thread_list_inc_subject_after.htm |
| 帖子内容扩展 | hook post_list_inc_message_after.htm |
| 用户信息扩展 | thread_user_after.htm |
| 添加第三方登录 | user_login_form_footer_left.htm |
---
## 六、附录:完整Hook清单(按文件排序)
### footer.inc.htm (17个)
- vanilla: footer_start.htm, footer_nav_before.htm, footer_nav_after.htm, footer_js_before.htm, footer_js_after.htm, footer_body_after.htm, footer_end.htm
- vanilla-admin: admin_footer_start.htm, admin_footer_footer_before.htm, admin_footer_footer_after.htm, admin_footer_js_before.htm, admin_footer_js_after.htm, admin_footer_end.htm
- vanilla-admin (重复): footer_footer_left_start.htm, footer_footer_left_end.htm, footer_footer_right_start.htm, footer_footer_right_end.htm
### forum.htm (20个)
- vanilla: forum_start.htm, forum_breadcrumb_before.htm, forum_breadcrumb.htm, forum_breadcrumb_after.htm, forum_thread_list_nav_item_after.htm, forum_thread_list_dropdown_before.htm, forum_thread_list_dropdown_toggle.htm, forum_thread_list_dropdown_menu.htm, forum_thread_list_dropdown_after.htm, forum_threadlist_before.htm, forum_threadlist_after.htm, forum_page_before.htm, forum_page_after.htm, forum_brief_before.htm, forum_brief_after.htm, forum_todaythreads_after.htm, forum_mod_before.htm, forum_mod_after.htm, forum_end.htm, forum_js.htm
### thread.htm (39个)
- vanilla: thread_start.htm, thread_breadcrumb_before.htm, thread_breadcrumb.htm, thread_breadcrumb_after.htm, thread_subject_before.htm, thread_subject_start.htm, thread_subject_end.htm, thread_subject_after.htm, thread_username_before.htm, thread_views_after.htm, thread_update_before.htm, thread_delete_after.htm, thread_message_before.htm, thread_message_after.htm, thread_filelist_after.htm, thread_message_more_before.htm, thread_message_more_after.htm, thread_plugin_before.htm, thread_plugin_body.htm, thread_plugin_after.htm, thread_postlist_before.htm, thread_post_list_title_middle.htm, thread_post_list_title_right.htm, thread_quick_reply_message_before.htm, thread_quick_reply_message_after.htm, thread_quick_reply_left_start.htm, thread_quick_reply_left_end.htm, thread_quick_reply_right_start.htm, thread_quick_reply_right_end.htm, thread_quick_reply_submit_after.htm, thread_postlist_after.htm, thread_page_after.htm, thread_user_username_after.htm, thread_user_threads_after.htm, thread_user_posts_after.htm, thread_user_uid_after.htm, thread_user_after.htm, thread_end.htm, thread_js.htm
---
> 文档生成时间: 2026-03-29
> 数据来源: plugin/till_hookr/_generator/_allhookslist.php