zaus
Forum Replies Created
-
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Remote response as GF confirmationI think it’d be possible — you could try to write a hook to
...serviceto attach html to the form confirmation message, where you’d add some javascript to open a popup with the content from the$response['body'].Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Contact form urlYou can use my Dynamic Fields extension to map the page or request url — see FAQ https://wordpress.org/plugins/forms-3rdparty-dynamic-fields/faq/
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Ninja forms fileds@patrickvh3 I’m getting the form submission (for Ninja Forms) using
$form->get_all_fields(), which just returns an array of fieldid => value.See source https://github.com/zaus/forms-3rdparty-integration/blob/master/plugins/ninjaforms.php#L60
You could hook to
..._get_submission(see source and here) with a later priority and remap by matching up the ids from the$submissionand the$formfields.Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Write Hook on successful postYou can write hooks pretty much anywhere; the
functions.phpfile is generally the easiest place to start, which is why most tutorials mention it. You could even write your own plugin to contain the hooks.As a side note, if you’re looking for where to hook in Forms-3rdparty, search the main plugin file for instances of
apply_filtersordo_action. I’ve listed the main ones on the “Other Notes” section – https://wordpress.org/plugins/forms-3rdparty-integration/other_notes/I’m not sure why your hook isn’t happening — I did notice that you’re using
array(&$this, 'fn_name')as the hook delegate, which will only work if it’s declared within a class. If you’re just referring to a standalone function, just use the function name (but be careful of namespace collisions, so give your function a more unique name).You may also want to hook to
Forms3rdPartyIntegration_remote_successinstead, which will let you modify the$formitself. I suspect you might need this to effect a Gravity Forms redirect. You could “cheat” and try to use your hook to set the$results['message']to include a javascript redirect instead; I’m not sure if anything has been written to output by the time my hooks occur (which would prevent theheader('....')redirect you’re attempting.Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Posting to Velocify – No lead being createdSorry for the confusion — your problem is the mappings, which tends to get everyone.
You’ll notice that the “Post (Form)”, which is the values returned by the Ninja Forms submission, are just numbers for the field names. You’re trying to map against
ninja_forms_field_XYinstead. Remove theninja_forms_field_prefix and it’ll start sending your data across.I did a Velocify integration for a client a while back…if I remember correctly, you need to add a unique value as the
refidfield, presumably yourgform_unique_idfield? That doesn’t look like it has a value though; you might be interested in using my Dynamic Fields extension to make a uid http://wordpress.org/plugins/forms-3rdparty-dynamic-fields/The other problem is that you’ve selected “is value” for all of your mappings, so rather than sending the field value, it’s sending the field name (meaning, the “Form Field” you entered _is the value to send_ rather than map). Sorry about the confusion.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Add IP address to HTTP Post AraayWeird, I could have sworn that my extension Dynamic Fields https://wordpress.org/plugins/forms-3rdparty-dynamic-fields/faq/ did that, but apparently not…
You can add it to the CF7 email with
[_remote_ip]http://contactform7.com/special-mail-tags/If you could submit an issue (or pull request) to the Github repo, I can try to add it in sometime soon(ish?) https://github.com/zaus/forms-3rdparty-dynamicfields/issues
Otherwise you can attach a hook and include it yourself, something like:
add_filter('Forms3rdPartyIntegration_service_filter_post', array('add_ip_to_3rdparty_post'), 10, 3); function add_ip_to_3rdparty_post($post, $service, $form) { // or like dynamic forms does, you could look for a specific mapping // https://github.com/zaus/forms-3rdparty-dynamicfields/blob/master/forms-3rdparty-dynamicfields.php#L79 $post['the_3rdparty_field'] = get_user_ip(); return $post; } function get_user_ip() { // see http://www.wpbeginner.com/wp-tutorials/how-to-display-a-users-ip-address-in-wordpress/ }Use the Dynamic Fields extension as mentioned in the FAQ re: “How do I map url parameters?” with
##GET:{utm_source}##https://wordpress.org/plugins/forms-3rdparty-dynamic-fields/
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Please Help Posting to ReachMailAh yes, the beauty of field references. If I get the time to work on it, this feature request would have helped you https://github.com/zaus/forms-3rdparty-integration/issues/22
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Conditional Logic Feature?Can you add it as an issue (feature request) on Github?
You could write a hook on on
Forms3rdPartyIntegration_use_formand inspect the$formargument, then return false on your condition.Or you could hook to
Forms3rdPartyIntegration_service_filter_argslater down and setresponse_bypassso it skips over the post. You’d have access to already transformed submission by then.Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] СА7 v4.0.3. compatibilityOkay whew you scared me, because I was just testing some other stuff with the latest CF7 and everything was working fine.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Error integrating with Salesforce with CF7Sorry, as I’ve mentioned in other support threads you’ll have to post most of the debug email, since it contains all the fields and what was sent, as well as the response from the endpoint. You can either copy it here (redact sensitive info) or send it through my website.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Can't add fields to mappingChrome FTW?
Any chance you could open the developer tools console (firebug, maybe f12) and see if there are any javascript errors?
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Interspire IntegrationI know, the admin is a little intimidating. I have a field picker on the roadmap https://github.com/zaus/forms-3rdparty-integration/issues/22, which I’m sure is most of your problem (choosing the correct GF field mapping) — see the links in https://wordpress.org/support/topic/cannot-get-gravity-forms-fields-to-map?replies=2#post-5688130 for more ideas?
I can’t really help you without a) Interspire documentation, and/or b) the contents of the debug email from this plugin. You can either post it here or from my site contact form.
My plugin doesn’t perform a redirect, just a “behind the scenes” form submission to the endpoint you specify.
Gravity Forms has a “redirect” type for its response to send it to a thank-you page you specify, but not sure about CF7; this plugin would handle the “post the name and email address to the newsletter signup”.