Hey there,
awesome plug-in, it’s working like a charm. But there is one issue I can’t seem to resolve.
A client of mine wants the CF7 form to export to pdf. No problem lots of options for that. But every single plug-in or webhook I try. The shortcode of the serial number doesn’t fill in.
in the CF7 mail it works perfectly, I’ve made a html template. But with a different plug-in it just doesn’t work.
any suggestion?
Thanks in advance.
greetings
Robert
]]>The plugin does not support translations, as there are no [.po] files within its structure.
How would it be possible to translate the message that appears after sending the message, “receipt no. xxx”
プラグインの翻訳
プラグインの構造内に [.po] ファイルがないため、プラグインは翻訳をサポートしていません。
「受付番号xxx」というメッセージを送信した後に表示されるメッセージを翻訳することは可能でしょうか?
]]>Fatal error: Uncaught Error: Call to undefined method _Nt\WpPlg\WPCF7SN\NT_WPCF7SN::update_plugin_option() in /wp-content/plugins/serial-number-for-contact-form-7/admin/includes/plugin.php:181 Stack trace: #0 /wp-includes/class-wp-hook.php(306): _Nt\WpPlg\WPCF7SN\NT_WPCF7SN_Admin::installed_plugin() #1 /home4/clickg50/azmeta.com.br/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #2 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /wp-admin/plugins.php(194): do_action(‘activate_serial…’) #4 {main} thrown in?/wp-content/plugins/serial-number-for-contact-form-7/admin/includes/plugin.php?on line?181
]]>I am using the “Serial Number for Contact Form 7” plug-in to set serial numbers,
Even if a validation error occurs when entering the form, the number will increase,
There will be a missing number in the serial number of the email that was sent normally.
It seems that the Contact Form hook increments the serial number,
It seems to be the cause that this works even with validation errors.
I temporarily fixed it by making the following corrections,
Do you have any concerns?
I hope the plugin will be updated.
serial-number-for-contact-form-7/includes/submission.php:
add_action( 'wpcf7_submit', 'nt_wpcf7sn_submit', 10, 2 );
function nt_wpcf7sn_submit( $contact_form, $result ) {
// ---- Add
if ( $contact_form->in_demo_mode() ) {
return;
}
$cases = array( 'spam', 'mail_sent', 'mail_failed' );
if ( empty( $result['status'] )
or ! in_array( $result['status'], $cases ) ) {
return;
}
$submission = WPCF7_Submission::get_instance();
if ( ! $submission
or ! $posted_data = $submission->get_posted_data() ) {
return;
}
if ( $submission->get_meta( 'do_not_store' ) ) {
return;
}
// ---- /Add
$form_id = intval( $contact_form->id );
// メールカウントの更新
NT_WPCF7SN_Form_Options::increment_count( $form_id );
}
]]>
Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /home/clicsfqi/public_html/wp-content/plugins/serial-number-for-contact-form-7/load.php:171 Stack trace: #0 /home/clicsfqi/public_html/wp-content/plugins/serial-number-for-contact-form-7/load.php(171): DateTimeZone->__construct(”) #1 /home/clicsfqi/public_html/wp-includes/class-wp-hook.php(305): nt_wpcf7sn_check_reset_count() #2 /home/clicsfqi/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array) #3 /home/clicsfqi/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #4 /home/clicsfqi/public_html/wp-content/plugins/serial-number-for-contact-form-7/includes/form-options.php(85): do_action(‘nt_wpcf7sn_chec…’) #5 /home/clicsfqi/public_html/wp-content/plugins/serial-number-for-contact-form-7/admin/includes/contact-forms-list-table.php(121): NT_WPCF7SN_Form_Options::get_options(5) #6 /home/clicsfqi/public_html/wp-admin/includes/class-wp-list-table.php(1445): NT_WPCF7SN_Contact_Forms_List_Table in /home/clicsfqi/public_html/wp-content/plugins/serial-number-for-contact-form-7/load.php on line 171
]]>