Title: Integration with Geomywp
Last modified: August 30, 2016

---

# Integration with Geomywp

 *  [shaunik](https://wordpress.org/support/users/shaunik/)
 * (@shaunik)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/integration-with-geomywp/)
 * I am planning on using this plugin to import user X-profile address field generated
   by combination of Geomywp plugin and it’s add-on [https://geomywp.com/add-ons/xprofile-fields/](https://geomywp.com/add-ons/xprofile-fields/)
   
   I understand I need to get pro plugin for this Here is message I received from
   plugin author regarding import using your plugin
 * > “What you need to do is look in the importer that you are using for a hook 
   > that “runs” after each imported member. You need to use this hook to “execute”
   > a function that will “grab” the address of the imported member, I assume from
   > an xprofile field, geocode this address and save the data in the database.
   > There is actually a function provided by GEO my WP which does all the process
   > of geocoding an address and saving it in database. the functions is:
   > `gmw_update_user_location( array( 'user_id' => $user_id, 'address' => $address));`
   > You need to pass the user ID and his address to the function and the function
   > should geocode it.
   >  So basically you will need to find the right hook in the
   > imported and use it to execute the function above.”
 * Can you suggest the best place to add this hook in the plug-in.
 * Thanks/ Shaunik
 * [https://wordpress.org/plugins/members-import/](https://wordpress.org/plugins/members-import/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [shaunik](https://wordpress.org/support/users/shaunik/)
 * (@shaunik)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/integration-with-geomywp/#post-6503085)
 * Can you please answer this post so I may proceed with purchase of pro version
   of your plugin and that of Geo my WP. Also two of the X-profile fields are Custom
   Post Type Selector: this shows up as Post ID on SQL tables and not their actual
   string value. If you would rather have me buy the product before answering these
   questions, I can do that with risk of not actually benefitting from this plugin.
   
   Thank you in advance for all the help. Shaunik
 *  Thread Starter [shaunik](https://wordpress.org/support/users/shaunik/)
 * (@shaunik)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/integration-with-geomywp/#post-6503091)
 * Manish:
    To support the Plugin I did go ahead and purchase your and other Plugin.
   So as I expected all custom X-profile fields are importing alright except Custom
   Post Types Selector X-Profile Fields. Also as expected without script the user_location
   field will not populate coordinate information. Thanks/ Shaunik

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Integration with Geomywp’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/members-import.svg)
 * [Members Import](https://wordpress.org/plugins/members-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/members-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/members-import/)
 * [Active Topics](https://wordpress.org/support/plugin/members-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/members-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/members-import/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [shaunik](https://wordpress.org/support/users/shaunik/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/integration-with-geomywp/#post-6503091)
 * Status: not resolved