Coder Social home page Coder Social logo

alhazmy13 / contact-form-7-submission-limit Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 8.0 36 KB

Contact form 7 submission limit

Home Page: http://alhazmy13.net

License: GNU General Public License v2.0

PHP 79.82% CSS 12.10% JavaScript 8.08%
contact-form-7-submission-limit contact form contact-form-7 cfdb wordpress submission limit

contact-form-7-submission-limit's Introduction

Contact form 7 submission limit

  • Contributors: Abdullah Alhazmy
  • site: http://alhazmy13.net
  • Tags: contact, form, contact form 7, Submission, limit
  • Requires at least: 4.0
  • Tested up to: 4.7.3
  • License: GPLv2 or later

Download

last version you can found it in this link

Installation

1- Upload the contact-form-7-submission-limit folder to the /wp-content/plugins/ directory 2- Activate the plugin through the 'Plugins' menu in WordPress 3- The contact-form-7-submission-limit are in the Tools sidebar menu. 4- Click on the Add on the admin page to add new rule.

Note

This plugin requires two plugins contact-form-7 and CFDB please make sure that you have it on your site.

Description

This plugin will replace contact form 7 with any HTML code when the number of submissions goes above your limit.

  • Select any form from a drop-down list.
  • Enter your limit (if the number are above or equal the total number of submissions then the for will be hidden).
  • Enter any HTML code that you want to replace the form with it.
  • Click on update setting button.

Tips

  • The status of your form will automatically show after you select the number of limits.
  • If you want unlimited submission then you can remove the rule or just type -1 in the limit field.
  • Not seeing your changes? Turn off your cache!

Where is data stored?

In an array in the wp_options table. Just one record regardless of the number of your rules.

Changelog

= 1.0 =

  • Initial release.

contact-form-7-submission-limit's People

Contributors

alhazmy13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

contact-form-7-submission-limit's Issues

Can't "add" a rule

At first, thanks for the Plugin. I really like what it should do.

Not sure if this is the right spot to ask for "support".
I installed the plugin and got CF7 as well as CFDB Plugin.

But when I try to press the "Add" Button for a new rule (limitation), nothing happens.
Neither I see a dropdown for choosing a Form.

If I hit the "Update Settings" Button it just says "options updated".

I've got WP 4.8 Version.

Thanks for help!

shortcode

Can you create a shortcode from this?:)
$status = "Remaining submissions = " . ($cf7sl_limit - $current_total_submition)

Thx

Issue with Wordpress version 4.8

Not limiting contact form submissions
only visible error is

AddUpdate Settings

Warning: Invalid argument supplied for foreach() in /home/.../wp-content/plugins/contact-form-7-submission-limit/contact-form-7-submission-limit.php on line 355

Limit per day

Is there a way to limit submission and restart on the def after?

Thanks!

Problems loading plugin and viewing forms

Hello, I recently installed the plugin in my Wordpress and it worked correctly until I added 10 forms, from that amount the plugin page started to take a long time to load (more than 30 minutes I've been waiting). Another problem I have had is that I have configured a form with a limit of 20, only 4 entries have been sent and it has stopped being displayed.

What are the drawbacks?

From already thank you very much.

Error 404 for cf7sl.functions.js

When I load the page wp-admin/tools.php?page=contact-form-7-submission-limit

In the console I get the error:

plugins/contact-form-7-submission-limit/js/cf7sl.functions.js?ver=5.2.3 404 (Not Found)

Gregorio

Gives a new update of this plugin?

Hello, it does not work for me. I use wordpress vers. 4.9, contact form 7 vers. 4.9.1 and CFDB 7 vers. 1.1.5.
it dont show the current total submission and it does no effect on the frontpage.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.