Support » Plugin: Members Import » 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
    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter shaunik


    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.

    Thread Starter shaunik


    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.