Import users from CSV with meta - Version 1.15.2.3

Version Description

  • Fixes some issues exporting date and time values
Download this release

Release Info

Developer carazo
Plugin Icon 128x128 Import users from CSV with meta
Version 1.15.2.3
Comparing to
See all releases

Code changes from version 1.15.2.2 to 1.15.2.3

classes/export.php CHANGED
@@ -54,6 +54,7 @@ class ACUI_Exporter{
54
  <th scope="row"><?php _e( 'Datetime format', 'import-users-from-csv-with-meta' ); ?></th>
55
  <td>
56
  <input name="datetime_format" type="text" value="Y-m-d H:i:s"/>
 
57
  </td>
58
  </tr>
59
  <tr valign="top">
@@ -83,7 +84,7 @@ class ACUI_Exporter{
83
 
84
  if( is_array( $value ) )
85
  return serialize( $value );
86
- elseif( strtotime( $value ) ){ // dates in datetime format
87
  return date( $datetime_format, strtotime( $value ) );
88
  }
89
  elseif( in_array( $key, $timestamp_keys) ){ // dates in timestamp format
54
  <th scope="row"><?php _e( 'Datetime format', 'import-users-from-csv-with-meta' ); ?></th>
55
  <td>
56
  <input name="datetime_format" type="text" value="Y-m-d H:i:s"/>
57
+ <span class="description"><a href="https://www.php.net/manual/en/datetime.formats.php"><?php _e( 'accepted formats', 'import-users-from-csv-with-meta' ); ?></a></span>
58
  </td>
59
  </tr>
60
  <tr valign="top">
84
 
85
  if( is_array( $value ) )
86
  return serialize( $value );
87
+ elseif( strtotime( $value ) && !is_integer( $value ) && strlen( $value ) > 3 ){ // dates in datetime format
88
  return date( $datetime_format, strtotime( $value ) );
89
  }
90
  elseif( in_array( $key, $timestamp_keys) ){ // dates in timestamp format
import-users-from-csv-with-meta.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Import and export users and customers
4
  Plugin URI: https://www.codection.com
5
  Description: Using this plugin you will be able to import and export users or customers choosing many options and interacting with lots of other plugins
6
- Version: 1.15.2.2
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
3
  Plugin Name: Import and export users and customers
4
  Plugin URI: https://www.codection.com
5
  Description: Using this plugin you will be able to import and export users or customers choosing many options and interacting with lots of other plugins
6
+ Version: 1.15.2.3
7
  Author: codection
8
  Author URI: https://codection.com
9
  License: GPL2
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://codection.com/go/donate-import-users-from-csv-with-meta/
4
  Tags: csv, import, importer, meta data, meta, user, users, user meta, editor, profile, custom, fields, delimiter, update, insert
5
  Requires at least: 3.4
6
  Tested up to: 5.3.2
7
- Stable tag: 1.15.2.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -54,14 +54,20 @@ In Codection we have more plugins, please take a look to them.
54
  * [RedSys Gateway for WP Booking Calendar Pro a plugin to receive payments using RedSys in WordPress using WP Booking Calendar Pro](https://codection.com/producto/redsys-gateway-for-wp-booking-calendar-pro/) (premium)
55
  * [RedSys Gateway for Goodlayers Tourmaster Pro a plugin to receive payments using RedSys in WordPress using Goodlayers Tourmaster Pro](https://codection.com/producto/redsys-gateway-for-goodlayers-tourmaster-pro/) (premium)
56
  * [Clean Login a plugin to create your own register, log in, lost password and update profile forms](https://wordpress.org/plugins/clean-login/) (free)
 
 
57
 
58
  ### **Basics**
59
 
60
- * Import users from a CSV easily
61
  * And also extra profile information with the user meta data (included in the CSV with your custom fields)
62
  * Just upload the CSV file (one included as example)
63
  * All your users will be created/updated with the updated information, and of course including the user meta
64
  * Autodetect delimiter compatible with `comma , `, `semicolon ; ` and `bar | `
 
 
 
 
65
 
66
  ### **Usage**
67
 
@@ -91,6 +97,9 @@ Plugin will automatically detect:
91
 
92
  == Changelog ==
93
 
 
 
 
94
  = 1.15.2.2 =
95
  * Part of the code of frontend has been rewritten to improve readibility
96
  * New options in frontend upload
4
  Tags: csv, import, importer, meta data, meta, user, users, user meta, editor, profile, custom, fields, delimiter, update, insert
5
  Requires at least: 3.4
6
  Tested up to: 5.3.2
7
+ Stable tag: 1.15.2.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
54
  * [RedSys Gateway for WP Booking Calendar Pro a plugin to receive payments using RedSys in WordPress using WP Booking Calendar Pro](https://codection.com/producto/redsys-gateway-for-wp-booking-calendar-pro/) (premium)
55
  * [RedSys Gateway for Goodlayers Tourmaster Pro a plugin to receive payments using RedSys in WordPress using Goodlayers Tourmaster Pro](https://codection.com/producto/redsys-gateway-for-goodlayers-tourmaster-pro/) (premium)
56
  * [Clean Login a plugin to create your own register, log in, lost password and update profile forms](https://wordpress.org/plugins/clean-login/) (free)
57
+ * [WooCommerce Products Restricted Users a plugin to restrict product visibility by user](https://wordpress.org/plugins/woo-products-restricted-users/) (free)
58
+ * [First payment date for WooCommerce Subscriptions a plugin to set a first payment date in membership sites with WooCommerce Subscriptions](https://wordpress.org/plugins/first-payment-date-for-woocommerce-subscriptions/) (free)
59
 
60
  ### **Basics**
61
 
62
+ * Import users and customers from a CSV easily
63
  * And also extra profile information with the user meta data (included in the CSV with your custom fields)
64
  * Just upload the CSV file (one included as example)
65
  * All your users will be created/updated with the updated information, and of course including the user meta
66
  * Autodetect delimiter compatible with `comma , `, `semicolon ; ` and `bar | `
67
+ * Export users and customers choosing delimiters and using some filters
68
+ * Create a cron task to do the import periodically in order to integrate WordPress with an external system
69
+ * Interaction with lots of other plugins like WooCommerce, BuddyPress and many others
70
+ * Import users from frontend using a shortcode
71
 
72
  ### **Usage**
73
 
97
 
98
  == Changelog ==
99
 
100
+ = 1.15.2.3 =
101
+ * Fixes some issues exporting date and time values
102
+
103
  = 1.15.2.2 =
104
  * Part of the code of frontend has been rewritten to improve readibility
105
  * New options in frontend upload