Home Forums Plugin Support WP User Frontend (Free Version) Google Map Field Autocomplete

This topic is: resolved

This topic contains 27 replies, has 4 voices, and was last updated by  Tareq Hasan 5 years, 9 months ago.

Viewing 13 posts - 16 through 28 (of 28 total)
  • Author
    Posts
  • #3328

    amelaunsworth
    Participant
    Post count: 27

    it's a post creation form

    #3329

    amelaunsworth
    Participant
    Post count: 27

    post form

    #3330

    Tareq Hasan
    Keymaster
    Post count: 2831

    This should work
    [php]
    function wpufe_inesrt_address( $post_id ) {
    if ( isset( $_POST[‘find-address'] ) ) {
    update_post_meta( $post_id, ‘address', $_POST[‘find-address'] );
    }
    }

    add_action( ‘wpuf_add_post_after_insert', ‘wpufe_inesrt_address' );
    add_action( ‘wpuf_edit_post_after_update', ‘wpufe_inesrt_address' );
    [/php]

    #3331

    amelaunsworth
    Participant
    Post count: 27

    i checked ‘Custom Fields in post' and now my image works! thanks so much!!!
    now just need the google maps to save and display address..if possible instead of having two fields to show address.

    you rock!

    #3353

    amelaunsworth
    Participant
    Post count: 27

    hey there,
    i see that you can charge per post or for a subscription package. is there a way to add these features to a specific form or they have to be used for ALL forms?

    #3354

    Tareq Hasan
    Keymaster
    Post count: 2831

    It'll be activated for all forms.

    #3355

    amelaunsworth
    Participant
    Post count: 27

    if i create a subscription package, is there a way to attach each package to different forms? this way i can have a set price for different posts.

    #3362

    Tareq Hasan
    Keymaster
    Post count: 2831

    No, you can't. A user can have one subscription package one at a time and that package is activated in all forms.

    #3424

    amelaunsworth
    Participant
    Post count: 27

    hey there,
    i saw in your demo site that there was an event manager section. does that come with the wp user frontend package? and if not, where can i get it? i searched this site and couldn't find the plugin.

    also the code you gave me for googlemap form didn't work unfortunately. still need two fields to save address. just thought you should know. with google maps field it doesn't save even in the db.

    #3457

    amelaunsworth
    Participant
    Post count: 27

    hi there,
    sorry to bother you…would you offer your services to me?
    i found a paypal plugin which allows me to have multiple forms with multiple payment options. After a payment, it redirects the customer to one of my forms to submit their listing. problem is that if you know the direct link to the form, you can go directly to it without having to pay. so was wondering if there was a way to make sure the FORM page cannot be accessed without having to go through the paypal page. Is this possible? and how much would you charge for this service?

    Paypal page:
    http://www.godurhamregion.com/standard-listing/

    and after payment… customer is directed to the form below.

    Form
    http://www.godurhamregion.com/submit-your-standard-listing/

    if this is not possible, i can add the paypal option to the form, but will need the Continue to PayPal button to be the button that submits the form and have the actual FORMS button to be removed. so that there is only 1 button for the entire form. hope this makes sense.

    #3458

    Tareq Hasan
    Keymaster
    Post count: 2831

    The events calender plugin is being used in the demo site.

    I tested the address code for google maps I gave you, working fine in my end.

    Sorry, currently I can't offer my service. Hands are pretty busy now ๐Ÿ™‚

    #3462

    amelaunsworth
    Participant
    Post count: 27

    too bad for me… great for you. ๐Ÿ™‚
    i will try that code again. goes int he functions.asp file right? and google maps meta key is still location?

    thanks for all your help!

    #3463

    Tareq Hasan
    Keymaster
    Post count: 2831

    The maps address field is always find-address, that's what has been used on that code and it's saving the address to a meta key address.

Viewing 13 posts - 16 through 28 (of 28 total)

The topic ‘Google Map Field Autocomplete’ is closed to new replies.