Ultimate CSV Importer - Version 5.3.1

Version Description

Download this release

Release Info

Developer smackcoders
Plugin Icon 128x128 Ultimate CSV Importer
Version 5.3.1
Comparing to
See all releases

Code changes from version 5.3 to 5.3.1

Readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: smackcoders, smacksupport
3
  Donate link: https://www.paypal.me/smackcoders
4
  Tags: csv, wordpress csv import, csv importer, import, import csv, import seo, import woocommerce, acf, excel, export, spreadsheet
5
  Requires at least: 4.1
6
- Tested up to: 4.8
7
- Stable tag: 5.3
8
- Version: 5.3
9
  Author: smackcoders
10
  Author URI: http://profiles.wordpress.org/smackcoders/
11
  License: GPLv2 or later
@@ -129,6 +129,14 @@ The importer supports [default WordPress Text and Text area fields](http://www.s
129
  For more FAQ, you can refer [here](http://www.smackcoders.com/wordpress-products-faq.html?utm_source=wp_org&utm_campaign=readme&utm_medium=faq).
130
 
131
  == Changelog ==
 
 
 
 
 
 
 
 
132
  = 5.3 =
133
  * Added: Prevent loss of Mapping data
134
  * Added: Custom field group plug-in support
@@ -472,6 +480,8 @@ For more FAQ, you can refer [here](http://www.smackcoders.com/wordpress-products
472
  * Initial release version. Tested and found works well without any issues.
473
 
474
  == Upgrade Notice ==
 
 
475
  = 5.3 =
476
  * Major improvements and fix updates, verify change log for upgrade.
477
  = 5.2 =
3
  Donate link: https://www.paypal.me/smackcoders
4
  Tags: csv, wordpress csv import, csv importer, import, import csv, import seo, import woocommerce, acf, excel, export, spreadsheet
5
  Requires at least: 4.1
6
+ Tested up to: 4.8.1
7
+ Stable tag: 5.3.1
8
+ Version: 5.3.1
9
  Author: smackcoders
10
  Author URI: http://profiles.wordpress.org/smackcoders/
11
  License: GPLv2 or later
129
  For more FAQ, you can refer [here](http://www.smackcoders.com/wordpress-products-faq.html?utm_source=wp_org&utm_campaign=readme&utm_medium=faq).
130
 
131
  == Changelog ==
132
+ = 5.3.1 =
133
+ * Modified: Hide the filter based on Condition.
134
+ * Fixed: data loss when page refresh (export).
135
+ * Fixed: warning during Upload.
136
+ * Fixed: user export above 1000records.
137
+ * Fixed: Custom Field Suite issue.
138
+ * Fixed: Forced quotes issue.
139
+
140
  = 5.3 =
141
  * Added: Prevent loss of Mapping data
142
  * Added: Custom field group plug-in support
480
  * Initial release version. Tested and found works well without any issues.
481
 
482
  == Upgrade Notice ==
483
+ = 5.4 =
484
+ * Upgrade now to get the fix for Export,CFS and WordPress 4.8.1 compatibility.
485
  = 5.3 =
486
  * Major improvements and fix updates, verify change log for upgrade.
487
  = 5.2 =
admin/views/form-advanced-mapping-configuration.php CHANGED
@@ -752,6 +752,7 @@ $ecommerce_module = array('WooCommerce', 'MarketPress', 'WPeCommerce', 'eShop');
752
  </main>
753
  <!-- Main End -->
754
  </form>
 
755
  <script type="text/javascript">
756
  jQuery(function() {
757
  CKEDITOR.replace('CORE__post_content');
752
  </main>
753
  <!-- Main End -->
754
  </form>
755
+ <div style="font-size: 15px;text-align: center;padding-top: 20px">Powered by <a href="https://www.smackcoders.com?utm_source=wordpress&utm_medium=plugin&utm_campaign=free_csv_importer" target="blank">Smackcoders</a>.</div>
756
  <script type="text/javascript">
757
  jQuery(function() {
758
  CKEDITOR.replace('CORE__post_content');
admin/views/form-dashboard-view.php CHANGED
@@ -45,6 +45,69 @@ if ( ! defined( 'ABSPATH' ) )
45
  <div class="box-one">
46
  <div class="top-right-box">
47
  <h3><span style="margin: -5px 5px 5px 5px;"><img src="<?php echo esc_url(SM_UCI_PRO_URL . '/assets/images/chart_bar.png');?>" /></span><?php echo __('Importers Activity','wp-ultimate-csv-importer'); ?></h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  <div class="top-right-content">
49
  <div id='dispLabel'></div>
50
  <canvas id="uci-line-chart"></canvas>
@@ -67,3 +130,4 @@ if ( ! defined( 'ABSPATH' ) )
67
 
68
  </script>
69
  </div>
 
45
  <div class="box-one">
46
  <div class="top-right-box">
47
  <h3><span style="margin: -5px 5px 5px 5px;"><img src="<?php echo esc_url(SM_UCI_PRO_URL . '/assets/images/chart_bar.png');?>" /></span><?php echo __('Importers Activity','wp-ultimate-csv-importer'); ?></h3>
48
+ <!-- start of promotions -->
49
+ <div style="float:right;">
50
+ <div class="card" style="margin-top: 0%!important;" >
51
+
52
+ <h2 class="title1" style="font-size:medium;">WP Importer Woocommerce Pro</h2>
53
+ <hr class="divider"/>
54
+ <b style="font-size: small;font-style: italic;">+ Few minutes import</b>
55
+ <p style="padding-left: 11%;">Import all woocommerce details</p>
56
+ <b style="font-size: small;font-style: italic;">+ WooCommerce Products</b>
57
+ <div style="padding-left: 11%;"><p>Orders,Refunds,Variations</p></div>
58
+ <b style="font-size: small;font-style: italic;">+ Supports</b>
59
+ <div style="padding-left: 11%;"><p>Easy import using CSV,XML</p></div>
60
+ <b style="font-size: small;font-style: italic;">+ Drag & Drop</b>
61
+ <div style="padding-left: 11%;"><p>Ease Drag & drop import</p></div>
62
+ <p>Try our new plugin!</p>
63
+ <a class="button" href="https://www.smackcoders.com/wp-ultimate-csv-importer-pro.html" target="blank">Try it now!</a>
64
+
65
+ </div>
66
+ <div class="card" >
67
+ <h2 class="title2" style="font-size:medium;">WP Importer Customfields Pro</h2>
68
+ <hr class="divider"/>
69
+ <b style="font-size: small;font-style: italic;">+ Few minutes import</b>
70
+ <p style="padding-left: 11%;">Import all Custom Fields details</p>
71
+ <b style="font-size: small;font-style: italic;">+ Custom Fields</b>
72
+ <div style="padding-left: 11%;"><p>ACF,Pods,Types,CMB2,CFS<br>CCTM,Custom Press</p></div>
73
+ <b style="font-size: small;font-style: italic;">+ Supports</b>
74
+ <div style="padding-left: 11%;"><p>Easy import using CSV,XML</p></div>
75
+ <b style="font-size: small;font-style: italic;">+ Drag & Drop</b>
76
+ <div style="padding-left: 11%;"><p>Ease Drag & drop import</p></div>
77
+ <p>Try our new plugin!</p>
78
+ <a class="cus-button" href="https://www.smackcoders.com/wp-ultimate-csv-importer-pro.html" target="blank">Try it now!</a>
79
+
80
+ </div>
81
+ <div class="card" >
82
+ <h2 class="title3" style="font-size:medium;">WP Importer Basic Pro</h2>
83
+ <hr class="divider"/>
84
+ <b style="font-size: small;font-style: italic;">+ Few minutes import</b>
85
+ <p style="padding-left: 11%;">Import Posts,Pages,Users<br>Marketpress</p>
86
+ <b style="font-size: small;font-style: italic;">+ Fields</b>
87
+ <div style="padding-left: 11%;"><p>Marketpress,Wpecommerce<br>Wp-members,Members,BSI</p></div>
88
+ <b style="font-size: small;font-style: italic;">+ Supports</b>
89
+ <div style="padding-left: 11%;"><p>Easy import using CSV,XML</p></div>
90
+ <b style="font-size: small;font-style: italic;">+ Drag & Drop</b>
91
+ <div style="padding-left: 11%;"><p>Ease Drag & drop import</p></div>
92
+ <p>Try our new plugin!</p>
93
+ <a class="basic-button" href="https://www.smackcoders.com/wp-ultimate-csv-importer-pro.html" target="blank">Try it now!</a>
94
+
95
+ </div>
96
+ <!-- <div class="card" >
97
+ <b style="font-size: 1.4em;font-style: italic;color: #20db15;">WP Ultimate CSV Importer Pro</b><br><br>
98
+ <b style="font-size: small;font-style: italic;">+ Few minutes import</b>
99
+ <p style="padding-left: 11%;">Import & Export Datas<br>Scheduled Import/Export</p>
100
+ <b style="font-size: small;font-style: italic;">+ Features</b>
101
+ <div style="padding-left: 11%;"><p> Posts,Pages,Users,<br>Custom Posts,Woocommerce<br>All Custom Fields,Marketpress<br>Wpecommerce,</p></div>
102
+ <b style="font-size: small;font-style: italic;">+ Supports</b>
103
+ <div style="padding-left: 11%;"><p>Easy import using CSV,XML</p></div>
104
+ <b style="font-size: small;font-style: italic;">+ Drag & Drop</b>
105
+ <div style="padding-left: 11%;"><p>Ease Drag & drop import</p></div>
106
+ <p>Try our new plugin!</p>
107
+ <a class="csv-button" href="https://www.smackcoders.com/" target="blank">Try it now!</a>
108
+
109
+ </div> -->
110
+ </div>
111
  <div class="top-right-content">
112
  <div id='dispLabel'></div>
113
  <canvas id="uci-line-chart"></canvas>
130
 
131
  </script>
132
  </div>
133
+ <div style="font-size: 15px;text-align: center;padding-top: 20px">Powered by <a href="https://www.smackcoders.com?utm_source=wordpress&utm_medium=plugin&utm_campaign=free_csv_importer" target="blank">Smackcoders</a>.</div>
admin/views/form-export-data.php CHANGED
@@ -47,6 +47,21 @@ if($module === 'CustomPosts') :
47
  elseif($module === 'Taxonomies') :
48
  $exportAs = isset($_POST['export_taxo_type']) ? sanitize_text_field($_POST['export_taxo_type']) : '';
49
  endif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  $exportAs = $uci_admin->import_post_types($module, $exportAs);
51
  if(is_array( $exportAs )) {
52
  $exportAs = $exportAs[$module];
@@ -210,16 +225,16 @@ if($exportType) :
210
 
211
  </p>
212
  <?php
213
- $disable_export_option = isset($_POST['export_type']) ? sanitize_text_field($_POST['export_type']) : '';
214
  if($disable_export_option == 'Tags' || $disable_export_option == 'Categories' || $disable_export_option == 'Taxonomies' || $disable_export_option == 'CustomerReviews' || $disable_export_option == 'Comments' || $disable_export_option == 'Users'){
215
- $disabled = 'disabled';
216
  }
217
  else {
218
  $disabled = '';
219
  }
220
  ?>
221
  <p>
222
- <label class="media_styles"><input type='checkbox' name='getdataforspecificperiod' id='getdataforspecificperiod' value='getdataforspecificperiod' onclick='addexportfilter(this.id);' <?php echo $disabled ?> /><span id="align"> <?php echo esc_html__('Export data for the specific period','wp-ultimate-csv-importer');?></span></label>
223
  <div id='specificperiodexport' class="col-md-12" style='padding:10px;display:none;'>
224
  <div class="col-md-5 col-md-offset-1"><b><label class="export_label"> <?php echo esc_html__('Start From','wp-ultimate-csv-importer');?></label> </b> <input type='text' class='form-control' readonly="readonly" name='postdatefrom' style='cursor:default;width:75% !important;' id='postdatefrom' value='' onchange='validateDateIntervals();' /></div>
225
  <div class="col-md-5"><b><label class="export_label"><?php echo esc_html__('End To','wp-ultimate-csv-importer');?> </label></b> <input type='text' class='form-control' name='postdateto' readonly="readonly" style='cursor:default;width:75% !important;' id='postdateto' value='' onchange='validateDateIntervals();'/>
@@ -228,9 +243,9 @@ if($exportType) :
228
  </p>
229
  <?php if($exportType !== 'users' && $exportType !== 'categories' && $exportType !== 'tags' && $exportType !== 'customtaxonomy' && $exportType !== 'customerreviews' && $exportType !== 'comments') { ?>
230
  <p>
231
- <label class="media_styles">
232
 
233
- <input type='checkbox' name='getdatawithspecificstatus' id='getdatawithspecificstatus' value='getdatawithspecificstatus' onclick='addexportfilter(this.id);' <?php echo $disabled ?> /><span id="align"> <?php echo esc_html__('Export data with the specific status','wp-ultimate-csv-importer');?></span></label>
234
  <div id='specificstatusexport' class="col-md-12" style='padding:15px;display:none;'>
235
  <div class="col-md-2 col-md-offset-1">
236
  <label class="export_label"> <?php echo esc_html__('Status','wp-ultimate-csv-importer'); ?> </label></div>
@@ -249,7 +264,7 @@ if($exportType) :
249
  <?php } ?>
250
  <?php if($exportType !== 'users' && $exportType !== 'categories' && $exportType !== 'tags' && $exportType !== 'customtaxonomy' && $exportType !== 'customerreviews') { ?>
251
  <p>
252
- <label class="media_styles"><input type='checkbox' name='getdatabyspecificauthors' id='getdatabyspecificauthors' value='getdatabyspecificauthors' onclick='addexportfilter(this.id);' <?php echo $disabled ?>/><span id="align"> <?php echo esc_html__('Export data by specific authors','wp-ultimate-csv-importer');?></span></label>
253
  <div id='specificauthorexport' class="col-md-12" style='padding:15px;display:none;'>
254
  <div class="col-md-2 col-md-offset-1">
255
  <label class="export_label"> <?php echo esc_html__('Authors','wp-ultimate-csv-importer'); ?> </label></div>
@@ -429,3 +444,5 @@ if($exportType) :
429
  format: 'yyyy-mm-dd',
430
  });
431
  </script>
 
 
47
  elseif($module === 'Taxonomies') :
48
  $exportAs = isset($_POST['export_taxo_type']) ? sanitize_text_field($_POST['export_taxo_type']) : '';
49
  endif;
50
+ if (isset($_POST) && sizeof($_POST) != 0 ) {
51
+ $exp_type = isset($_POST['export_type']) ? sanitize_text_field($_POST['export_type']) : '';
52
+ $exp_post_type = isset($_POST['export_post_type']) ? sanitize_text_field($_POST['export_post_type']) : '';
53
+ $mode = array(); $mode['exp_type'] = $exp_type;
54
+ $mode['exp_post_type'] = $exp_post_type;
55
+ update_option('csv_free_exporter_option', $mode);
56
+ }
57
+ else{
58
+ $exp_option = get_option('csv_free_exporter_option');
59
+ $module = $exp_option['exp_type'];
60
+ if($module == 'CustomPosts')
61
+ $exportAs = $exp_option['exp_post_type'];
62
+ else
63
+ $exportAs = '';
64
+ }
65
  $exportAs = $uci_admin->import_post_types($module, $exportAs);
66
  if(is_array( $exportAs )) {
67
  $exportAs = $exportAs[$module];
225
 
226
  </p>
227
  <?php
228
+ $disable_export_option = isset($module) ? sanitize_text_field($module) : '';
229
  if($disable_export_option == 'Tags' || $disable_export_option == 'Categories' || $disable_export_option == 'Taxonomies' || $disable_export_option == 'CustomerReviews' || $disable_export_option == 'Comments' || $disable_export_option == 'Users'){
230
+ $disabled = 'hidden';
231
  }
232
  else {
233
  $disabled = '';
234
  }
235
  ?>
236
  <p>
237
+ <label class="media_styles" <?php echo $disabled ?> ><input type='checkbox' name='getdataforspecificperiod' id='getdataforspecificperiod' value='getdataforspecificperiod' onclick='addexportfilter(this.id);' /><span id="align"> <?php echo esc_html__('Export data for the specific period','wp-ultimate-csv-importer');?></span></label>
238
  <div id='specificperiodexport' class="col-md-12" style='padding:10px;display:none;'>
239
  <div class="col-md-5 col-md-offset-1"><b><label class="export_label"> <?php echo esc_html__('Start From','wp-ultimate-csv-importer');?></label> </b> <input type='text' class='form-control' readonly="readonly" name='postdatefrom' style='cursor:default;width:75% !important;' id='postdatefrom' value='' onchange='validateDateIntervals();' /></div>
240
  <div class="col-md-5"><b><label class="export_label"><?php echo esc_html__('End To','wp-ultimate-csv-importer');?> </label></b> <input type='text' class='form-control' name='postdateto' readonly="readonly" style='cursor:default;width:75% !important;' id='postdateto' value='' onchange='validateDateIntervals();'/>
243
  </p>
244
  <?php if($exportType !== 'users' && $exportType !== 'categories' && $exportType !== 'tags' && $exportType !== 'customtaxonomy' && $exportType !== 'customerreviews' && $exportType !== 'comments') { ?>
245
  <p>
246
+ <label class="media_styles" <?php echo $disabled ?> >
247
 
248
+ <input type='checkbox' name='getdatawithspecificstatus' id='getdatawithspecificstatus' value='getdatawithspecificstatus' onclick='addexportfilter(this.id);'/><span id="align"> <?php echo esc_html__('Export data with the specific status','wp-ultimate-csv-importer');?></span></label>
249
  <div id='specificstatusexport' class="col-md-12" style='padding:15px;display:none;'>
250
  <div class="col-md-2 col-md-offset-1">
251
  <label class="export_label"> <?php echo esc_html__('Status','wp-ultimate-csv-importer'); ?> </label></div>
264
  <?php } ?>
265
  <?php if($exportType !== 'users' && $exportType !== 'categories' && $exportType !== 'tags' && $exportType !== 'customtaxonomy' && $exportType !== 'customerreviews') { ?>
266
  <p>
267
+ <label class="media_styles" <?php echo $disabled ?> ><input type='checkbox' name='getdatabyspecificauthors' id='getdatabyspecificauthors' value='getdatabyspecificauthors' onclick='addexportfilter(this.id);' /><span id="align"> <?php echo esc_html__('Export data by specific authors','wp-ultimate-csv-importer');?></span></label>
268
  <div id='specificauthorexport' class="col-md-12" style='padding:15px;display:none;'>
269
  <div class="col-md-2 col-md-offset-1">
270
  <label class="export_label"> <?php echo esc_html__('Authors','wp-ultimate-csv-importer'); ?> </label></div>
444
  format: 'yyyy-mm-dd',
445
  });
446
  </script>
447
+
448
+ <div style="font-size: 15px;text-align: center;padding-top: 20px">Powered by <a href="https://www.smackcoders.com?utm_source=wordpress&utm_medium=plugin&utm_campaign=free_csv_importer" target="blank">Smackcoders</a>.</div>
admin/views/form-file-import-method.php CHANGED
@@ -200,3 +200,4 @@ $main_mode = isset($ucisettings['enable_main_mode']) ? $ucisettings['enable_main
200
  </form>
201
  </div>
202
 
 
200
  </form>
201
  </div>
202
 
203
+ <div style="font-size: 15px;text-align: center;padding-top: 20px">Powered by <a href="https://www.smackcoders.com?utm_source=wordpress&utm_medium=plugin&utm_campaign=free_csv_importer" target="blank">Smackcoders</a>.</div>
admin/views/form-ignite-import.php CHANGED
@@ -145,3 +145,5 @@ if($main_mode == 'on'){
145
 
146
  igniteImport();
147
  </script>
 
 
145
 
146
  igniteImport();
147
  </script>
148
+
149
+ <div style="font-size: 15px;text-align: center;padding-top: 20px">Powered by <a href="https://www.smackcoders.com?utm_source=wordpress&utm_medium=plugin&utm_campaign=free_csv_importer" target="blank">Smackcoders</a>.</div>
admin/views/form-import-configuration.php CHANGED
@@ -137,4 +137,6 @@ else{
137
  // swal('Warning!', 'Please upgrade to PRO for duplicate handling.', 'warning')
138
 
139
  </script>
140
- <?php } ?>
 
 
137
  // swal('Warning!', 'Please upgrade to PRO for duplicate handling.', 'warning')
138
 
139
  </script>
140
+ <?php } ?>
141
+
142
+ <div style="font-size: 15px;text-align: center;padding-top: 20px">Powered by <a href="https://www.smackcoders.com?utm_source=wordpress&utm_medium=plugin&utm_campaign=free_csv_importer" target="blank">Smackcoders</a>.</div>
admin/views/form-manager-view.php CHANGED
@@ -107,3 +107,6 @@ if ( ! defined( 'ABSPATH' ) )
107
  jQuery(".selected").addClass("right-arrow");
108
  });
109
  </script>
 
 
 
107
  jQuery(".selected").addClass("right-arrow");
108
  });
109
  </script>
110
+
111
+ <div style="font-size: 15px;text-align: center;padding-top: 20px">Powered by <a href="https://www.smackcoders.com?utm_source=wordpress&utm_medium=plugin&utm_campaign=free_csv_importer" target="blank">Smackcoders</a>.</div>
112
+
admin/views/form-mapping-configuration.php CHANGED
@@ -284,3 +284,5 @@ if(isset($_REQUEST['mapping_type']) && $_REQUEST['mapping_type'] == 'normal') {
284
  </form>
285
  </div>
286
  <input type='hidden' id='h1' name='h1' value='<?php if (isset($mappingcount)) { echo $mappingcount; } ?>'/>
 
 
284
  </form>
285
  </div>
286
  <input type='hidden' id='h1' name='h1' value='<?php if (isset($mappingcount)) { echo $mappingcount; } ?>'/>
287
+
288
+ <div style="font-size: 15px;text-align: center;padding-top: 20px">Powered by <a href="https://www.smackcoders.com?utm_source=wordpress&utm_medium=plugin&utm_campaign=free_csv_importer" target="blank">Smackcoders</a>.</div>
admin/views/form-media-handling.php CHANGED
@@ -185,3 +185,5 @@ $records = $uci_admin->GetPostValues(sanitize_key($_REQUEST['eventkey']));
185
  <div class="mb20"></div>
186
  </form>
187
  </div>
 
 
185
  <div class="mb20"></div>
186
  </form>
187
  </div>
188
+
189
+ <div style="font-size: 15px;text-align: center;padding-top: 20px">Powered by <a href="https://www.smackcoders.com?utm_source=wordpress&utm_medium=plugin&utm_campaign=free_csv_importer" target="blank">Smackcoders</a>.</div>
admin/views/form-settings-view.php CHANGED
@@ -527,6 +527,7 @@ if(isset($ucioptimize['delete_all_trackback_comments'])) {
527
  </div>
528
  </form>
529
  </div>
 
530
  <script>
531
  jQuery(function () {
532
  //getting click event to show modal
527
  </div>
528
  </form>
529
  </div>
530
+ <div style="font-size: 15px;text-align: center;padding-top: 20px">Powered by <a href="https://www.smackcoders.com?utm_source=wordpress&utm_medium=plugin&utm_campaign=free_csv_importer" target="blank">Smackcoders</a>.</div>
531
  <script>
532
  jQuery(function () {
533
  //getting click event to show modal
admin/views/form-support-view.php CHANGED
@@ -97,3 +97,4 @@ if ( ! defined( 'ABSPATH' ) )
97
  </div>
98
  </div>
99
  </div>
 
97
  </div>
98
  </div>
99
  </div>
100
+ <div style="font-size: 15px;text-align: center;padding-top: 20px">Powered by <a href="https://www.smackcoders.com?utm_source=wordpress&utm_medium=plugin&utm_campaign=free_csv_importer" target="blank">Smackcoders</a>.</div>
assets/css/ultimate-importer.css CHANGED
@@ -881,9 +881,41 @@ font-family: "open sans";
881
  /*dashboard page style */
882
  .top-left-content, .top-right-content {
883
  border: 1px solid #dddddd;
884
- width: 99%;
885
  background: #ffffff;
886
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
887
  .top-right-content > canvas, .top-left-content > canvas, #canvas-holder {
888
  width: 99% !important;
889
  }
881
  /*dashboard page style */
882
  .top-left-content, .top-right-content {
883
  border: 1px solid #dddddd;
884
+ width: 76%;
885
  background: #ffffff;
886
  }
887
+ .card {box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);padding: 1em 1em 1em!important;transition: 0.3s;width: 20%;border-radius: 5px;}
888
+
889
+ .card:hover {box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);}
890
+ .title1 {
891
+
892
+ color: #c635ea;
893
+ text-align: center;
894
+ font-weight: 300;
895
+ }
896
+ .title2 {
897
+
898
+ color: #fc7e0a;
899
+ text-align: center;
900
+ font-weight: 300;
901
+ }
902
+ .title3 {
903
+
904
+ color: #35b7ea;
905
+ text-align: center;
906
+ font-weight: 300;
907
+ }
908
+ .divider {
909
+ border-bottom: 1px solid #febbbb;
910
+ }
911
+ .button {background-color: #c635ea;border: none;color: white;padding: 15px 32px;text-align: center;text-decoration: none;display: inline-block;font-size: 16px;margin: 4px 2px;cursor: pointer;color: #fff!important;
912
+ border-color: #c635ea!important;background: #c635ea!important;-webkit-box-shadow: 0 1px 0 #c635ea!important;box-shadow: 0 1px 0 #c635ea!important;vertical-align: top;width: 100%;}
913
+ .cus-button {background-color: #fc7e0a;border: none!important;color: white;padding: 2px 32px!important;text-align: center;text-decoration: none;display: inline-block;font-size: 16px;margin: 4px 2px;cursor: pointer;color: #fff!important;
914
+ border-color:#fc7e0a!important;background: #fc7e0a!important;-webkit-box-shadow: 0 1px 0 #fc7e0a!important;box-shadow: 0 1px 0 #fc7e0a!important;vertical-align: top;width: 100%;}
915
+ .basic-button {background-color: #35b7ea;border: none!important;color: white;padding: 2px 32px!important;text-align: center;text-decoration: none;display: inline-block;font-size: 16px;margin: 4px 2px;cursor: pointer;color: #fff!important;
916
+ border-color:#35b7ea!important;background: #35b7ea!important;-webkit-box-shadow: 0 1px 0 #35b7ea!important;box-shadow: 0 1px 0 #35b7ea!important;vertical-align: top;width: 100%;}
917
+ .csv-button {background-color: #35b7ea;border: none!important;color: white;padding: 2px 32px!important;text-align: center;text-decoration: none;display: inline-block;font-size: 16px;margin: 4px 2px;cursor: pointer;color: #fff!important;
918
+ border-color:#20db15!important;background: #20db15!important;-webkit-box-shadow: 0 1px 0 #20db15!important;box-shadow: 0 1px 0 #20db15!important;vertical-align: top;width: 100%;}
919
  .top-right-content > canvas, .top-left-content > canvas, #canvas-holder {
920
  width: 99% !important;
921
  }
assets/js/ultimate-importer.js CHANGED
@@ -1607,7 +1607,7 @@ function igniteExport() {
1607
  jQuery('#download_file').prop('disabled', false);
1608
  jQuery("a#download_file_link").attr("href", response.exported_file);
1609
  jQuery('#offset').val(response.new_offset);
1610
- if (parseInt(response.new_offset) >= parseInt(response.total_row_count)) {
1611
  jQuery('#wpwrap').waitMe('hide');
1612
  return false;
1613
  }
1607
  jQuery('#download_file').prop('disabled', false);
1608
  jQuery("a#download_file_link").attr("href", response.exported_file);
1609
  jQuery('#offset').val(response.new_offset);
1610
+ if (parseInt(response.total_row_count) < parseInt(response.new_offset)) {
1611
  jQuery('#wpwrap').waitMe('hide');
1612
  return false;
1613
  }
includes/class-uci-exporter.php CHANGED
@@ -898,7 +898,8 @@ class SmackUCIExporter {
898
  if ( preg_match("/".$delimiter."|".$enclosure."|\n|\r/i", $value) || ($value{0} == ' ' || substr($value, -1) == ' ') ) {
899
  $value = str_replace($this->enclosure, $this->enclosure.$this->enclosure, $value);
900
  $value = $this->enclosure.$value.$this->enclosure;
901
- }
 
902
  }
903
  return $value;
904
  }
898
  if ( preg_match("/".$delimiter."|".$enclosure."|\n|\r/i", $value) || ($value{0} == ' ' || substr($value, -1) == ' ') ) {
899
  $value = str_replace($this->enclosure, $this->enclosure.$this->enclosure, $value);
900
  $value = $this->enclosure.$value.$this->enclosure;
901
+ } else
902
+ $value = $this->enclosure.$value.$this->enclosure;
903
  }
904
  return $value;
905
  }
includes/class-uci-helper.php CHANGED
@@ -2107,7 +2107,7 @@ $currentMapping = $this->generateDataArrayBasedOnGroups( $available_groups_type,
2107
  if($group_id_arr != '') {
2108
  $group_id_arr = substr( $group_id_arr, 0, - 1 );
2109
  // Get available CFS fields based on the import type and group id
2110
- $get_cfs_fields = $wpdb->get_results( $wpdb->prepare("SELECT meta_value FROM $wpdb->postmeta WHERE post_id IN ($group_id_arr) and meta_key = 'cfs_fields'"), ARRAY_A);
2111
  }
2112
  // Available CFS fields
2113
  if (!empty($get_cfs_fields)) {
2107
  if($group_id_arr != '') {
2108
  $group_id_arr = substr( $group_id_arr, 0, - 1 );
2109
  // Get available CFS fields based on the import type and group id
2110
+ $get_cfs_fields = $wpdb->get_results( $wpdb->prepare("SELECT meta_value FROM $wpdb->postmeta WHERE post_id IN (%s) and meta_key =%s ",$group_id_arr,'cfs_fields'), ARRAY_A);
2111
  }
2112
  // Available CFS fields
2113
  if (!empty($get_cfs_fields)) {
includes/class-uci-upload-handler.php CHANGED
@@ -295,6 +295,7 @@ if(!class_exists('SmackUCIUploadHandler')) {
295
  function get_config_bytes($val) {
296
  $val = trim($val);
297
  $last = strtolower($val[strlen($val) - 1]);
 
298
  switch ($last) {
299
  case 'g':
300
  $val *= 1024;
295
  function get_config_bytes($val) {
296
  $val = trim($val);
297
  $last = strtolower($val[strlen($val) - 1]);
298
+ $val = substr($val, 0, -1);
299
  switch ($last) {
300
  case 'g':
301
  $val *= 1024;
index.php CHANGED
@@ -2,7 +2,7 @@
2
  /******************************
3
  * Plugin Name: WP Ultimate CSV Importer
4
  * Description: Seamlessly create posts, custom posts, pages, media, SEO and more from your CSV data with ease.
5
- * Version: 5.3
6
  * Author: smackcoders
7
  * Plugin URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html?utm_source=plugin&utm_campaign=csv_importer_pro&utm_medium=wordpress
8
  * Author URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html?utm_source=plugin&utm_campaign=csv_importer_pro&utm_medium=wordpress
2
  /******************************
3
  * Plugin Name: WP Ultimate CSV Importer
4
  * Description: Seamlessly create posts, custom posts, pages, media, SEO and more from your CSV data with ease.
5
+ * Version: 5.3.1
6
  * Author: smackcoders
7
  * Plugin URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html?utm_source=plugin&utm_campaign=csv_importer_pro&utm_medium=wordpress
8
  * Author URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html?utm_source=plugin&utm_campaign=csv_importer_pro&utm_medium=wordpress