May 7, 2013 at 9:36 pm 3329 |
amelaunsworth
| post form
|
May 7, 2013 at 9:46 pm 3330 |
Tareq Hasan
| 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]
|
May 7, 2013 at 9:51 pm 3331 |
amelaunsworth
| 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!
|
May 8, 2013 at 1:59 pm 3353 |
amelaunsworth
| 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?
|
May 8, 2013 at 2:09 pm 3354 |
Tareq Hasan
| It’ll be activated for all forms.
|
May 8, 2013 at 2:20 pm 3355 |
amelaunsworth
| 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.
|
May 8, 2013 at 4:43 pm 3362 |
Tareq Hasan
| No, you can’t. A user can have one subscription package one at a time and that package is activated in all forms.
|
May 9, 2013 at 4:47 pm 3424 |
amelaunsworth
| 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.
|
May 9, 2013 at 6:46 pm 3457 |
amelaunsworth
| 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.
|
May 9, 2013 at 7:07 pm 3458 |
Tareq Hasan
| 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 🙂
|
May 9, 2013 at 7:20 pm 3462 |
amelaunsworth
| 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!
|
May 9, 2013 at 7:23 pm 3463 |
Tareq Hasan
| 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.
|