Forms by CaptainForm – Form Builder for WordPress - Version 2.3

Version Description

(03 January 2019) = * Compatible with PHP 7.2

Download this release

Release Info

Developer 123contactform
Plugin Icon 128x128 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.2.6
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.2.6';
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 self::old_cf_wpp_decrypt($enc);
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
- <!--noptimize--><script type="text/javascript">
2
- captainformCustomVars['{{ID}}'] = '{{CUSTOMVARS}}';
3
- captainformThemeStyle['{{ID}}'] = '{{STYLE}}';
4
- captainformDomReady(function () {
5
- if (document.getElementById('captainform_easyxdmjs') == null) {
6
- append_element({
7
- elementType: "script",
8
- type: "text/javascript",
9
- id: "captainform_easyxdmjs",
10
- src: cfJsHost + captainform_servicedomain + "/includes/easyXDM.min.js",
11
- });
12
- }
13
- if (document.getElementById('iframeresizer_embedding_system') == null) {
14
- append_element({
15
- elementType: "script",
16
- type: "text/javascript",
17
- id: "iframeresizer_embedding_system",
18
- src: cfJsHost + captainform_servicedomain + "/modules/captainform/js/iframe_resizer/3.5/iframeResizer.min.js",
19
- });
20
- }
21
- append_element({
22
- elementType: "script",
23
- type: "text/javascript",
24
- id: "jsform-{{ID}}",
25
- src: cfJsHost + captainform_servicedomain + "/jsform-{{ID}}.js?" + captainformCustomVars['{{ID}}'] + captainformThemeStyle['{{ID}}'],
26
- replacing: document.getElementById("{{ID}}"),
27
- });
28
- });
29
- </script><!--/noptimize-->
30
- <div id="{{ID}}"></div>
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/), [Google Groups](http://www.captainform.com/docs/google-groups) and [Yahoo Groups](http://www.captainform.com/docs/yahoo-groups)
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
- While you can create fully functional free forms, if you need advanced functionality, 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 Avangate, our payment gateway, to fill out an order form with your card information. Once you complete the payment, a license key will be sent to you by email. Next, go to the Change Plan page, enter your license key into the activation box and hit the Activate button to activate your new plan.
 
462
 
463
  = How do I change service plans? =
464
 
465
- The same way you upgraded the plugin the first time. Click on the Upgrade or Downgrade button of the service plan you are interested in and complete the payment in Avangate. You will receive the new license key by email. Return to this page and enter the key in the activation box. Afterwards, hit the Activate button.
466
 
467
  = How long is the license key valid? =
468
 
469
- The license key is valid for 365 days from the day you bought it. If you do not activate the license key during this period, you will need to buy a new one to upgrade your account.
470
 
471
  = What happens to my old service plan? =
472
 
473
- If your subscription year is not over yet, you can either have it prorated or get a refund for what is left from your previous plan. Please contact us at the email address support@captainform.com to let us know what you prefer.
 
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
- To downgrade the plugin, click on the Downgrade button under our Regular plan and fill out the cancellation form. All premium features will be deactivated, but you can upgrade again at any time by purchasing a new license key.
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