PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Pull data from specific address field in user registration?

  1. So not sure if this is an appropriate question for here or not. I created a User Registration form on my Buddypress site. I used the advanced address field for the registration and mapped the address field in in the settings to it. I am trying to just display the users specific city and state in a section of the profile, but when I connect to the MySQL DB I see that it combines the whole address in to a textarea in the bp_xprofile_data table. Is there a better method you guys recommend for this so I can extract the city and state and not show the address here (but still need the whole address in another location).

    Thanks!

    Posted 12 years ago on Tuesday November 27, 2012 | Permalink
  2. I'm not sure at what point all the data from the address block gets combined, but in most cases if you want to keep all the pieces of the address separate, I would use individual fields so all the data is stored individually.

    Posted 12 years ago on Wednesday November 28, 2012 | Permalink