Mário Valney
Forum Replies Created
-
Forum: Plugins
In reply to: [CF7 to Webhook] Translations not workingHey! How are you?
I guess the problem was the text domain changed after this. I’ve returned it to cf7-to-zapier and is working now at 3.0.6.
Thanks for letting me know and for your contributions at translations!
Forum: Reviews
In reply to: [CF7 to Webhook] Excelente!Obrigado pela review!
O problema do plugin da Loggi é que ela deixou de oferecer o servi?o. Voltou?
Forum: Plugins
In reply to: [CF7 to Webhook] Webhook causing Zapier to fire the same thing multiple timesI haven’t had the time to check it yet, but since there have been no other reported issues, I imagine it’s not related to the plugin.
Would you please change your theme to default one to check it is still happning?Forum: Plugins
In reply to: [CF7 to Webhook] Webhook causing Zapier to fire the same thing multiple timesHi.
How are you?
Maybe something changed in your theme.
What is the link of form?
Forum: Plugins
In reply to: [CF7 to Webhook] connect to keila.io APIPLEASE MAKE A BACKUP AND/OR CHECK IT IN A NON LIVE SITE
Your plugin code:
<?php
/**
*
* Plugin Name: CF7 to Webhook - Keila Support
* Description: Format data to send a webhook to keila.io
* Version: 1.0.0
* Author: Mário Valney and Berlin // Heino
* Author URI: https://mariovalney.com
* Text Domain: cf7-to-webhook-discord-integration
*
*/
add_filter( 'ctz_get_data_from_contact_form', 'heino_ctz_get_data_from_contact_form' );
function heino_ctz_get_data_from_contact_form( $data ) {
return [ 'data' => $data ];
}You can save it with
cf7-keila.php
name in a directory calledcf7-keila
and zip it.Forum: Plugins
In reply to: [CF7 to Webhook] connect to keila.io API- You can create a Child Theme to add a functions.php for the theme you are using.
- Or add the code to your functions.php if you are creating your own theme.
- Or create your own plugin with this snippet.
- Or use a plugin to add snippets.
Forum: Plugins
In reply to: [CF7 to Webhook] connect to keila.io APIHey. How are you?
Sure, but you will need some code.
Please, check this: Change data before send.In your case, this snippet should work:
add_filter( 'ctz_get_data_from_contact_form', 'example_ctz_get_data_from_contact_form' );
function example_ctz_get_data_from_contact_form( $data ) {
return [ 'data' => $data ];
}Let me know if you need help to achieve this.
- This reply was modified 1 month, 1 week ago by Mário Valney.
Forum: Plugins
In reply to: [CF7 to Webhook] Data from hidden fields is not transmittedThe tags should be:
[_post_title]
– on mail and webhook special mail tag session[exc-price any-name]
– on form[any-name]
– on mail and webhook special mail tag session
I’m not able to check this on a working website right now. Maybe in the end of day I’ll have some time. I’m sorry for the inconvenience.
Forum: Plugins
In reply to: [CF7 to Webhook] Data from hidden fields is not transmittedPlease, try add the custom exc-price tag this way:
add_action( 'wpcf7_init', 'vov7512_add_form_tag_exc_price' );
function vov7512_add_form_tag_exc_price() {
wpcf7_add_form_tag( 'exc-price', 'vov7512_add_form_tag_exc_price_handler' );
}
function vov7512_add_form_tag_exc_price_handler( $tag ) {
$price = '';
if (is_singular('excursions')) {
$price = get_post_meta(get_the_ID(), 'exc_price', true);
}
return '<input type="hidden" name="' . $tag['name'] . '" value="' . esc_attr($price) . '" />';
}For post title you don’t need a new tag. Just use the Special Mail Tags:
[_post_title]
.More info:
Forum: Plugins
In reply to: [CF7 to Webhook] Data from hidden fields is not transmittedHi!
All pasterbins are private. So I was not able to read them.
I’ll take a time to check custom tags, but I’m pretty sure we have support for this. The plugin uses
contact_form->scan_form_tags();
to get all tags (it’s working as you receive them in JSON) and$_POST[ $tag->name ]
to get all values (maybe the problem?).Please, share the
wpcf7_add_form_tag
code so I can try to reproduce it?Forum: Reviews
In reply to: [CF7 to Webhook] DelightfullyThanks for your review!
Forum: Plugins
In reply to: [CF7 to Webhook] AFL Utm TrackerHey!
Nice to hear that @appfromlab ??
Forum: Plugins
In reply to: [CF7 to Webhook] Fetch ID from URL when CF7 is submittedWith CF7 you can use Hidden Fields:
- Getting default values from the context
- Setting default values to the logged-in user
- Getting default values from shortcode attributes
Probability “context + GET” will help you.
Forum: Plugins
In reply to: [CF7 to Webhook] AFL Utm TrackerHey!
How are you? What is the name of plugin?
I just found the AFL UTM Tracker plugin, and it seems to be a premium plugin. Therefore, I’m not able to run any tests. However, you can try adding fields to the Special Mail Tags field in the webhook configurations.
Hey! Is this finished?