Version Description
(03 January 2019) = * Compatible with PHP 7.2
Download this release
Release Info
Developer | 123contactform |
Plugin | Forms by CaptainForm – Form Builder for WordPress |
Version | 2.3 |
Comparing to | |
See all releases |
Code changes from version 2.2.6 to 2.3
captainform.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: CaptainForm
|
17 |
* Plugin URI: http://captainform.com
|
18 |
* Description: CaptainForm is a fully-featured WordPress form plugin created for web designers, developers, and also for non-tech savvy users.
|
19 |
-
* Version: 2.
|
20 |
* Author: captainform
|
21 |
* Author URI: https://profiles.wordpress.org/captainform
|
22 |
* License: GPL-2.0+
|
16 |
* Plugin Name: CaptainForm
|
17 |
* Plugin URI: http://captainform.com
|
18 |
* Description: CaptainForm is a fully-featured WordPress form plugin created for web designers, developers, and also for non-tech savvy users.
|
19 |
+
* Version: 2.3
|
20 |
* Author: captainform
|
21 |
* Author URI: https://profiles.wordpress.org/captainform
|
22 |
* License: GPL-2.0+
|
includes/class-captainform.php
CHANGED
@@ -105,7 +105,7 @@ class Captainform {
|
|
105 |
public function __construct() {
|
106 |
|
107 |
$this->plugin_name = 'captainform';
|
108 |
-
$this->version = '2.
|
109 |
|
110 |
$this->load_dependencies();
|
111 |
$this->set_locale();
|
105 |
public function __construct() {
|
106 |
|
107 |
$this->plugin_name = 'captainform';
|
108 |
+
$this->version = '2.3';
|
109 |
|
110 |
$this->load_dependencies();
|
111 |
$this->set_locale();
|
includes/encryption/class-captainform-encrypt.php
CHANGED
@@ -71,20 +71,10 @@ class Captainform_Encrypt
|
|
71 |
}
|
72 |
return $ascii;
|
73 |
} else {
|
74 |
-
return
|
75 |
}
|
76 |
}
|
77 |
|
78 |
-
public static function old_cf_wpp_decrypt($str)
|
79 |
-
{
|
80 |
-
if (strlen($str) == 0)
|
81 |
-
return '';
|
82 |
-
$key = self::$cryptKey;
|
83 |
-
$str = mcrypt_decrypt(MCRYPT_DES, $key, base64_decode($str), MCRYPT_MODE_ECB);
|
84 |
-
$block = mcrypt_get_block_size('des', 'ecb');
|
85 |
-
$pad = ord($str[($len = strlen($str)) - 1]);
|
86 |
-
return substr($str, 0, strlen($str) - $pad);
|
87 |
-
}
|
88 |
|
89 |
public static function base64url_encode($data)
|
90 |
{
|
71 |
}
|
72 |
return $ascii;
|
73 |
} else {
|
74 |
+
return 'INVALID-STRING-TO-DECRYPT.CONTACT-SUPPORT-IF-NEEDED.';
|
75 |
}
|
76 |
}
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
|
79 |
public static function base64url_encode($data)
|
80 |
{
|
public/partials/form-resources/captainform-normal-embedding.php
CHANGED
@@ -1,30 +1,30 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
1 |
+
<div id="{{ID}}"></div>
|
2 |
+
<!--noptimize--><script type="text/javascript">
|
3 |
+
captainformCustomVars['{{ID}}'] = '{{CUSTOMVARS}}';
|
4 |
+
captainformThemeStyle['{{ID}}'] = '{{STYLE}}';
|
5 |
+
captainformDomReady(function () {
|
6 |
+
if (document.getElementById('captainform_easyxdmjs') == null) {
|
7 |
+
append_element({
|
8 |
+
elementType: "script",
|
9 |
+
type: "text/javascript",
|
10 |
+
id: "captainform_easyxdmjs",
|
11 |
+
src: cfJsHost + captainform_servicedomain + "/includes/easyXDM.min.js",
|
12 |
+
});
|
13 |
+
}
|
14 |
+
if (document.getElementById('iframeresizer_embedding_system') == null) {
|
15 |
+
append_element({
|
16 |
+
elementType: "script",
|
17 |
+
type: "text/javascript",
|
18 |
+
id: "iframeresizer_embedding_system",
|
19 |
+
src: cfJsHost + captainform_servicedomain + "/modules/captainform/js/iframe_resizer/3.5/iframeResizer.min.js",
|
20 |
+
});
|
21 |
+
}
|
22 |
+
append_element({
|
23 |
+
elementType: "script",
|
24 |
+
type: "text/javascript",
|
25 |
+
id: "jsform-{{ID}}",
|
26 |
+
src: cfJsHost + captainform_servicedomain + "/jsform-{{ID}}.js?" + captainformCustomVars['{{ID}}'] + captainformThemeStyle['{{ID}}'],
|
27 |
+
replacing: document.getElementById("{{ID}}"),
|
28 |
+
});
|
29 |
+
});
|
30 |
+
</script><!--/noptimize-->
|
readme.txt
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
=== Forms by CaptainForm - Form Builder for WordPress ===
|
2 |
|
3 |
Contributors: captainform, 123contactform
|
4 |
-
Tags: CaptainForm, contact form, drag-and-drop, file upload forms, form builder plugin, newsletter subscription, order form, payment form, paypal form, popup form, registration form, secure forms, survey
|
5 |
Requires at least: 3.9
|
|
|
6 |
Tested up to: 4.9
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
@@ -77,7 +78,7 @@ Here are a few quick guides on how to build some popular types of forms with our
|
|
77 |
* [PDF notifications](http://www.captainform.com/docs/pdf-notifications/)
|
78 |
* [SMS notifications](http://www.captainform.com/docs/sms-notifications)
|
79 |
* [Multilanguage forms](http://www.captainform.com/docs/translations/)
|
80 |
-
* Integration with [Google Drive](http://www.captainform.com/docs/google-drive/), [Dropbox](http://www.captainform.com/docs/dropbox/), [WordPress Posts](http://www.captainform.com/docs/how-to-create-wordpress-posts-through-form-submissions/)
|
81 |
* Allow users to [save and resume a submission](http://www.captainform.com/docs/can-users-save-and-resume-a-form-submission)
|
82 |
* Allow users to [preview a submission](http://www.captainform.com/docs/can-users-preview-the-submission-summary-before-sending-the-form)
|
83 |
* Allow users to [print a submission](http://www.captainform.com/docs/can-i-add-a-print-button-to-my-form/)
|
@@ -344,8 +345,6 @@ All add-ons are available straight from the core plugin, so that you don't need
|
|
344 |
|
345 |
**Google Groups** - Add new members to your [Google Groups](http://www.captainform.com/docs/google-groups).
|
346 |
|
347 |
-
**Yahoo Groups** - Add new members to your [Yahoo Groups](http://www.captainform.com/docs/yahoo-groups).
|
348 |
-
|
349 |
= WordPress specific apps =
|
350 |
|
351 |
**WordPress Posts** - Create [user-generated WordPress posts](http://www.captainform.com/docs/how-to-create-wordpress-posts-through-form-submissions/) when a form submission is sent. You can configure the post in different ways: set its status on published, pending or draft; customize its content, excerpt and author; use custom posts etc.
|
@@ -458,19 +457,21 @@ CaptainForm also works with multisite WordPress instances. The Hero license is c
|
|
458 |
|
459 |
= How do I upgrade the plugin? =
|
460 |
|
461 |
-
|
|
|
462 |
|
463 |
= How do I change service plans? =
|
464 |
|
465 |
-
|
466 |
|
467 |
= How long is the license key valid? =
|
468 |
|
469 |
-
The license key is valid
|
470 |
|
471 |
= What happens to my old service plan? =
|
472 |
|
473 |
-
If your subscription year is not over yet, you
|
|
|
474 |
|
475 |
= What type of credit cards are supported? =
|
476 |
|
@@ -478,9 +479,15 @@ We support MasterCard, Visa, PayPal, American Express, JCB, Discover/Novus and D
|
|
478 |
|
479 |
= How do I downgrade my plugin to the free account? =
|
480 |
|
481 |
-
|
482 |
|
483 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
484 |
= 2.2.6 (22 August 2017) =
|
485 |
* Fixed conflict with the color picker in Avada theme v5.2.1
|
486 |
|
1 |
=== Forms by CaptainForm - Form Builder for WordPress ===
|
2 |
|
3 |
Contributors: captainform, 123contactform
|
4 |
+
Tags: CaptainForm, contact form, drag-and-drop, file upload forms, form builder plugin, newsletter subscription, order form, payment form, paypal form, popup form, registration form, secure forms, survey,form builder, event registration, survey, feedback form,booking form, poll, quiz, PayPal form
|
5 |
Requires at least: 3.9
|
6 |
+
PHP version: 7.2
|
7 |
Tested up to: 4.9
|
8 |
Stable tag: trunk
|
9 |
License: GPLv2 or later
|
78 |
* [PDF notifications](http://www.captainform.com/docs/pdf-notifications/)
|
79 |
* [SMS notifications](http://www.captainform.com/docs/sms-notifications)
|
80 |
* [Multilanguage forms](http://www.captainform.com/docs/translations/)
|
81 |
+
* Integration with [Google Drive](http://www.captainform.com/docs/google-drive/), [Dropbox](http://www.captainform.com/docs/dropbox/), [WordPress Posts](http://www.captainform.com/docs/how-to-create-wordpress-posts-through-form-submissions/) and [Google Groups](http://www.captainform.com/docs/google-groups)
|
82 |
* Allow users to [save and resume a submission](http://www.captainform.com/docs/can-users-save-and-resume-a-form-submission)
|
83 |
* Allow users to [preview a submission](http://www.captainform.com/docs/can-users-preview-the-submission-summary-before-sending-the-form)
|
84 |
* Allow users to [print a submission](http://www.captainform.com/docs/can-i-add-a-print-button-to-my-form/)
|
345 |
|
346 |
**Google Groups** - Add new members to your [Google Groups](http://www.captainform.com/docs/google-groups).
|
347 |
|
|
|
|
|
348 |
= WordPress specific apps =
|
349 |
|
350 |
**WordPress Posts** - Create [user-generated WordPress posts](http://www.captainform.com/docs/how-to-create-wordpress-posts-through-form-submissions/) when a form submission is sent. You can configure the post in different ways: set its status on published, pending or draft; customize its content, excerpt and author; use custom posts etc.
|
457 |
|
458 |
= How do I upgrade the plugin? =
|
459 |
|
460 |
+
You need to buy a license key. Choose the service plan that you want to use and click on the Upgrade button. You will be redirected to 2CheckOut \- our payment gateway \- to fill out an order form with your card information. Once you complete the payment, a license key will appear on the Thank you page and at the same time will be sent to you by email. Next, return to this page, enter your license key into the activation box and hit the Activate button to activate your new plan.
|
461 |
+
|
462 |
|
463 |
= How do I change service plans? =
|
464 |
|
465 |
+
When your needs become different, you can change your service plan the same way you have upgraded the plugin the first time. Click on the Upgrade button of the service plan that you are interested in and complete the payment in 2CheckOut or click on the Downgrade button and fill out the form which will put you in contact with our Support Team and they will manually downgrade your subscription. You can best compare service plans in our Features Matrix.
|
466 |
|
467 |
= How long is the license key valid? =
|
468 |
|
469 |
+
The license key is valid 365 days from the day you activate it. It will expire after 365 days you will activate it, and you will be automatically restricted to access your forms and form submissions, until to the moment you will renew your yearly subscription.
|
470 |
|
471 |
= What happens to my old service plan? =
|
472 |
|
473 |
+
If your subscription year is not over yet, you will be charged only for the difference of the higher plan. You will proceed the process only with one click and you will not need to fill credit card credentials again.
|
474 |
+
Please, note that your credit card should be still eligible for online purchases.
|
475 |
|
476 |
= What type of credit cards are supported? =
|
477 |
|
479 |
|
480 |
= How do I downgrade my plugin to the free account? =
|
481 |
|
482 |
+
Click on the Cancel subscription button in the My Account section and fill out the cancellation form. All premium features will be deactivated when your license key will expire. You can upgrade again at any time by purchasing a new license key.
|
483 |
|
484 |
== Changelog ==
|
485 |
+
= 2.3 (03 January 2019) =
|
486 |
+
* Compatible with PHP 7.2
|
487 |
+
|
488 |
+
= 2.2.7 (17 September 2018) =
|
489 |
+
* Optimized HTML
|
490 |
+
|
491 |
= 2.2.6 (22 August 2017) =
|
492 |
* Fixed conflict with the color picker in Avada theme v5.2.1
|
493 |
|