Takashi Hosoya
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Contact form 7 doesnt work with PMPROIf the value keep empty, then the following code is not working.
Do you write code on functions.php in your themes.https://gist.github.com/aliss1105/a4f82b5d0fcf1a3cd65cdb5d0b92ceb9
Forum: Plugins
In reply to: [Contact Form 7] Contact form 7 doesnt work with PMPROI said I wanted the following code rewritten.
$content .= do_shortcode( '[contact-form-7 id="834" title="Formulaire de contact 1" send-to-email="[email protected]"]' );But you rewrited the follow.
This code is wrong.$content .= do_shortcode( ‘[contact-form-7 id=”834″ title=”Formulaire de contact 1″ send-to-email=”[email protected]”]’ . $pu->user_email . ‘”]’ );Forum: Plugins
In reply to: [Contact Form 7] Contact form 7 doesnt work with PMPROIf you do not see [email protected], then the following code is not working.
Do you write code on functions.php in your themes.https://gist.github.com/aliss1105/a4f82b5d0fcf1a3cd65cdb5d0b92ceb9
Forum: Plugins
In reply to: [Contact Form 7] Contact form 7 doesnt work with PMPROYou have not been able to rewrite it.
Some of the code has gone wrong.
https://www.evernote.com/l/ABt12ojYHNZKSLxCdZKwQYeaxsA25-4Lg7MForum: Plugins
In reply to: [Contact Form 7] Contact form 7 doesnt work with PMPROOh..
Did you rewrite only line 35?
I would like you to rewrite only line 35.https://www.evernote.com/l/ABv4_GNjoUhGIp1DoY8N0YO0LY_n5l4NG6M
Forum: Plugins
In reply to: [Contact Form 7] Contact form 7 doesnt work with PMPROIf You rewrite the code as follows, will the “[email protected]” email address appear in the source code?
$content .= do_shortcode( '[contact-form-7 id="834" title="Formulaire de contact 1" send-to-email="[email protected]"]' );Forum: Plugins
In reply to: [Contact Form 7] Contact form 7 doesnt work with PMPROThe value is empty.
So the form can’t send email to user.It is seems to $pu->user_email is empty.
if ( ! empty( $pu ) && shortcode_exists( 'contact-form-7' ) && is_page( $pmpro_pages['profile'] ) ) { $content .= do_shortcode( '[contact-form-7 id="834" title="Formulaire de contact 1" send-to-email="' . $pu->user_email . '"]' ); }https://gist.github.com/aliss1105/a4f82b5d0fcf1a3cd65cdb5d0b92ceb9
- This reply was modified 4 years, 1 month ago by Takashi Hosoya.
Forum: Plugins
In reply to: [Contact Form 7] Contact form 7 doesnt work with PMPRO> Here, the shortcode send-to-email on the form page : https://zupimages.net/up/22/16/nqfl.png (i dont know if its what you talking about)
I’m sorry for I guess I wrote it wrong.
Is there any value set for send-to-email?
https://www.evernote.com/l/ABvZWbTCOSNKzZbr3O7WIg7OtP3UUpFs5WIForum: Plugins
In reply to: [Contact Form 7] Contact form 7 doesnt work with PMPROIs the email address set in the send-to-email hidden field on the form page?
Can you see source code that showing on browser?Forum: Plugins
In reply to: [Contact Form 7] Contact form 7 doesnt work with PMPROThis is Contact form 7’s document.
https://contactform7.com/en/getting-default-values-from-shortcode-attributes/Forum: Plugins
In reply to: [Contact Form 7] Contact form 7 doesnt work with PMPROI need to login to see the below doc.
https://www.paidmembershipspro.com/how-to-show-a-dynamic-contact-member-form-on-your-directory-profile-pages/So I don’t know what need setting.
For example, Did you set as below short code.
send-to-email="xxxx"
[contact-form-7 id=”123″ title=”Contact Form” send-to-email=”xxxx”]Forum: Plugins
In reply to: [Contact Form 7] Contact form 7 doesnt work with PMPROI don’t think this issue is caused by Contact form 7.
The [send-to-email] shortcode is not for Contact form 7.
The [send-to-email] shortcode is created by PMPRO.
I think PMPRO need to fix code that to work it.Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7 vs Google ReCaptcha V3 – Form won’t validateHow about lowering the threshold for spam checks?
https://contactform7.com/en/faq-about-recaptcha-v3/#how-to-change-threshold
@tsz01
Remove ‘col-md-12’ class and it work.
There seems to be a problem with the CSS.
https://www.evernote.com/l/ABv5yeBySAJJV6LCAWHiWtHhdElzOew8jyk- This reply was modified 4 years, 1 month ago by Takashi Hosoya.
Forum: Plugins
In reply to: [Form data to kintone] パイプでのメール分岐での同時使用フォーラムへの投稿ありがとうございます!
CF7側では「 Value|[email protected] 」になっていてkintone側では「 Value 」としているのですがkintoneに送る際にパイプ以降のメールアドレス部分が送られてミスマッチになってしまってる感じです。
Value|[email protected] のようにパイプを使われている場合、「[email protected]」の値がkintoneに保存されるのは正常な動作かなと思います。
Contact form 7でパイプを使う意味として、Value|[email protected] Valueと書かれていますが、この部分はラベルを意味し、[email protected]の部分が値を意味をしていると思うので、値の部分をkintoneに保存するのが正常な動きかなと思いました!なのでkintone側のラジオボタンの値を[email protected]などのメーアドレスに設定し、文字列(1行)のフィールドでらラジオボタンを参照するIF分などを使ってValueなどのラベル名を表示するように対応するのが良いかなと思いました。
少し調べて無理やり回避させてみました。
って書かれてるので、上記で書いたkintone側で調整する方法も検討していただければと!