Advanced Contact form 7 DB - Version 1.8.7

Version Description

  • We have upgraded with Security patches
Download this release

Release Info

Developer vsourz1td
Plugin Icon 128x128 Advanced Contact form 7 DB
Version 1.8.7
Comparing to
See all releases

Code changes from version 1.8.6 to 1.8.7

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: vsourz1td
3
  Tags: contact form 7 db, contact form db, advanced cf7 db, contact form 7 database, contact form db, contact form 7, save form data, save contact form, save cf7, database, cf7db, save-contact-form, Save-Forms-Data, import-cf7, export-contact-data, view-cf7-entry
4
  Requires at least: 4.0
5
  Tested up to: 5.9
6
- Stable tag: 1.8.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -42,7 +42,7 @@ Every form that is submitted in the website will be captured into database using
42
 
43
  == Commercial Features ==
44
  **1. Advanced CF7 DB - GDPR Compliant**
45
- Advanced CF7 DB – GDPR Compliant plugin assists website and web-shop owners to comply with European privacy regulations known as GDPR. Advanced CF7 DB – GDPR Compliant is an add-on of Advanced CF7 DB, it is based on GDPR rules to export or erase user’s personal data stored with advanced CF7 DB.
46
 
47
  Download Advanced CF7 DB – GDPR Complaint plugin from <a target="_blank" href="https://codecanyon.net/item/advanced-cf7-db-gdpr-compliant/22386060">here</a>
48
 
@@ -61,7 +61,7 @@ We have introduced a new add-on “Schedule Report” focusing on day-to-day bus
61
  * Weekly Report
62
  * Monthly Report
63
 
64
- Reports will be automatically generated and will be available to you in your e-mail address as per scheduled routine.
65
 
66
  Download Schedule Report plugin from <a target="_blank" href="https://codecanyon.net/item/schedule-report-for-advanced-cf7-db/21560647?s_rank=8">here</a>
67
 
@@ -74,19 +74,19 @@ Download Schedule Report plugin from <a target="_blank" href="https://codecanyon
74
  * Scheduled Report will also be added to wp-cron and will be triggered as per schedule
75
 
76
  **3. Advanced CF7 DB - User Access Manager**
77
- Need to provide access to other users? Your, search ends now, this plugin provides access to individual users or user groups and accordingly user(s) can view or edit their contact form DB data.
78
 
79
  Download Advanced CF7 DB – User Access Manager plugin from <a target="_blank" href="https://codecanyon.net/item/advanced-cf7-db-user-access-manager/22058788">here</a>
80
-
81
  = Advanced CF7 DB - User Access Manager Plugin Features =
82
  * Provide access of CF7 DB to view & update data to individual users or user groups
83
  * Provide access to single user for creating single/multiple forms
84
 
85
 
86
  **mountstride CRM**
87
- Do you want to effectively manage your end to end customer engagement and want to automate your business workflow?
88
 
89
- Looking for CRM that Collaborates, Saves Time & Makes Work Easier for You.
90
 
91
  Try mountstride!
92
 
@@ -94,7 +94,7 @@ mountstride is a simple, efficient & easy to use solution for managing, prioriti
94
 
95
  We empower Salespeople by focusing on providing Simple tools to effectively capture, nurture and convert their leads. With less time spent on trying to stay organised your Sales Teams can focus on winning more deals.
96
 
97
- Free for up to 5 users, no fixed contracts, no credit card required.
98
 
99
  Start collaborating as a team, as you always wanted to. - <a target="_blank" href="https://www.mountstride.com/contact/">Contact Us</a>.
100
 
@@ -118,7 +118,7 @@ For support, email us at: <wp.support@vsourz.com>
118
  == Installation ==
119
 
120
  = Install via WordPress Admin =
121
- 1. Go to Admin > Plugins > Add New
122
  2. On the upper portion click the Upload link.
123
  3. Using the file upload field, upload the plugin zip file here and activate the plugin.
124
 
@@ -163,7 +163,7 @@ Please follow below steps:
163
  – You need to add different shortcode for each site with specific siteId. If you need to restrict for all the sites then just place the shortcode without the parameter.
164
 
165
  = How to restrict the plugin from storing form entry to Contact Form DB? =
166
- Please follow below steps for restricting the plugin to store data
167
  – Goto -> wp-content/themes/{active theme folder}/functions.php
168
  – Open the functions.php file and place below code at the end of the file.
169
  add_filter(‘vsz_cf7_unwanted_form_data_submission’,’vsz_restrict_form_data_submission’);
