We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

member_member_register hook and Custom Member Fields

Development and Programming

jackwatkins's avatar
jackwatkins
5 posts
15 years ago
jackwatkins's avatar jackwatkins

I am writing an extension that uses the ‘member_member_register’ hook to process the registrants the data array accessible from this hook seems to contain only the following key/values.

[group_id] => 6
    [username] => test
    [password] => 12312
    [ip_address] => 123.123.
    [unique_id] => 132
    [join_date] => 1294244703
    [email] => [email protected]
    [screen_name] => test
    [url] => http://test.com
    [location] => 
    [language] => english
    [time_format] => us
    [timezone] => UTC
    [daylight_savings] => n

I would like to process custom member fields completed on registration.

Any idea how I can access this data when extension is referenced by the hook?

I may try to find and query the table storing the custom member field using the member_id but would be interested to know of another approach to this.

Thanks,

Jack

       
jackwatkins's avatar
jackwatkins
5 posts
15 years ago
jackwatkins's avatar jackwatkins

Getting custom fields with a db query seems to work nicely so perhaps this post a little redundant.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.