Ultimate CSV Importer - Version 3.6.74

Version Description

Download this release

Release Info

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

Code changes from version 3.6.75 to 3.6.74

Readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: http://www.smackcoders.com/donate.html
4
  Tags: batch, csv, excel, import, spreadsheet, autoblog, Autoblogger, csvimporter, data, dataimport, importer, wpcsvimporter, wpimporter, acf, auto blog, csv import, csv to post, data import, Easy CSV Importer, eci, import plugin, admin, user, users, Advanced CSV Import, Advanced CSV Importer, affiliate, amazon, author, automatic, blog, bulk, bulk edit, bulk editor, categories, comments, content, csv file, csv format, csv importer, custom post, e-commerce, free, images, language, manage, media, meta, multisite, News, page, photos, pictures, plugin, Post, seo, shop, shortcode, tags, Taxonomy, text, title, video, eshop, woocommerce, wordpress, xml, youtube, export
5
  Requires at least: 3.9
6
  Tested up to: 4.1
7
- Stable tag: 3.6.75
8
- Version: 3.6.75
9
  Author: smackcoders
10
  Author URI: http://profiles.wordpress.org/smackcoders/
11
 
@@ -15,9 +15,7 @@ Advanced CSV Importer plugin to import/export posts, pages, eshop products, cust
15
 
16
  == Description ==
17
 
18
- Wordpress Ultimate CSV Importer Pro V4.0 Beta is available as live demo for users to test drive all new features, improvements and changes from http://demo.smackcoders.com/csv4beta. Users can get product manual and sample csv files etc., from - https://www.smackcoders.com/blog/wordpress-ultimate-csv-importer-pro-v4-0-beta-demo-is-available.html
19
-
20
- ** Now stable version 3.6.75 available to download with hot security fix. Visit [www.wpultimatecsvimporter.com](http://www.wpultimatecsvimporter.com) for more news and future plans.
21
 
22
  WP Ultimate CSV Importer Plugin proven much effective advanced CSV File Importer With Ultimate User Friendly Features. It is much easy now even for newbies to import any csv file as any wordpress post type and associated fields by simple mapping feature. Now import any CSV file as thousands of post, page and custom post types. This is admin side free plugin helps you in bulk edit, create and import posts type for your blog or site.
23
 
@@ -26,7 +24,6 @@ WP Ultimate CSV Importer Plugin proven much effective advanced CSV File Importer
26
  <p>https://www.youtube.com/watch?v=Guv5zR7fgW0&list=PL2k3Ck1bFtbQqFhOK7g08kxENI4qQkmC</p>
27
 
28
  = Highlights =
29
- * New Terminate & Continue feature is added.
30
  * Complete export feature with improved filters
31
  * Import external/internal images in line to any posts
32
  * Upload images related to each csv
@@ -180,11 +177,6 @@ This will solve your issue or get support from hosting if you dint have sufficie
180
 
181
  == Changelog ==
182
 
183
- = 3.6.75 =
184
- * Added: Terminate & Continue option in import section.
185
- * Improved: Log section. Issue fixed in Web View & Admin View.
186
- * Fixed: Secrity fix for export module.
187
-
188
  = 3.6.74 =
189
  * Added: Secrity fix.
190
 
@@ -399,9 +391,6 @@ This will solve your issue or get support from hosting if you dint have sufficie
399
 
400
  == Upgrade Notice ==
401
 
402
- = 3.6.75 =
403
- * Upgrade now for improved experience.
404
-
405
  = 3.6.74 =
406
  * Upgrade now for secrity fix.
407
 
4
  Tags: batch, csv, excel, import, spreadsheet, autoblog, Autoblogger, csvimporter, data, dataimport, importer, wpcsvimporter, wpimporter, acf, auto blog, csv import, csv to post, data import, Easy CSV Importer, eci, import plugin, admin, user, users, Advanced CSV Import, Advanced CSV Importer, affiliate, amazon, author, automatic, blog, bulk, bulk edit, bulk editor, categories, comments, content, csv file, csv format, csv importer, custom post, e-commerce, free, images, language, manage, media, meta, multisite, News, page, photos, pictures, plugin, Post, seo, shop, shortcode, tags, Taxonomy, text, title, video, eshop, woocommerce, wordpress, xml, youtube, export
5
  Requires at least: 3.9
6
  Tested up to: 4.1
7
+ Stable tag: 3.6.74
8
+ Version: 3.6.74
9
  Author: smackcoders
10
  Author URI: http://profiles.wordpress.org/smackcoders/
11
 
15
 
16
  == Description ==
17
 
18
+ ** Now version 3.6.74 available with more features. Visit [www.wpultimatecsvimporter.com](http://www.wpultimatecsvimporter.com) for more news and future plans.
 
 
19
 
20
  WP Ultimate CSV Importer Plugin proven much effective advanced CSV File Importer With Ultimate User Friendly Features. It is much easy now even for newbies to import any csv file as any wordpress post type and associated fields by simple mapping feature. Now import any CSV file as thousands of post, page and custom post types. This is admin side free plugin helps you in bulk edit, create and import posts type for your blog or site.
21
 
24
  <p>https://www.youtube.com/watch?v=Guv5zR7fgW0&list=PL2k3Ck1bFtbQqFhOK7g08kxENI4qQkmC</p>
25
 
26
  = Highlights =
 
27
  * Complete export feature with improved filters
28
  * Import external/internal images in line to any posts
29
  * Upload images related to each csv
177
 
178
  == Changelog ==
179
 
 
 
 
 
 
180
  = 3.6.74 =
181
  * Added: Secrity fix.
182
 
391
 
392
  == Upgrade Notice ==
393
 
 
 
 
394
  = 3.6.74 =
395
  * Upgrade now for secrity fix.
396
 
includes/WPImporter_includes_helper.php CHANGED
@@ -818,7 +818,7 @@ class WPImporter_includes_helper {
818
  $skippedRecords[] = $_SESSION['SMACK_SKIPPED_RECORDS'];
819
  }
820
  }
821
- $this->detailedLog[$currentLimit]['verify_here'] = "<b>Verify Here -</b> <a href='" . get_permalink( $post_id ) . "' title='" . esc_attr( sprintf( __( 'View &#8220;%s&#8221;' ), $data_array['post_title'] ) ) . "' rel='permalink' target='_blank'>" . __( 'Web View' ) . "</a> | <a href='" . get_edit_post_link( $post_id, true ) . "' title='" . esc_attr( __( 'Edit this item' ) ) . "' target='_blank'>" . __( 'Admin View' ) . "</a>";
822
 
823
  unset($data_array);
824
  }
