Back to vBulletin 3 Articles

Template hooks list in 3.7.0 and above
by FractalizeR 27 May 2008

A list of template hooks in VBulletin 3.7.0:

Code:
template_hook[inlinemod_post_bottom]
template_hook[inlinemod_thread_bottom]
template_hook[memberinfo_css]
template_hook[navbar_buttons_left]
template_hook[navbar_buttons_right]
template_hook[navbar_quick_links_menu_pos1]
template_hook[navbar_quick_links_menu_pos2]
template_hook[navbar_quick_links_menu_pos3]
template_hook[navbar_quick_links_menu_pos4]
template_hook[navbar_search_menu]
template_hook[postbit_controls]
template_hook[postbit_end]
template_hook[postbit_messagearea_start]
template_hook[postbit_signature_end]
template_hook[postbit_signature_start]
template_hook[postbit_start]
template_hook[postbit_user_popup]
template_hook[postbit_userinfo_left]
template_hook[postbit_userinfo_right]
template_hook[postbit_userinfo_right_after_posts]
template_hook[profile_left_first]
template_hook[profile_left_last]
template_hook[profile_ministats_list]
template_hook[profile_right_album]
template_hook[profile_right_first]
template_hook[profile_right_last]
template_hook[profile_right_mini]
template_hook[profile_stats_first]
template_hook[profile_stats_last]
template_hook[profile_stats_pregeneral]
template_hook[usercp_main_pos1]
template_hook[usercp_main_pos2]
template_hook[usercp_main_pos3]
template_hook[usercp_main_pos4]
template_hook[usercp_main_pos5]
template_hook[usercp_main_pos6]
template_hook[usercp_navbar_bottom]
template_hook[usercp_options_datetime]
template_hook[usercp_options_end]
template_hook[usercp_options_messaging]
template_hook[usercp_options_other]
template_hook[usercp_options_privacy]
template_hook[usercp_options_start]
template_hook[usercp_options_threadview]

How to get this list from any VBulletin version?
  • Take file /install/vbulletin-style.xml from VBulletin distributive.
  • Execute command: grep -o "template_hook.*\?" vbulletin-style.xml > HooksList.txt
Windows users can download grep from here: http://gnuwin32.sourceforge.net/downlinks/grep.php. It is an automatic setup package.

You can personally see where the hooks are located using the following plugin attached to specific hook:

PHP Code:
$hooksToShow = array("usercp_main_pos1""usercp_main_pos2""usercp_main_pos3""usercp_main_pos4""usercp_main_pos5""usercp_main_pos6""usercp_navbar_bottom""usercp_options_datetime""usercp_options_end""usercp_options_messaging""usercp_options_other""usercp_options_privacy""usercp_options_start""usercp_options_threadview");

foreach(
$hooksToShow as $hookToShow) {
    
$template_hook[$hookToShow] = '<div><font color="#FF0000"<b>'.$hookToShow.'</b></font></div>';

You can see where exactly hooks are located at the attached images:
Attached Thumbnails
Click image for larger version
Name:	UserCP_Main_Hooks.jpg
Views:	338
Size:	76.5 KB
ID:	81347   Click image for larger version
Name:	UserCP_Options_Hooks.jpg
Views:	296
Size:	90.8 KB
ID:	81348   Click image for larger version
Name:	MemberInfo_Main.jpg
Views:	216
Size:	47.0 KB
ID:	81349   Click image for larger version
Name:	PostBit.jpg
Views:	192
Size:	19.7 KB
ID:	81351  

Similar Mods

Mini Mods Hooks List 1.0 Modification Graveyard
hooks list vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024