Siful Islam Ananda
Forum Replies Created
-
Forum: Plugins
In reply to: [WPAppsDev - CF7 Form Submission Limit] No submission limit resetPlease update the latest version. We added a setting for this.
Forum: Plugins
In reply to: [WPAppsDev - CF7 Form Submission Limit] Disable refresh after submitPlease update the latest version. We added a setting for this.
Forum: Plugins
In reply to: [WPAppsDev - CF7 Form Submission Limit] Add class to body if limit is reachedSorry for the late reply. I was busy with my office work.
This is not possible using our plugins. But you can add this for a specific page and specific form. Below is the sample code.
function wpappsdev_body_class( $classes ){ // I assume that you know page id and form id $page_id = 43; // replace your page id $form_id = 234; // replace your form id $add_class = false; if( is_page( $page_id ) ) { $limit_type = get_post_meta( $form_id, 'wpadcf7sl-limit-type', true ); $total_submission = get_post_meta( $form_id, 'wpadcf7sl-total-submission', true ); if ( 'userformsubmit' == $limit_type ) { if ( is_user_logged_in() ) { $user_id = get_current_user_id(); $total_count = get_user_meta( $user_id, "wpadcf7sl-total-submission-{$form_id}", true ); $remaining = $total_submission - (int) $total_count; if( ! $remaining ) { $add_class = true; } } } if ( 'formsubmit' == $limit_type ) { $total_count = get_post_meta( $form_id, 'submission-total-count', true ); $remaining = $total_submission - (int) $total_count; if( ! $remaining ) { $add_class = true; } } if( $add_class ) { // Add your custom class here. } } return $classes; } add_filter( 'body_class', 'wpappsdev_body_class' );I hope it solves your problem.
Massage has been changed from version 2.0.0. Please check well.
Or you can overwrite template file using this hook.
wpadcf7sl_locate_template
Thanks
At this time this not posiable. You can use this plugin WP Crontrol to debug Cron functionality.
If you want to replace WP Cron with a real Cron job please follow this article.
I hope you got your answer. I changed this topic status resolved.
Thanks
Forum: Plugins
In reply to: [WPAppsDev - CF7 Form Submission Limit] Refresh Submission Remaining directlyThanks for the nice compliment and for using this plugin. Please update the latest version of the plugin. It will solve your problem.
Forum: Plugins
In reply to: [WPAppsDev - CF7 Form Submission Limit] Submission Limit Not Updating@mouschi Please updated the latest version of the plugin. It will solve your problem.
Forum: Plugins
In reply to: [WPAppsDev - CF7 Form Submission Limit] Submission Limit Not UpdatingThanks for the nice compliment and for using this plugin.
We purchased this and have an issue.
It’s totally free. Please don’t buy it from anywhere.
In testing, if we put 100 submission limit and test by using it 5 times, it shows 95 left. The problem is when you want to put it back to 100. How do we do that instead of having set to reset every day and wait the next day?
In the next version, I will add a button for submission limit instant reset. This will reset the form submission calculation data.
Forum: Plugins
In reply to: [WPAppsDev - CF7 Form Submission Limit] Database IssueI hope you got your answer. I changed this topic status resolved.
Forum: Plugins
In reply to: [WPAppsDev - CF7 Form Submission Limit] Database IssueHi, I have this plugin sending output to the database under wpadcf7sl_remaining, but it’s not sending the correct number. If the limit is set at 10 and there’s a submission, it registers that submission as 10, not 9, when technically there are 9 now remaining.
We save the total submission value, not the submission remaining value. We calculate the total remaining value from the limit of total submission and minus the total submission value.
The message updates fine, but only after refreshing the screen, so I guess ideally the plugin could work via the same ajax process as the success message, so the limit is updated in real-time.
Hopefully next update we will update this.
Forum: Plugins
In reply to: [WPAppsDev - CF7 Form Submission Limit] TranslationsYou can use the Loco Translate plugin to translate this plugin.
Forum: Plugins
In reply to: [WPAppsDev - CF7 Form Submission Limit] Submission limit reset automaticallyThanks for using this plugin. It’s nice to hear that this plugin works just the way you want it. You can use this plugin WP Crontrol to debug Cron functionality.
If you want to replace WP Cron with a real Cron job please follow this article.
Thanks
Please put this code in theme functions.php file. And change this ‘Your message’ with your text.
function change_text_strings( $translated_text, $text, $domain ) { if( $translated_text == 'Form Submission Remaining:' ) { return 'Your message'; } return $translated_text; } add_filter( 'gettext', 'change_text_strings', 10, 3 );You can change the text using the code above until the next update.
Thanks for your request. Hopefully, in the next update, I will make setting options for this. So that the user can set the message as his own.