Ultimate CSV Importer - Version 3.5.4

Version Description

Download this release

Release Info

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

Code changes from version 3.5.3 to 3.5.4

Readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: smackcoders
3
  Donate link: http://www.smackcoders.com/donate.html
4
  Tags: Advanced CSV Importer, Advanced CSV Import, csv, csv importer, csv import, csv file, csv format, admin, affiliate, amazon, author, automatic, blog, buddypress, categories, comments, content, custom post, e-commerce, free, images, import, language, manage, media, meta, multisite, News, page, photos, pictures, plugin, Post, seo, shop, shortcode, tags, Taxonomy, text, title, users, video, woocommerce, wordpress, xml, youtube, batch, bulk, bulk edit, bulk editor, excel, spreadsheet
5
  Requires at least: 3.6.0
6
- Tested up to: 3.9
7
- Stable tag: 3.5.3
8
- Version: 3.5.3
9
  Author: smackcoders
10
  Author URI: http://profiles.wordpress.org/smackcoders/
11
 
@@ -15,7 +15,7 @@ Advanced CSV Importer plugin to import data as bulk post, page, custom post etc.
15
 
16
  == Description ==
17
 
18
- **Version 3.5.3 is now available with all reported warnings, bug fixes and 3.9 compatibility. Give a try today and [Leave your thoughts, comments, review and feed back here](http://wordpress.org/support/view/plugin-reviews/wp-ultimate-csv-importer)**
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,6 +24,7 @@ WP Ultimate CSV Importer Plugin proven much effective advanced CSV File Importer
24
  <p>http://www.youtube.com/watch?v=OwKdt_NlT2U&list=PL2k3Ck1bFtbQqFhOK7g08kxENI4qQkmC</p>
25
 
26
  = Highlights =
 
27
  * Drag drop import
28
  * Define any type of post
29
  * Control post status (Publish, Private, Pending, Draft, Sticky and Protected)
@@ -281,6 +282,10 @@ Read More FAQs from below wiki links.
281
 
282
  == Changelog ==
283
 
 
 
 
 
284
  = 3.5.3 =
285
  * Added: Compatible up to WordPress 3.9.
286
  * Added: Export feature added for posts, page, custom posts type plugins.
@@ -425,6 +430,9 @@ Read More FAQs from below wiki links.
425
 
426
  == Upgrade Notice ==
427
 
 
 
 
428
  = 3.5.3 =
429
  * Upgrade for added export feature and bug fixes
430
 
3
  Donate link: http://www.smackcoders.com/donate.html
4
  Tags: Advanced CSV Importer, Advanced CSV Import, csv, csv importer, csv import, csv file, csv format, admin, affiliate, amazon, author, automatic, blog, buddypress, categories, comments, content, custom post, e-commerce, free, images, import, language, manage, media, meta, multisite, News, page, photos, pictures, plugin, Post, seo, shop, shortcode, tags, Taxonomy, text, title, users, video, woocommerce, wordpress, xml, youtube, batch, bulk, bulk edit, bulk editor, excel, spreadsheet
5
  Requires at least: 3.6.0
6
+ Tested up to: 3.9.1
7
+ Stable tag: 3.5.4
8
+ Version: 3.5.4
9
  Author: smackcoders
10
  Author URI: http://profiles.wordpress.org/smackcoders/
11
 
15
 
16
  == Description ==
17
 
18
+ **Version 3.5.4 is now available with All-in-SEO import support and 3.9.1 compatibility. Give a try today and [Leave your thoughts, comments, review and feed back here](http://wordpress.org/support/view/plugin-reviews/wp-ultimate-csv-importer)**
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>http://www.youtube.com/watch?v=OwKdt_NlT2U&list=PL2k3Ck1bFtbQqFhOK7g08kxENI4qQkmC</p>
25
 
26
  = Highlights =
27
+ * All-in-SEO import support.
28
  * Drag drop import
29
  * Define any type of post
30
  * Control post status (Publish, Private, Pending, Draft, Sticky and Protected)
282
 
283
  == Changelog ==
284
 
285
+ = 3.5.4 =
286
+ * Added: All-in-SEO import support.
287
+ * WordPress 3.9.1 compatibility added.
288
+
289
  = 3.5.3 =
290
  * Added: Compatible up to WordPress 3.9.
291
  * Added: Export feature added for posts, page, custom posts type plugins.
430
 
431
  == Upgrade Notice ==
432
 
433
+ = 3.5.4 =
434
+ * Upgrade now for All-in-SEO import support.
435
+
436
  = 3.5.3 =
437
  * Upgrade for added export feature and bug fixes
438
 
images/Importicon_24.png CHANGED
File without changes
images/facebook.png CHANGED
File without changes
images/googleplus.png CHANGED
File without changes
images/icon.png CHANGED
File without changes
images/linkedin.png CHANGED
File without changes
images/twitter.png CHANGED
File without changes
includes/WPImporter_includes_helper.php CHANGED
@@ -132,6 +132,10 @@ class WPImporter_includes_helper {
132
  }
133
 
134
  public function activate(){
 
 
 
 
135
  $csvfreesettings = array();
136
  $csvfreesettings['post'] = 'post';
137
  //$csvfreesettings['custompost'] = 'custompost';
@@ -222,6 +226,7 @@ class WPImporter_includes_helper {
222
  {
223
  $cust_fields='';
224
  $acf_field=array();
 
225
  global $wpdb;
226
  $active_plugins = get_option('active_plugins');
227
  $limit = ( int )apply_filters('postmeta_form_limit', 150);
@@ -234,9 +239,14 @@ class WPImporter_includes_helper {
234
  foreach ($this->keys as $val) {
235
  $this->defCols ["CF: " . $val] = $val;
236
  }
237
-
238
-
239
-
 
 
 
 
 
240
  }
241
 
242
  /**
@@ -361,10 +371,15 @@ class WPImporter_includes_helper {
361
  if($ret_array ['mapping' . $i] != '-- Select --'){
362
  if ($ret_array ['mapping' . $i] != 'add_custom' . $i) {
363
  $strip_CF = strpos($ret_array['mapping' . $i], 'CF: ');
 
364
  if ($strip_CF === 0) {
365
  $custom_key = substr($ret_array['mapping' . $i], 4);
366
  $custom_array[$custom_key] = $data_rows[$i];
367
  }
 
 
 
 
368
  else {
369
  $new_post[$ret_array['mapping' . $i]] = $data_rows[$i];
370
  }
@@ -639,6 +654,14 @@ class WPImporter_includes_helper {
639
  }
640
  }
641
 
 
 
 
 
 
 
 
 
642
 
643
  // Create custom taxonomy to post
644
  if (!empty ($smack_taxo)) {
@@ -696,6 +719,32 @@ class WPImporter_includes_helper {
696
  unset($data_array);
697
  }
698
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
699
  /**
700
  * Delete uploaded file after import process
701
  */
132
  }
133
 
134
  public function activate(){
135
+ if (!defined('PDO::ATTR_DRIVER_NAME')) {
136
+ echo ("<p style='color:red;'>Make sure you have enable the PDO extensions in your environment before activate the plugin! </p>");
137
+ die;
138
+ }
139
  $csvfreesettings = array();
140
  $csvfreesettings['post'] = 'post';
141
  //$csvfreesettings['custompost'] = 'custompost';
226
  {
227
  $cust_fields='';
228
  $acf_field=array();
229
+ $wpcsvfreesettings = array();
230
  global $wpdb;
231
  $active_plugins = get_option('active_plugins');
232
  $limit = ( int )apply_filters('postmeta_form_limit', 150);
239
  foreach ($this->keys as $val) {
240
  $this->defCols ["CF: " . $val] = $val;
241
  }
242
+ $wpcsvfreesettings = get_option('wpcsvfreesettings');
243
+ if(in_array('aioseo',$wpcsvfreesettings)){
244
+ if(in_array('all-in-one-seo-pack/all_in_one_seo_pack.php', $active_plugins)){
245
+ $seo_custoFields =array('SEO: keywords','SEO: description','SEO: title','SEO: noindex','SEO: nofollow','SEO: titleatr','SEO: menulabel','SEO: disable','SEO: disable_analytics');
246
+ foreach($seo_custoFields as $val)
247
+ $this->defCols[$val]=$val;
248
+ }
249
+ }
250
  }
251
 
252
  /**
371
  if($ret_array ['mapping' . $i] != '-- Select --'){
372
  if ($ret_array ['mapping' . $i] != 'add_custom' . $i) {
373
  $strip_CF = strpos($ret_array['mapping' . $i], 'CF: ');
374
+ $strip_SEO = strpos($ret_array['mapping'.$i],'SEO: ');
375
  if ($strip_CF === 0) {
376
  $custom_key = substr($ret_array['mapping' . $i], 4);
377
  $custom_array[$custom_key] = $data_rows[$i];
378
  }
379
+ elseif($strip_SEO === 0){
380
+ $seo_key = substr($ret_array['mapping'.$i], 5);
381
+ $seo_custom_array[$seo_key] = $data_rows[$i];
382
+ }
383
  else {
384
  $new_post[$ret_array['mapping' . $i]] = $data_rows[$i];
385
  }
654
  }
655
  }
656
 
657
+ //Import SEO Values
658
+ if(!empty($seo_custom_array)){
659
+ //require_once("class.customfields.php");
660
+ //$seoObj = new Customfields();
661
+ //$seoObj->importSEOFields($seo_custom_array, $post_id);
662
+ //print '<pre>';print_r($seo_custom_array);die;
663
+ $this->importSEOfields($seo_custom_array,$post_id);
664
+ }
665
 
666
  // Create custom taxonomy to post
667
  if (!empty ($smack_taxo)) {
719
  unset($data_array);
720
  }
721
 
722
+ /**
723
+ * Function for importing the all in seo data
724
+ * Feature added by Fredrick on version3.5.4
725
+ */
726
+ function importSEOfields($array,$postId)
727
+ {
728
+ $seo_opt = get_option('wpcsvfreesettings');
729
+ if(in_array('aioseo',$seo_opt)){
730
+ if(isset($array['keywords'])) { $custom_array['_aioseop_keywords'] = $array['keywords']; }
731
+ if(isset($array['description'])) { $custom_array['_aioseop_description'] = $array['description']; }
732
+ if(isset($array['title'])) { $custom_array['_aioseop_title'] = $array['title']; }
733
+ if(isset($array['noindex'])) { $custom_array['_aioseop_noindex'] = $array['noindex']; }
734
+ if(isset($array['nofollow'])) { $custom_array['_aioseop_nofollow'] = $array['nofollow']; }
735
+ if(isset($array['titleatr'])) { $custom_array['_aioseop_titleatr'] = $array['titleatr']; }
736
+ if(isset($array['menulabel'])) { $custom_array['_aioseop_menulabel'] = $array['menulabel']; }
737
+ if(isset($array['disable'])) { $custom_array['_aioseop_disable'] = $array['disable']; }
738
+ if(isset($array['disable_analytics'])) { $custom_array['_aioseop_disable_analytics'] = $array['disable_analytics']; }
739
+ }
740
+ if (! empty ( $custom_array )) {
741
+ foreach ( $custom_array as $custom_key => $custom_value ) {
742
+ update_post_meta ( $postId, $custom_key, $custom_value );
743
+ }
744
+ }
745
+
746
+ }//importSEOfields ends
747
+
748
  /**
749
  * Delete uploaded file after import process
750
  */
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.5.3
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
@@ -13,7 +13,7 @@ define('WP_CONST_ULTIMATE_CSV_IMP_URL', 'http://www.smackcoders.com/wp-ultimate-
13
  define('WP_CONST_ULTIMATE_CSV_IMP_NAME', 'WP Ultimate CSV Importer');
14
  define('WP_CONST_ULTIMATE_CSV_IMP_SLUG', 'wp-ultimate-csv-importer');
15
  define('WP_CONST_ULTIMATE_CSV_IMP_SETTINGS', 'WP Ultimate CSV Importer');
16
- define('WP_CONST_ULTIMATE_CSV_IMP_VERSION', '3.5.3');
17
  define('WP_CONST_ULTIMATE_CSV_IMP_DIR', WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/');
18
  define('WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY', plugin_dir_path( __FILE__ ));
19
  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.5.4
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
13
  define('WP_CONST_ULTIMATE_CSV_IMP_NAME', 'WP Ultimate CSV Importer');
14
  define('WP_CONST_ULTIMATE_CSV_IMP_SLUG', 'wp-ultimate-csv-importer');
15
  define('WP_CONST_ULTIMATE_CSV_IMP_SETTINGS', 'WP Ultimate CSV Importer');
16
+ define('WP_CONST_ULTIMATE_CSV_IMP_VERSION', '3.5.4');
17
  define('WP_CONST_ULTIMATE_CSV_IMP_DIR', WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/');
18
  define('WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY', plugin_dir_path( __FILE__ ));
19
  define('WP_CSVIMP_PLUGIN_BASE', WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY);
js/ultimate-importer-pro.js CHANGED
@@ -1,11 +1,19 @@
1
  jQuery( document ).ready(function() {
2
- var importer = document.getElementById('selectedImporter').value;
3
- var step = document.getElementById('stepstatus').value;
4
- if(importer=='custompost' && step=='mapping_settings')
 
 
 
 
 
5
  {
 
 
6
  var cust_post_list_count = document.getElementById('cust_post_list_count').value;
7
  if(cust_post_list_count=='0')
8
  document.getElementById('cust_post_empty').style.display='';
 
9
  }
10
  var checkfile = document.getElementById('checkfile').value;
11
  var uploadedFile = document.getElementById('uploadedFile').value;
@@ -693,7 +701,7 @@ function export_module(){
693
  return false;
694
  }
695
  function export_check(value) {
696
- if(value == 'eshop' || value == 'woocommerce' || value == 'wpcommerce' || value == 'marketpress') {
697
  document.getElementById(value).checked = false;
698
  document.getElementById('ShowMsg').style.display = "";
699
  value = value.toUpperCase();
1
  jQuery( document ).ready(function() {
2
+ var checkmodule = document.getElementById('checkmodule').value;
3
+ if(checkmodule != 'dashboard' && checkmodule != 'filemanager') {
4
+ var get_log = document.getElementById('log').innerHTML;
5
+ if( !$.trim( $('#log').html() ).length ) {
6
+ document.getElementById('log').innerHTML = '<p style="margin:15px;color:red;">NO LOGS YET NOW.</p>';
7
+ }
8
+ }
9
+ if(checkmodule=='custompost')
10
  {
11
+ var step = document.getElementById('stepstatus').value;
12
+ if(step == 'mapping_settings') {
13
  var cust_post_list_count = document.getElementById('cust_post_list_count').value;
14
  if(cust_post_list_count=='0')
15
  document.getElementById('cust_post_empty').style.display='';
16
+ }
17
  }
18
  var checkfile = document.getElementById('checkfile').value;
19
  var uploadedFile = document.getElementById('uploadedFile').value;
701
  return false;
702
  }
703
  function export_check(value) {
704
+ if(value == 'eshop' || value == 'woocommerce' || value == 'wpcommerce' || value == 'marketpress' || value == 'users' || value == 'category' || value == 'tags' || value == 'customtaxonomy') {
705
  document.getElementById(value).checked = false;
706
  document.getElementById('ShowMsg').style.display = "";
707
  value = value.toUpperCase();
modules/custompost/templates/index.php CHANGED
@@ -167,8 +167,17 @@ $impCE = new WPImporter_includes_helper();
167
  }
168
  }
169
  }
 
 
 
 
 
 
 
 
 
170
  if($wpcsvsettings['rcustompost']=='custompostuitype'){
171
- if (($value != 'featured_image') && ($value != 'attachment') && ($value != 'wpsc-product') && ($value != 'wpsc-product-file') && ($value != 'revision') && ($value != 'nav_menu_item') && ($value != 'post') && ($value != 'page') && ($value != 'wp-types-group') && ($value != 'wp-types-user-group') && ($value != 'product') && ($value != 'product_variation') && ($value != 'shop_order') && ($value != 'shop_coupon') && ($value != 'acf') && ($value != 'createdByCCTM')) {?>
172
  <option id="<?php echo($value); ?>"> <?php echo($value);?> </option>
173
  <?php
174
  $cust_post_list_count++;
@@ -193,7 +202,16 @@ $impCE = new WPImporter_includes_helper();
193
  $value='createdByCustomPostUI';
194
  }
195
  }
196
- if (($value != 'featured_image') && ($value != 'attachment') && ($value != 'wpsc-product') && ($value != 'wpsc-product-file') && ($value != 'revision') && ($value != 'nav_menu_item') && ($value != 'post') && ($value != 'page') && ($value != 'wp-types-group') && ($value != 'wp-types-user-group') && ($value != 'product') && ($value != 'product_variation') && ($value != 'shop_order') && ($value != 'shop_coupon') && ($value != 'acf') && ($value != 'createdByCustomPostUI') && ($value != 'createdByCCTM')) {?>
 
 
 
 
 
 
 
 
 
197
  <option id="<?php echo($value); ?>"> <?php echo($value);?> </option>
198
  <?php
199
  $cust_post_list_count++;
167
  }
168
  }
169
  }
170
+ $types_post_types = array();
171
+ $types_post_types = get_option('wpcf-custom-types');
172
+ if(!empty($types_post_types)) {
173
+ foreach($types_post_types as $tptKey => $tptVal){
174
+ if($tptKey == $value) {
175
+ $value = 'createdByTypes';
176
+ }
177
+ }
178
+ }
179
  if($wpcsvsettings['rcustompost']=='custompostuitype'){
180
+ if (($value != 'featured_image') && ($value != 'attachment') && ($value != 'wpsc-product') && ($value != 'wpsc-product-file') && ($value != 'revision') && ($value != 'nav_menu_item') && ($value != 'post') && ($value != 'page') && ($value != 'wp-types-group') && ($value != 'wp-types-user-group') && ($value != 'product') && ($value != 'product_variation') && ($value != 'shop_order') && ($value != 'shop_coupon') && ($value != 'acf') && ($value != 'createdByCCTM') && ($value != 'createdByTypes')) {?>
181
  <option id="<?php echo($value); ?>"> <?php echo($value);?> </option>
182
  <?php
183
  $cust_post_list_count++;
202
  $value='createdByCustomPostUI';
203
  }
204
  }
205
+ $types_post_types = array();
206
+ $types_post_types = get_option('wpcf-custom-types');
207
+ if(!empty($types_post_types)) {
208
+ foreach($types_post_types as $tptKey => $tptVal){
209
+ if($tptKey == $value) {
210
+ $value = 'createdByTypes';
211
+ }
212
+ }
213
+ }
214
+ if (($value != 'featured_image') && ($value != 'attachment') && ($value != 'wpsc-product') && ($value != 'wpsc-product-file') && ($value != 'revision') && ($value != 'nav_menu_item') && ($value != 'post') && ($value != 'page') && ($value != 'wp-types-group') && ($value != 'wp-types-user-group') && ($value != 'product') && ($value != 'product_variation') && ($value != 'shop_order') && ($value != 'shop_coupon') && ($value != 'acf') && ($value != 'createdByCustomPostUI') && ($value != 'createdByCCTM') && ($value != 'createdByTypes')) {?>
215
  <option id="<?php echo($value); ?>"> <?php echo($value);?> </option>
216
  <?php
217
  $cust_post_list_count++;
modules/export/templates/index.php CHANGED
@@ -14,7 +14,16 @@
14
  }
15
  ?>
16
  </select> </div>
17
- </div> <div class = 'form-group'> <div class = 'col-sm-3 export_action'> <label > <input type='radio' name='export' value='eshop' id='eshop' onclick="export_check(this.value)"> Eshop <span class="mandatory">*</span></label> </div> </div>
 
 
 
 
 
 
 
 
 
18
  <div class = 'form-group'> <div class = 'col-sm-3 export_action'> <label> <input type="radio" name="export" id='wpcommerce'value="wpcommerce" onclick="export_check(this.value)" > Wp-Commerce <span class="mandatory">*</span></label> </div> </div>
19
  <div class = 'form-group'> <div class = 'col-sm-3 export_action'> <label> <input type="radio" name="export" id='woocommerce'value="woocommerce" onclick="export_check(this.value)"> Woo-Commerce <span class="mandatory">*</span></label> </div> </div>
20
  <div class = 'form-group'> <div class = 'col-sm-3 export_action'> <label> <input type="radio" name="export" id='marketpress' value="marketpress" onclick="export_check(this.value)"> Marketpress <span class="mandatory">*</span></label> </div> </div>
14
  }
15
  ?>
16
  </select> </div>
17
+ </div>
18
+ <div class = 'form-group'> <div class = 'col-sm-3 export_action'> <label> <input type="radio" name="export" value="users" id='users' onclick="export_check(this.value)"> Users <span class="mandatory">*</span></label> </div> </div>
19
+ <div class = 'form-group'> <div class = 'col-sm-3 export_action'> <label> <input type="radio" name="export" value="category" id='category' onclick="export_check(this.value)"> Category <span class="mandatory">*</span></label> </div> </div>
20
+ <div class = 'form-group'> <div class = 'col-sm-3 export_action'> <label> <input type="radio" name="export" value="tags" id='tags' onclick="export_check(this.value)"> Tags <span class="mandatory">*</span></label> </div> </div>
21
+ <div class = 'form-group'> <div class = 'col-sm-3 export_action'> <label> <input type="radio" name="export" value="customtaxonomy" id='customtaxonomy' onclick="export_check(this.value)" > Custom Taxonomy <span class="mandatory">*</span></label>
22
+ <select name="export_taxo_type">
23
+ <option>--Select--</option>
24
+ </select> </div>
25
+ </div>
26
+ <div class = 'form-group'> <div class = 'col-sm-3 export_action'> <label > <input type='radio' name='export' value='eshop' id='eshop' onclick="export_check(this.value)"> Eshop <span class="mandatory">*</span></label> </div> </div>
27
  <div class = 'form-group'> <div class = 'col-sm-3 export_action'> <label> <input type="radio" name="export" id='wpcommerce'value="wpcommerce" onclick="export_check(this.value)" > Wp-Commerce <span class="mandatory">*</span></label> </div> </div>
28
  <div class = 'form-group'> <div class = 'col-sm-3 export_action'> <label> <input type="radio" name="export" id='woocommerce'value="woocommerce" onclick="export_check(this.value)"> Woo-Commerce <span class="mandatory">*</span></label> </div> </div>
29
  <div class = 'form-group'> <div class = 'col-sm-3 export_action'> <label> <input type="radio" name="export" id='marketpress' value="marketpress" onclick="export_check(this.value)"> Marketpress <span class="mandatory">*</span></label> </div> </div>
modules/settings/templates/index.php CHANGED
@@ -78,7 +78,7 @@
78
  </td>
79
  </tr>
80
  <!-- WP e-Commerce Custom Fields support -->
81
- <tr id='wpcustomfieldstr'>
82
  <td></td><td></td>
83
  <td><input type='checkbox' name='wpcustomfields' id='wpcustomfields' onclick='check_if_avail(this.id);'/> WP e-Commerce Custom Fields </td>
84
  </tr>
@@ -94,7 +94,7 @@
94
  </tr>
95
  <tr>
96
  <td><label class="<?php echo $skinnyData['nonerseooption'];?>" ><input type = 'radio' name ='rseooption' id='nonerseooption' value='nonerseooption' <?php echo $skinnyData['nonerseooption']; ?> class='ecommerce' onclick="check_if_avail(this.id);" > None </label></td>
97
- <td><label class="<?php echo $skinnyData['aioseotd'].' '.$skinnyData['aioseo']; ?>" ><input type ='radio' name = 'rseooption' id='aioseo' value='aioseo' <?php echo $skinnyData['aioseo']; ?> onclick="check_if_avail(this.id);" > All-in-SEO </label></td>
98
  <td><label class="<?php echo $skinnyData['yoasttd'].' '.$skinnyData['yoastseo']; ?>" ><input type ='radio' name = 'rseooption' id='yoastseo' value='yoastseo' <?php echo $skinnyData['yoastseo']; ?> onclick="check_if_avail(this.id);" > Yoast SEO </label></td>
99
  </tr>
100
  <tr class='typeofplugin'>
78
  </td>
79
  </tr>
80
  <!-- WP e-Commerce Custom Fields support -->
81
+ <tr id='wpcustomfieldstr' style='display:none;'>
82
  <td></td><td></td>
83
  <td><input type='checkbox' name='wpcustomfields' id='wpcustomfields' onclick='check_if_avail(this.id);'/> WP e-Commerce Custom Fields </td>
84
  </tr>
94
  </tr>
95
  <tr>
96
  <td><label class="<?php echo $skinnyData['nonerseooption'];?>" ><input type = 'radio' name ='rseooption' id='nonerseooption' value='nonerseooption' <?php echo $skinnyData['nonerseooption']; ?> class='ecommerce' onclick="check_if_avail(this.id);" > None </label></td>
97
+ <td><label class="<?php echo $skinnyData['aioseotd'].' '.$skinnyData['aioseo']; ?>" ><input type ='radio' name = 'rseooption' id='aioseo' value='aioseo' <?php echo $skinnyData['aioseo']; ?> > All-in-SEO </label></td>
98
  <td><label class="<?php echo $skinnyData['yoasttd'].' '.$skinnyData['yoastseo']; ?>" ><input type ='radio' name = 'rseooption' id='yoastseo' value='yoastseo' <?php echo $skinnyData['yoastseo']; ?> onclick="check_if_avail(this.id);" > Yoast SEO </label></td>
99
  </tr>
100
  <tr class='typeofplugin'>
screenshot-1.png CHANGED
Binary file
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file
screenshot-4.png CHANGED
Binary file
screenshot-5.png CHANGED
Binary file
screenshot-7.png CHANGED
Binary file
templates/menu.php CHANGED
@@ -101,5 +101,6 @@ if(isset ($_REQUEST['__module']) && $_REQUEST['__module'] == 'support'){
101
  //$menuHTML .= "</div>";
102
  $menuHTML .= "<div class='msg' id = 'showMsg' style = 'display:none;'></div>";
103
  $menuHTML .= "<input type='hidden' id='current_url' name='current_url' value='".get_admin_url()."admin.php?page=".WP_CONST_ULTIMATE_CSV_IMP_SLUG."/index.php&__module=".$_REQUEST['__module']."&step=uploadfile'/>";
 
104
  echo $menuHTML;
105
  ?>
101
  //$menuHTML .= "</div>";
102
  $menuHTML .= "<div class='msg' id = 'showMsg' style = 'display:none;'></div>";
103
  $menuHTML .= "<input type='hidden' id='current_url' name='current_url' value='".get_admin_url()."admin.php?page=".WP_CONST_ULTIMATE_CSV_IMP_SLUG."/index.php&__module=".$_REQUEST['__module']."&step=uploadfile'/>";
104
+ $menuHTML .= "<input type='hidden' name='checkmodule' id='checkmodule' value='".$_REQUEST['__module']."' />";
105
  echo $menuHTML;
106
  ?>