profile.module

Version 1.288 (checked in on 2010/03/12 at 15:56:29 by dries)

Support for configurable user profiles.

Constants

NameDescription
PROFILE_HIDDENHidden profile field, only accessible by administrators, modules and themes.
PROFILE_PRIVATEPrivate field, content only available to privileged users.
PROFILE_PUBLICPublic field, content shown on profile page but not used on member list pages.
PROFILE_PUBLIC_LISTINGSPublic field, content shown on profile page and on member list pages.

Functions

NameDescription
profile_block_configureImplements hook_block_configure().
profile_block_saveImplements hook_block_save().
profile_block_viewImplements hook_block_view().
profile_category_accessMenu item access callback - check if a user has access to a profile category.
profile_form_alterImplements hook_form_alter().
profile_helpImplements hook_help().
profile_menuImplements hook_menu().
profile_save_profile
profile_themeImplements hook_theme().
profile_user_cancelImplements hook_user_cancel().
profile_user_categoriesImplements hook_user_categories().
profile_user_deleteImplements hook_user_delete().
profile_user_form_validateForm validation handler for the user register/profile form.
profile_user_insertImplements hook_user_insert().
profile_user_loadImplements hook_user_load().
profile_user_presaveImplements hook_user_presave().
profile_user_viewImplements hook_user_view().
profile_view_field
template_preprocess_profile_blockProcess variables for profile-block.tpl.php.
template_preprocess_profile_listingProcess variables for profile-listing.tpl.php.
template_preprocess_profile_wrapperProcess variables for profile-wrapper.tpl.php.
_profile_field_serialize
_profile_field_types
_profile_form_explanation
_profile_get_fields
_profile_update_user_fieldsHelper function: update an array of user fields by calling profile_view_field