818
  $skippedRecords[] = $_SESSION['SMACK_SKIPPED_RECORDS'];
819
  }
820
  }
821
+ $this->detailedLog[$currentLimit]['verify_here'] = "<b>Verify Here -</b> <a href='" . get_permalink( $post_id ) . "' title='" . esc_attr( sprintf( __( 'View &#8220;%s&#8221;' ), $data_array['post_title'] ) ) . "' rel='permalink'>" . __( 'Web View' ) . "</a> | <a href='" . get_edit_post_link( $post_id, true ) . "' title='" . esc_attr( __( 'Edit this item' ) ) . "'>" . __( 'Admin View' ) . "</a>";
822
 
823
  unset($data_array);
824
  }
index.php CHANGED
@@ -2,7 +2,7 @@
2
  /******************************
3
  * Plugin Name: WP Ultimate CSV Importer
4
  * Description: A plugin that helps to import the data's from a CSV file.
5
- * Version: 3.6.75
6
  * Author: smackcoders.com
7
  * Plugin URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
8
  * Author URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
@@ -75,7 +75,7 @@ define('WP_CONST_ULTIMATE_CSV_IMP_URL', 'http://www.smackcoders.com/wp-ultimate-
75
  define('WP_CONST_ULTIMATE_CSV_IMP_NAME', 'WP Ultimate CSV Importer');
76
  define('WP_CONST_ULTIMATE_CSV_IMP_SLUG', 'wp-ultimate-csv-importer');
77
  define('WP_CONST_ULTIMATE_CSV_IMP_SETTINGS', 'WP Ultimate CSV Importer');
78
- define('WP_CONST_ULTIMATE_CSV_IMP_VERSION', '3.6.75');
79
  define('WP_CONST_ULTIMATE_CSV_IMP_DIR', WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/');
80
  define('WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY', plugin_dir_path(__FILE__));
81
  define('WP_CSVIMP_PLUGIN_BASE', WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY);
2
  /******************************
3
  * Plugin Name: WP Ultimate CSV Importer
4
  * Description: A plugin that helps to import the data's from a CSV file.
5
+ * Version: 3.6.74
6
  * Author: smackcoders.com
7
  * Plugin URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
8
  * Author URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
75
  define('WP_CONST_ULTIMATE_CSV_IMP_NAME', 'WP Ultimate CSV Importer');
76
  define('WP_CONST_ULTIMATE_CSV_IMP_SLUG', 'wp-ultimate-csv-importer');
77
  define('WP_CONST_ULTIMATE_CSV_IMP_SETTINGS', 'WP Ultimate CSV Importer');
78
+ define('WP_CONST_ULTIMATE_CSV_IMP_VERSION', '3.6.74');
79
  define('WP_CONST_ULTIMATE_CSV_IMP_DIR', WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/');
80
  define('WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY', plugin_dir_path(__FILE__));
81
  define('WP_CSVIMP_PLUGIN_BASE', WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY);
js/ultimate-importer-free.js CHANGED
@@ -566,13 +566,13 @@ function importRecordsbySettings(siteurl)
566
  return false;
567
  }
568
  if(get_log == '<p style="margin:15px;color:red;">NO LOGS YET NOW.</p>'){
569
- document.getElementById('log').innerHTML = '<p style="margin-left:10px;color:red;">Your Import Is In Progress...</p>';
570
  document.getElementById('startbutton').disabled = true;
571
  }
572
  document.getElementById('ajaxloader').style.display="";
573
  var tempCount = parseInt(tmpCnt);
574
  var totalCount = parseInt(tot_no_of_records);
575
- if(tempCount >= totalCount){
576
  document.getElementById('ajaxloader').style.display="none";
577
  document.getElementById('startbutton').style.display="none";
578
  document.getElementById('importagain').style.display="";
@@ -605,11 +605,7 @@ function importRecordsbySettings(siteurl)
605
  document.getElementById('tmpcount').value = parseInt(tmpCnt)+parseInt(importlimit);
606
  setTimeout(function(){importRecordsbySettings()},0);
607
  } else {
608
- document.getElementById('log').innerHTML += "<p style='margin-left:10px;color:red;'>Import process has been terminated.</p>";
609
- document.getElementById('ajaxloader').style.display="none";
610
- document.getElementById('startbutton').style.display = "none";
611
- document.getElementById('terminatenow').style.display = "none";
612
- document.getElementById('continuebutton').style.display = "";
613
  return false;
614
  }
615
  }else{
@@ -632,34 +628,6 @@ function terminateProcess(){
632
  document.getElementById('terminateaction').value = 'terminate';
633
  }
634
 
635
- function continueprocess() {
636
- var tot_no_of_records = document.getElementById('checktotal').value;
637
- var tmpCnt = document.getElementById('tmpcount').value;
638
- var currentlimit = document.getElementById('currentlimit').value;
639
- var importlimit = document.getElementById('importlimit').value;
640
- // var get_requested_count = importlimit;
641
- var tot_no_of_records = document.getElementById('checktotal').value;
642
-
643
- if (parseInt(tmpCnt) > parseInt(tot_no_of_records)) {
644
- document.getElementById('terminatenow').style.display = "none";
645
- } else {
646
- document.getElementById('terminatenow').style.display = "";
647
- }
648
- document.getElementById('log').innerHTML += "<div style='margin-left:10px;color:green;'> Import process has been continued.</div></br>";
649
- document.getElementById('ajaxloader').style.display = "";
650
- document.getElementById('startbutton').style.display = "";
651
- document.getElementById('continuebutton').style.display = "none";
652
- //document.getElementById('dwnld_log_link').style.display = "none";
653
- document.getElementById('terminateaction').value = 'continue';
654
- // document.getElementById('currentlimit').value = currentlimit;
655
- //currentlimit = parseInt(currentlimit)+parseInt(importlimit);
656
- // console.log('impLmt: '+importlimit+'totRecds: '+tot_no_of_records);
657
- // document.getElementById('tmpcount').value = parseInt(tmpCnt)+parseInt(importlimit);
658
-
659
- setTimeout(function () {
660
- importRecordsbySettings()
661
- }, 0);
662
- }
663
 
664
  // Enable/Disable WP-e-Commerce Custom Fields
665
  function enablewpcustomfield(val){
566
  return false;
567
  }
568
  if(get_log == '<p style="margin:15px;color:red;">NO LOGS YET NOW.</p>'){
569
+ document.getElementById('log').innerHTML = '<p style="margin:15px;color:red;">Your Import Is In Progress...</p>';
570
  document.getElementById('startbutton').disabled = true;
571
  }
572
  document.getElementById('ajaxloader').style.display="";
573
  var tempCount = parseInt(tmpCnt);
574
  var totalCount = parseInt(tot_no_of_records);
575
+ if(tempCount>totalCount){
576
  document.getElementById('ajaxloader').style.display="none";
577
  document.getElementById('startbutton').style.display="none";
578
  document.getElementById('importagain').style.display="";
605
  document.getElementById('tmpcount').value = parseInt(tmpCnt)+parseInt(importlimit);
606
  setTimeout(function(){importRecordsbySettings()},0);
607
  } else {
608
+ document.getElementById('log').innerHTML += "Import process has been terminated.</br>";
 
 
 
 
609
  return false;
610
  }
611
  }else{
628
  document.getElementById('terminateaction').value = 'terminate';
629
  }
630
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
631
 
632
  // Enable/Disable WP-e-Commerce Custom Fields
633
  function enablewpcustomfield(val){
modules/comments/templates/index.php CHANGED
@@ -423,7 +423,6 @@ $mFieldsArr = substr($mFieldsArr, 0, -1);
423
  <input id="startbutton" class="btn btn-primary" type="button" value="Import Now" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" />
424
  <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="Terminate Now" style="display:none;" onclick="terminateProcess();" />
425
  <input class="btn btn-warning" type="button" value="Reload" id="importagain" style="display:none" onclick="import_again();" />
426
- <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="Continue" style="display:none;color: #ffffff;" onclick="continueprocess();">
427
  <!-- <input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
428
  <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> Processing...</div>
429
  <div class="clear"></div>
423
  <input id="startbutton" class="btn btn-primary" type="button" value="Import Now" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" />
424
  <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="Terminate Now" style="display:none;" onclick="terminateProcess();" />
425
  <input class="btn btn-warning" type="button" value="Reload" id="importagain" style="display:none" onclick="import_again();" />
 
426
  <!-- <input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
427
  <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> Processing...</div>
428
  <div class="clear"></div>
modules/custompost/templates/index.php CHANGED
@@ -554,7 +554,6 @@ $impCE = new WPImporter_includes_helper();
554
  <input id="startbutton" class="btn btn-primary" type="button" value="Import Now" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" >
555
  <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="Terminate Now" style="display:none;" onclick="terminateProcess();" />
556
  <input class="btn btn-warning" type="button" value="Reload" id="importagain" style="display:none" onclick="import_again();" />
557
- <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="Continue" style="display:none;color: #ffffff;" onclick="continueprocess();">
558
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
559
  <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> Processing...</div>
560
  <div class="clear"></div>
554
  <input id="startbutton" class="btn btn-primary" type="button" value="Import Now" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" >
555
  <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="Terminate Now" style="display:none;" onclick="terminateProcess();" />
556
  <input class="btn btn-warning" type="button" value="Reload" id="importagain" style="display:none" onclick="import_again();" />
 
557
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
558
  <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> Processing...</div>
559
  <div class="clear"></div>
modules/eshop/actions/actions.php CHANGED
@@ -707,7 +707,7 @@ class EshopActions extends SkinnyActions {
707
  $skippedRecords[] = $_SESSION['SMACK_SKIPPED_RECORDS'];
708
  }
709
  }
710
- $this->detailedLog[$currentLimit]['verify_here'] = "<b>Verify Here -</b> <a href='" . get_permalink( $post_id ) . "' title='" . esc_attr( sprintf( __( 'View &#8220;%s&#8221;' ), $data_array['post_title'] ) ) . "' rel='permalink' target='_blank'>" . __( 'Web View' ) . "</a> | <a href='" . get_edit_post_link( $post_id, true ) . "' title='" . esc_attr( __( 'Edit this item' ) ) . "' target='_blank'>" . __( 'Admin View' ) . "</a>";
711
 
712
  unset($data_array);
713
  }
707
  $skippedRecords[] = $_SESSION['SMACK_SKIPPED_RECORDS'];
708
  }
709
  }
710
+ $this->detailedLog[$currentLimit]['verify_here'] = "<b>Verify Here -</b> <a href='" . get_permalink( $post_id ) . "' title='" . esc_attr( sprintf( __( 'View &#8220;%s&#8221;' ), $data_array['post_title'] ) ) . "' rel='permalink'>" . __( 'Web View' ) . "</a> | <a href='" . get_edit_post_link( $post_id, true ) . "' title='" . esc_attr( __( 'Edit this item' ) ) . "'>" . __( 'Admin View' ) . "</a>";
711
 
712
  unset($data_array);
713
  }
modules/eshop/templates/index.php CHANGED
@@ -539,7 +539,6 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
539
  <input id="startbutton" class="btn btn-primary" type="button" value="Import Now" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings('<?php echo site_url(); ?>');" >
540
  <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="Terminate Now" style="display:none;" onclick="terminateProcess();" />
541
  <input class="btn btn-warning" type="button" value="Reload" id="importagain" style="display:none" onclick="import_again();" />
542
- <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="Continue" style="display:none;color: #ffffff;" onclick="continueprocess();">
543
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
544
  <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> Processing...</div>
545
 
539
  <input id="startbutton" class="btn btn-primary" type="button" value="Import Now" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings('<?php echo site_url(); ?>');" >
540
  <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="Terminate Now" style="display:none;" onclick="terminateProcess();" />
541
  <input class="btn btn-warning" type="button" value="Reload" id="importagain" style="display:none" onclick="import_again();" />
 
542
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
543
  <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> Processing...</div>
544
 
modules/export/actions/actions.php CHANGED
@@ -27,7 +27,7 @@ class ExportActions extends SkinnyActions {
27
  $helper->generateanddownloadcsv($type, $filename);
28
  }
29
  }
30
- $nonce = '';
31
  $nonce = wp_create_nonce('my-nonce');
32
  $data['wp_nonce'] = $nonce;
33
  return $data;
27
  $helper->generateanddownloadcsv($type, $filename);
28
  }
29
  }
30
+ $nonce = '';
31
  $nonce = wp_create_nonce('my-nonce');
32
  $data['wp_nonce'] = $nonce;
33
  return $data;
modules/export/templates/export.php CHANGED
@@ -10,17 +10,14 @@ if(!isset($_SERVER['HTTP_REFERER'])) {
10
  die('Your requested url were wrong! Please contact your admin.');
11
  }
12
  require_once('../../../../../../wp-load.php');
13
-
14
  $nonce = $_POST['nonce'];
15
- //echo '<pre>'; print_r($sitedomain); echo '</pre>';
16
  if ( ! wp_verify_nonce( $nonce, 'my-nonce' ) ) {
17
- // This nonce is not valid.
18
  die( 'Security check: Your requested URL is wrong! Please, Contact your administrator.' );
19
  } else {
20
- // The nonce was valid.
21
- // Do stuff here.
22
  }
23
-
24
  $ExportObj = new WPCSVProExportData();
25
  #print('<pre>'); print_r($_POST); //die;
26
  $ExportObj->executeIndex($_POST);
10
  die('Your requested url were wrong! Please contact your admin.');
11
  }
12
  require_once('../../../../../../wp-load.php');
 
13
  $nonce = $_POST['nonce'];
14
+
15
  if ( ! wp_verify_nonce( $nonce, 'my-nonce' ) ) {
16
+
17
  die( 'Security check: Your requested URL is wrong! Please, Contact your administrator.' );
18
  } else {
19
+
 
20
  }
 
21
  $ExportObj = new WPCSVProExportData();
22
  #print('<pre>'); print_r($_POST); //die;
23
  $ExportObj->executeIndex($_POST);
modules/page/templates/index.php CHANGED
@@ -491,7 +491,6 @@ $impCE = new WPImporter_includes_helper();
491
  <input id="startbutton" class="btn btn-primary" type="button" value="Import Now" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" >
492
  <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="Terminate Now" style="display:none;" onclick="terminateProcess();" />
493
  <input class="btn btn-warning" type="button" value="Reload" id="importagain" style="display:none" onclick="import_again();">
494
- <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="Continue" style="display:none;color: #ffffff;" onclick="continueprocess();">
495
  <!-- <input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
496
  <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> Processing...</div>
497
  <div class="clear"></div>
491
  <input id="startbutton" class="btn btn-primary" type="button" value="Import Now" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" >
492
  <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="Terminate Now" style="display:none;" onclick="terminateProcess();" />
493
  <input class="btn btn-warning" type="button" value="Reload" id="importagain" style="display:none" onclick="import_again();">
 
494
  <!-- <input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
495
  <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> Processing...</div>
496
  <div class="clear"></div>
modules/post/templates/index.php CHANGED
@@ -501,7 +501,6 @@ $impCE = new WPImporter_includes_helper();
501
  <input id="startbutton" class="btn btn-primary" type="button" value="Import Now" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings('<?php echo site_url(); ?>');" >
502
  <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="Terminate Now" style="display:none;" onclick="terminateProcess();" />
503
  <input class="btn btn-warning" type="button" value="Reload" id="importagain" style="display:none" onclick="import_again();" />
504
- <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="Continue" style="display:none;color: #ffffff;" onclick="continueprocess();">
505
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
506
  <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> Processing...</div>
507
 
501
  <input id="startbutton" class="btn btn-primary" type="button" value="Import Now" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings('<?php echo site_url(); ?>');" >
502
  <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="Terminate Now" style="display:none;" onclick="terminateProcess();" />
503
  <input class="btn btn-warning" type="button" value="Reload" id="importagain" style="display:none" onclick="import_again();" />
 
504
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
505
  <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> Processing...</div>
506
 
modules/users/actions/actions.php CHANGED
@@ -174,14 +174,12 @@ class UsersActions extends SkinnyActions {
174
  if(!empty($getUserId)){
175
  $user_id = $getUserId[0]->ID;
176
  }
177
- if(is_array($getUserId) && !empty($getUserId)){
178
  $this->dupPostCount = $this->dupPostCount+1;
179
  $this->detailedLog[$currentLimit][] = "<b>Username</b> - " . $UserLogin . " - already exists(skipped), <b>E-mail</b> - " . $UserEmail . " - found as duplicate.";
180
  }
181
  else{
182
  $user_id = wp_insert_user( $data_array );
183
- if(is_wp_error($user_id))
184
- return false;
185
  $user = new WP_User( $user_id );
186
  if ( !empty( $user->roles ) && is_array( $user->roles ) ) {
187
  foreach ( $user->roles as $role )
174
  if(!empty($getUserId)){
175
  $user_id = $getUserId[0]->ID;
176
  }
177
+ if($user_id){
178
  $this->dupPostCount = $this->dupPostCount+1;
179
  $this->detailedLog[$currentLimit][] = "<b>Username</b> - " . $UserLogin . " - already exists(skipped), <b>E-mail</b> - " . $UserEmail . " - found as duplicate.";
180
  }
181
  else{
182
  $user_id = wp_insert_user( $data_array );
 
 
183
  $user = new WP_User( $user_id );
184
  if ( !empty( $user->roles ) && is_array( $user->roles ) ) {
185
  foreach ( $user->roles as $role )
modules/users/templates/index.php CHANGED
@@ -420,7 +420,6 @@ $mFieldsArr = substr($mFieldsArr, 0, -1);
420
  <input id="startbutton" class="btn btn-primary" type="button" value="Import Now" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" />
421
  <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="Terminate Now" style="display:none;" onclick="terminateProcess();" />
422
  <input class="btn btn-warning" type="button" value="Reload" id="importagain" style="display:none;" onclick="import_again();" />
423
- <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="Continue" style="display:none;color: #ffffff;" onclick="continueprocess();">
424
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
425
  <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> Processing...</div>
426
  <div class="clear"></div>
420
  <input id="startbutton" class="btn btn-primary" type="button" value="Import Now" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" />
421
  <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="Terminate Now" style="display:none;" onclick="terminateProcess();" />
422
  <input class="btn btn-warning" type="button" value="Reload" id="importagain" style="display:none;" onclick="import_again();" />
 
423
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
424
  <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> Processing...</div>
425
  <div class="clear"></div>
templates/import.php CHANGED
@@ -221,7 +221,7 @@ if ($totRecords <= ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['insPostCount'] +
221
  unset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['captureId']);
222
  }
223
  if ($limit == $totRecords) {
224
- echo "<br><div style='margin-left:10px; color:green;'>Import successfully completed!.</div>";
225
  }
226
  /*if ($curr_action == 'users') {
227
  echo "<div style='margin-left:7px;'>";
221
  unset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['captureId']);
222
  }
223
  if ($limit == $totRecords) {
224
+ echo "<br><div style='margin-left:3px;'>Import successfully completed!.</div>";
225
  }
226
  /*if ($curr_action == 'users') {
227
  echo "<div style='margin-left:7px;'>";