AW
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Trouble CF7 Mail 2 section “from”Hi,
I’m not asking if you want to use it. I’m asking if you’re using it now. From your answer I gather that you are not using this type of additional plugin.
These types of plugins sometimes overwrite the From field. They work “after” the Contact Form 7 plugin and before the final sending of the e-mail, they can change such sending. That’s why I’m asking if you’re currently using such an additional solution.
If not (if I’m interpreting your answer correctly) then I can’t help you further.Forum: Plugins
In reply to: [Contact Form 7] Trouble CF7 Mail 2 section “from”Hi,
So my question seems reasonable.
Are you using an additional email delivery plugin β something similar to Easy WP SMTP?Forum: Plugins
In reply to: [Contact Form 7] Trouble CF7 Mail 2 section “from”Hi,
If I understand correctly, the problem is that in the received mail (in the mailbox) the field From is different than the one set in the form in the Mail (2) template. Did I understand correctly?- This reply was modified 3 years ago by AW.
Forum: Plugins
In reply to: [Contact Form 7] Trouble CF7 Mail 2 section “from”Hi,
Are you using an additional email delivery plugin – something similar to Easy WP SMTP?Forum: Plugins
In reply to: [Contact Form 7] Random Number Showing Below the FormHi,
You use the Spam protection, AntiSpam, FireWall by CleanTalk plugin, which gives you extra numbers at the bottom of the form.
You try disabling it – did that solve your problem?Forum: Plugins
In reply to: [Contact Form 7] Please remove the auto paragraph featureHi,
There was a solution in this topic (February 27, 2023), but it was removed – I wonder what was the basis for such moderation?
Perhaps the solution in this post is what you are looking for.Hi,
maybe this is what you are looking for: Why are forms stored in two locations in the database?Forum: Plugins
In reply to: [Contact Form 7] notify me formHi,
You can use mail-tags on the Mail tab which you define on the Form tab. According to your screenshot:
https://ibb.co/rK90GKSYou have troublesome mail-tags names that can cause problems:
- You find them on the Form tab and you change them.
- You go back to theΒ Mail tab and correct what is needed.
Forum: Plugins
In reply to: [Contact Form 7] notify me formHi,
You check this: Are there any reserved or unavailable words for the name of an input field?Forum: Plugins
In reply to: [Contact Form 7] Changing default Message body with functionHi,
You return nothing for the condition:if ( 'mail' == $prop ) {At least you change the assignment lines:
$template = array(on:
return array(Forum: Plugins
In reply to: [Contact Form 7] Form Not Submitting After Latest UpdateHi,
maybe my post will help you deal with a critical situation.I use the WP Rollback plugin at similar times – it allows you to easily roll back any plugin update. Then I disable (maybe temporarily) auto-update of problematic plugins. This allows me to get back to working on the production page (forms here).
In this way, I can calmly look for solutions to problems when updating website elements to higher versions in the test environment.P.S. @takayukister thank you for a lot of good work (not the same as perfect π) and willingness to share it as a free solution.
Forum: Plugins
In reply to: [Contact Form 7] Send Mail2 only on specific conditionHi,
maybe this is the solution: Extra email with an βifβ condition.Forum: Plugins
In reply to: [Contact Form 7] I’m getting console errorHi,
you try to disable AdBlock browser extension and try reloading the page.Forum: Plugins
In reply to: [Contact Form 7] HOW CAN I EDIT THE SHORTCODE IDHi @takayukister,
this worked up to version 5.7.4 (inclusive). Currently not working, shortcode requires id βΉοΈ.Forum: Plugins
In reply to: [Contact Form 7] Extra email with an “if” condition@ltdansdis,
as the title says, I understand that it is about additional mail, i.e. conditional sending of the “Mail (2)” template. If we understand each other correctly, it should be something like this:add_filter( 'wpcf7_mail_components', 'custom_mail_components', 10, 3 ); function custom_mail_components( $components, $contact_form, $mail ) { if ( 'mail_2' !== $mail->name(); ) { return $components; } $components['active'] = false; $submission = WPCF7_Submission::get_instance(); if ( is_null( $submission ) ) { return $components; } $tag_name = 'your-checkbox'; $posted_data = $submission->get_posted_data(); if ( is_null( $posted_data ) || ! isset( $posted_data[ $tag_name ] ) { return $components; } $components['active'] = (bool) $posted_data[ $tag_name ]; return $components; }If this is the third email, it will probably help to use the
wpcf7_additional_mailfilter.- This reply was modified 3 years, 3 months ago by AW.