Profile Map

Component ID

286466

Component name

Profile Map

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1071

Component created

Component changed

Component body

Profile Map enables arbitrary profile fields to be mapped to a fixed data model in the $user object so that third-party modules can easily access the profile data. The module provides callbacks when the mapped profile fields are changed, for example, to require a form to be resubmitted on an address change.

Profile Map also optionally themes the mapped profile fields to display as single fields on the user page, such as Full Name instead of two separate fields for First and Last names.

Profile Map categories:

  • Full Name: first, last
  • Address: street, city, state, postal, country
  • Phone: country code, area code, number
  • Messaging: service, username

Update
2011-04-28: Due to lack of interest (and time), this module will not be further developed. If anyone wants to takeover maintainer role, let me know.

Dependencies
Profile module

Installation

  1. install the module: copy the profile_map directory and all its contents to your modules directory
  2. enable the module: admin/build/modules
  3. configure the module: admin/user/profile/profile_map

Download
Download package and report bugs, feature requests, or submit a patch from the project page on the Drupal web site.

Developers
Profile Map adds the following data model to the $user object:

stdClass Object (
  [profile_map] => Array (
    [name] => Array (
      [first] => Theodore
      [last] => Williams
      [view] => Theodore Williams
    )
    [address] => Array (
      [street] => 4 Yawkey Way
      [city] => Boston
      [state] => MA
      [postal] => 02215
      [country] => United States
      [view] => 4 Yawkey Way, Boston, MA 02215
    )
    [phone] => Array (
      [countrycode] => 
      [areacode] => 999
      [number] => 999-9999
      [view] => (999) 999-9999
    )
    [messaging] => Array (
      [service] => AIM
      [username] => 400clubmember
      [view] => AIM: 400clubmember
    )
  )
)

Todo List
None

Credits
Module development sponsored by ConsumerSearch, a service of About.com, a part of The New York Times Company.