@@ -177,7 +177,7 @@ add_filter(‘vsz_cf7_unwanted_form_data_submission’,’vsz_restrict_form_data
177
  function vsz_restrict_form_data_submission($contact_form_ids){
178
  $contact_form_ids[] = [‘{your-contact-form-id}’,'{your-contact-form-id}’];
179
  return $contact_form_ids;
180
- }
181
 
182
 
183
  == Screenshots ==
@@ -192,6 +192,9 @@ return $contact_form_ids;
192
 
193
  == Changelog ==
194
 
 
 
 
195
  = 1.8.6 =
196
  * We have upgraded with Security patches
197
 
@@ -283,11 +286,11 @@ return $contact_form_ids;
283
  = 1.1.2 =
284
  * Fix error related to PHP 7.1.
285
 
286
- = 1.1.1 =
287
  * Made changes to resolve the issue of user feasibility when editing the form fields.
288
  * Minor tweak related to export functionality and attachment download functionality.
289
 
290
- = 1.1.0 =
291
  * Update Import Functionality.
292
  * Fix CF7 Version related issue.
293
 
3
  Tags: contact form 7 db, contact form db, advanced cf7 db, contact form 7 database, contact form db, contact form 7, save form data, save contact form, save cf7, database, cf7db, save-contact-form, Save-Forms-Data, import-cf7, export-contact-data, view-cf7-entry
4
  Requires at least: 4.0
5
  Tested up to: 5.9
6
+ Stable tag: 1.8.7
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
42
 
43
  == Commercial Features ==
44
  **1. Advanced CF7 DB - GDPR Compliant**
45
+ Advanced CF7 DB – GDPR Compliant plugin assists website and web-shop owners to comply with European privacy regulations known as GDPR. Advanced CF7 DB – GDPR Compliant is an add-on of Advanced CF7 DB, it is based on GDPR rules to export or erase user’s personal data stored with advanced CF7 DB.
46
 
47
  Download Advanced CF7 DB – GDPR Complaint plugin from <a target="_blank" href="https://codecanyon.net/item/advanced-cf7-db-gdpr-compliant/22386060">here</a>
48
 
61
  * Weekly Report
62
  * Monthly Report
63
 
64
+ Reports will be automatically generated and will be available to you in your e-mail address as per scheduled routine.
65
 
66
  Download Schedule Report plugin from <a target="_blank" href="https://codecanyon.net/item/schedule-report-for-advanced-cf7-db/21560647?s_rank=8">here</a>
67
 
74
  * Scheduled Report will also be added to wp-cron and will be triggered as per schedule
75
 
76
  **3. Advanced CF7 DB - User Access Manager**
77
+ Need to provide access to other users? Your, search ends now, this plugin provides access to individual users or user groups and accordingly user(s) can view or edit their contact form DB data.
78
 
79
  Download Advanced CF7 DB – User Access Manager plugin from <a target="_blank" href="https://codecanyon.net/item/advanced-cf7-db-user-access-manager/22058788">here</a>
80
+
81
  = Advanced CF7 DB - User Access Manager Plugin Features =
82
  * Provide access of CF7 DB to view & update data to individual users or user groups
83
  * Provide access to single user for creating single/multiple forms
84
 
85
 
86
  **mountstride CRM**
87
+ Do you want to effectively manage your end to end customer engagement and want to automate your business workflow?
88
 
89
+ Looking for CRM that Collaborates, Saves Time & Makes Work Easier for You.
90
 
91
  Try mountstride!
92
 
94
 
95
  We empower Salespeople by focusing on providing Simple tools to effectively capture, nurture and convert their leads. With less time spent on trying to stay organised your Sales Teams can focus on winning more deals.
96
 
97
+ Free for up to 5 users, no fixed contracts, no credit card required.
98
 
99
  Start collaborating as a team, as you always wanted to. - <a target="_blank" href="https://www.mountstride.com/contact/">Contact Us</a>.
100
 
118
  == Installation ==
119
 
120
  = Install via WordPress Admin =
121
+ 1. Go to Admin > Plugins > Add New
122
  2. On the upper portion click the Upload link.
123
  3. Using the file upload field, upload the plugin zip file here and activate the plugin.
124
 
163
  – You need to add different shortcode for each site with specific siteId. If you need to restrict for all the sites then just place the shortcode without the parameter.
164
 
165
  = How to restrict the plugin from storing form entry to Contact Form DB? =
166
+ Please follow below steps for restricting the plugin to store data
167
  – Goto -> wp-content/themes/{active theme folder}/functions.php
168
  – Open the functions.php file and place below code at the end of the file.
169
  add_filter(‘vsz_cf7_unwanted_form_data_submission’,’vsz_restrict_form_data_submission’);
177
  function vsz_restrict_form_data_submission($contact_form_ids){
178
  $contact_form_ids[] = [‘{your-contact-form-id}’,'{your-contact-form-id}’];
179
  return $contact_form_ids;
180
+ }
181
 
182
 
183
  == Screenshots ==
192
 
193
  == Changelog ==
194
 
195
+ = 1.8.7 =
196
+ * We have upgraded with Security patches
197
+
198
  = 1.8.6 =
199
  * We have upgraded with Security patches
200
 
286
  = 1.1.2 =
287
  * Fix error related to PHP 7.1.
288
 
289
+ = 1.1.1 =
290
  * Made changes to resolve the issue of user feasibility when editing the form fields.
291
  * Minor tweak related to export functionality and attachment download functionality.
292
 
293
+ = 1.1.0 =
294
  * Update Import Functionality.
295
  * Fix CF7 Version related issue.
296
 
admin/class-advanced-cf7-db-admin.php CHANGED
@@ -920,7 +920,7 @@ class Advanced_Cf7_Db_Admin {
920
  $dir_upload = $upload_dir['basedir'] . '/' . $cf7d_upload_folder;
921
 
922
  $file_path = realpath($dir_upload."/".basename($file_url));
923
- if(file_exists($file_path)){
924
  //$ret = unlink($file_path);
925
  wp_delete_file( $file_path );
926
  }
@@ -1367,7 +1367,7 @@ class Advanced_Cf7_Db_Admin {
1367
  $delete_path = path_join($dir_upload,$val);
1368
 
1369
  $realDeletePath = realpath($delete_path);
1370
- if(file_exists($realDeletePath)){
1371
  wp_delete_file( $realDeletePath );
1372
 
1373
  echo esc_html("y");
@@ -1714,4 +1714,4 @@ function cf7_check_capability($user_capability){
1714
  }
1715
  }
1716
  return false;
1717
- }
920
  $dir_upload = $upload_dir['basedir'] . '/' . $cf7d_upload_folder;
921
 
922
  $file_path = realpath($dir_upload."/".basename($file_url));
923
+ if(file_exists($file_path) && $file_path && (strpos($file_path, $dir_upload) === 0) ){
924
  //$ret = unlink($file_path);
925
  wp_delete_file( $file_path );
926
  }
1367
  $delete_path = path_join($dir_upload,$val);
1368
 
1369
  $realDeletePath = realpath($delete_path);
1370
+ if(file_exists($realDeletePath) && $realDeletePath && (strpos($realDeletePath, $dir_upload) === 0)){
1371
  wp_delete_file( $realDeletePath );
1372
 
1373
  echo esc_html("y");
1714
  }
1715
  }
1716
  return false;
1717
+ }
advanced-cf7-db.php CHANGED
@@ -9,7 +9,7 @@
9
  * Plugin Name: Advanced CF7 DB
10
  * Plugin URI: https://wordpress.org/plugins/advanced-cf7-db/
11
  * Description: Save all contact form 7 submitted data to the database, View, Export, ordering, Change field labels, Import data using CSV very easily.
12
- * Version: 1.8.6
13
  * Author: Vsourz Digital
14
  * Author URI: https://www.vsourz.com
15
  * License: GPL-2.0+
@@ -23,7 +23,7 @@ if ( ! defined( 'WPINC' ) ) {
23
  die;
24
  }
25
  global $vsz_cf7db_current_version;
26
- $vsz_cf7db_current_version = '1.8.6';
27
  /**
28
  * Defining all the table names and setting their prefix here
29
  */
9
  * Plugin Name: Advanced CF7 DB
10
  * Plugin URI: https://wordpress.org/plugins/advanced-cf7-db/
11
  * Description: Save all contact form 7 submitted data to the database, View, Export, ordering, Change field labels, Import data using CSV very easily.
12
+ * Version: 1.8.7
13
  * Author: Vsourz Digital
14
  * Author URI: https://www.vsourz.com
15
  * License: GPL-2.0+
23
  die;
24
  }
25
  global $vsz_cf7db_current_version;
26
+ $vsz_cf7db_current_version = '1.8.7';
27
  /**
28
  * Defining all the table names and setting their prefix here
29
  */
includes/class-advanced-cf7-db.php CHANGED
@@ -69,7 +69,7 @@ class Advanced_Cf7_Db {
69
  public function __construct() {
70
 
71
  $this->plugin_name = 'advanced-cf7-db';
72
- $this->version = '1.8.6';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
69
  public function __construct() {
70
 
71
  $this->plugin_name = 'advanced-cf7-db';
72
+ $this->version = '1.8.7';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();