Home  ›  Program Hooks  ›  Profile View Hooks

Profile View Hooks

These program hooks can be used on all Profile Views (Both Page and Popup).

sf_hook_pre_profile

This hook can be used to execute code or display content prior to the profile display. This hook will execute on the Profile View (page and popup). The ID of the User is passed into the hook.

function sf_hook_pre_profile($user_id)
{
	return '';
}

sf_hook_post_profile_header

}This hook can be used to execute code or display content after the main header section at the top of the Profile display. This hook will execute on the Profile View (page and popup). The ID of the User is passed into the hook.

function sf_hook_post_profile_header($user_id)
{
	return '';
}

sf_hook_post_profile_photos

This hook can be used to execute code or display content after the User photos section of the Profile display. This hook will execute on the Profile View (page and popup). The ID of the User is passed into the hook.

function sf_hook_post_profile_photos($user_id)
{
	return '';
}

sf_hook_post_profile_personal

This hook can be used to execute code or display content after the personal data section of the Profile display. This hook will execute on the Profile View (page and popup). The ID of the User is passed into the hook.

function sf_hook_post_profile_personal($user_id)
{
	return '';
}

sf_hook_post_profile_online

This hook can be used to execute code or display content after the online id data section of the Profile display. This hook will execute on the Profile View (page and popup). The ID of the User is passed into the hook.

function sf_hook_post_profile_online($user_id)
{
	return '';
}

sf_hook_post_profile_custom

This hook can be used to execute code or display content after the custom field section of the Profile display. This hook will execute on the Profile View (page and popup). The ID of the User is passed into the hook.

function sf_hook_post_profile_custom($user_id)
{
	return '';
}

sf_hook_post_profile

This hook can be used to execute code or display content after the Profile display, but prior to the buttons at the bottom of the Profile. This hook will execute on the Profile View (page and popup). The ID of the User is passed into the hook.

function sf_hook_post_profile($user_id)
{
	return '';
}

sf_hook_post_profile_buttons

This hook can be used to execute code or display content after the action buttons at the bottom of the Profile display. This hook will execute on the Profile View (page and popup). The ID of the User is passed into the hook.

function sf_hook_post_profile_buttons($user_id)
{
	return '';
}

Article written by steve on January 24, 2010 and last modified by Yellow Swordfish on February 25, 2010