Version Description
- New hooks added to homepage tab to include more options using addons
Download this release
Release Info
Developer | carazo |
Plugin | Import users from CSV with meta |
Version | 1.19.1.7 |
Comparing to | |
See all releases |
Code changes from version 1.19.1.6 to 1.19.1.7
- classes/homepage.php +29 -2
- import-users-from-csv-with-meta.php +2 -3
- readme.txt +4 -1
classes/homepage.php
CHANGED
@@ -44,6 +44,8 @@ class ACUI_Homepage{
|
|
44 |
<table id="acui_file_wrapper" class="form-table">
|
45 |
<tbody>
|
46 |
|
|
|
|
|
47 |
<tr class="form-field form-required">
|
48 |
<th scope="row"><label for="uploadfile"><?php _e( 'CSV file <span class="description">(required)</span></label>', 'import-users-from-csv-with-meta' ); ?></th>
|
49 |
<td>
|
@@ -57,12 +59,18 @@ class ACUI_Homepage{
|
|
57 |
</div>
|
58 |
</td>
|
59 |
</tr>
|
|
|
|
|
|
|
60 |
</tbody>
|
61 |
</table>
|
62 |
|
63 |
<h2 id="acui_roles_header"><?php _e( 'Roles', 'import-users-from-csv-with-meta'); ?></h2>
|
64 |
-
<table
|
65 |
<tbody>
|
|
|
|
|
|
|
66 |
<tr class="form-field">
|
67 |
<th scope="row"><label for="role"><?php _e( 'Default role', 'import-users-from-csv-with-meta' ); ?></label></th>
|
68 |
<td>
|
@@ -73,12 +81,18 @@ class ACUI_Homepage{
|
|
73 |
<p class="description"><?php _e( 'You can also import roles from a CSV column. Please read documentation tab to see how it can be done. If you choose more than one role, the roles would be assigned correctly but you should use some plugin like <a href="https://wordpress.org/plugins/user-role-editor/">User Role Editor</a> to manage them.', 'import-users-from-csv-with-meta' ); ?></p>
|
74 |
</td>
|
75 |
</tr>
|
|
|
|
|
|
|
76 |
</tbody>
|
77 |
</table>
|
78 |
|
79 |
<h2 id="acui_options_header"><?php _e( 'Options', 'import-users-from-csv-with-meta'); ?></h2>
|
80 |
-
<table
|
81 |
<tbody>
|
|
|
|
|
|
|
82 |
<tr id="acui_empty_cell_wrapper" class="form-field form-required">
|
83 |
<th scope="row"><label for="empty_cell_action"><?php _e( 'What should the plugin do with empty cells?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
84 |
<td>
|
@@ -109,6 +123,9 @@ class ACUI_Homepage{
|
|
109 |
<?php ACUIHTML()->checkbox( array( 'name' => 'force_user_reset_password', 'label' => __( 'If a password is set to an user and you activate this option, the user will be forced to reset their password in their first login', 'import-users-from-csv-with-meta' ), 'current' => 'yes', 'compare_value' => get_option( 'acui_manually_force_user_reset_password' ) ) ); ?>
|
110 |
</td>
|
111 |
</tr>
|
|
|
|
|
|
|
112 |
</tbody>
|
113 |
</table>
|
114 |
|
@@ -116,6 +133,9 @@ class ACUI_Homepage{
|
|
116 |
|
117 |
<table id="acui_update_users_wrapper" class="form-table">
|
118 |
<tbody>
|
|
|
|
|
|
|
119 |
<tr id="acui_update_existing_users_wrapper" class="form-field form-required">
|
120 |
<th scope="row"><label for="update_existing_users"><?php _e( 'Update existing users?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
121 |
<td>
|
@@ -164,6 +184,9 @@ class ACUI_Homepage{
|
|
164 |
)); ?>
|
165 |
</td>
|
166 |
</tr>
|
|
|
|
|
|
|
167 |
</tbody>
|
168 |
</table>
|
169 |
|
@@ -171,6 +194,8 @@ class ACUI_Homepage{
|
|
171 |
|
172 |
<table id="acui_users_not_present_wrapper" class="form-table">
|
173 |
<tbody>
|
|
|
|
|
174 |
|
175 |
<tr id="acui_delete_users_wrapper" class="form-field form-required">
|
176 |
<th scope="row"><label for="delete_users"><?php _e( 'Delete users that are not present in the CSV?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
@@ -208,6 +233,8 @@ class ACUI_Homepage{
|
|
208 |
</td>
|
209 |
</tr>
|
210 |
|
|
|
|
|
211 |
</tbody>
|
212 |
</table>
|
213 |
|
44 |
<table id="acui_file_wrapper" class="form-table">
|
45 |
<tbody>
|
46 |
|
47 |
+
<?php do_action( 'acui_homepage_before_file_rows' ); ?>
|
48 |
+
|
49 |
<tr class="form-field form-required">
|
50 |
<th scope="row"><label for="uploadfile"><?php _e( 'CSV file <span class="description">(required)</span></label>', 'import-users-from-csv-with-meta' ); ?></th>
|
51 |
<td>
|
59 |
</div>
|
60 |
</td>
|
61 |
</tr>
|
62 |
+
|
63 |
+
<?php do_action( 'acui_homepage_after_file_rows' ); ?>
|
64 |
+
|
65 |
</tbody>
|
66 |
</table>
|
67 |
|
68 |
<h2 id="acui_roles_header"><?php _e( 'Roles', 'import-users-from-csv-with-meta'); ?></h2>
|
69 |
+
<table id="acui_roles_wrapper" class="form-table">
|
70 |
<tbody>
|
71 |
+
|
72 |
+
<?php do_action( 'acui_homepage_before_roles_rows' ); ?>
|
73 |
+
|
74 |
<tr class="form-field">
|
75 |
<th scope="row"><label for="role"><?php _e( 'Default role', 'import-users-from-csv-with-meta' ); ?></label></th>
|
76 |
<td>
|
81 |
<p class="description"><?php _e( 'You can also import roles from a CSV column. Please read documentation tab to see how it can be done. If you choose more than one role, the roles would be assigned correctly but you should use some plugin like <a href="https://wordpress.org/plugins/user-role-editor/">User Role Editor</a> to manage them.', 'import-users-from-csv-with-meta' ); ?></p>
|
82 |
</td>
|
83 |
</tr>
|
84 |
+
|
85 |
+
<?php do_action( 'acui_homepage_after_roles_rows' ); ?>
|
86 |
+
|
87 |
</tbody>
|
88 |
</table>
|
89 |
|
90 |
<h2 id="acui_options_header"><?php _e( 'Options', 'import-users-from-csv-with-meta'); ?></h2>
|
91 |
+
<table id="acui_options_wrapper" class="form-table">
|
92 |
<tbody>
|
93 |
+
|
94 |
+
<?php do_action( 'acui_homepage_before_options_rows' ); ?>
|
95 |
+
|
96 |
<tr id="acui_empty_cell_wrapper" class="form-field form-required">
|
97 |
<th scope="row"><label for="empty_cell_action"><?php _e( 'What should the plugin do with empty cells?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
98 |
<td>
|
123 |
<?php ACUIHTML()->checkbox( array( 'name' => 'force_user_reset_password', 'label' => __( 'If a password is set to an user and you activate this option, the user will be forced to reset their password in their first login', 'import-users-from-csv-with-meta' ), 'current' => 'yes', 'compare_value' => get_option( 'acui_manually_force_user_reset_password' ) ) ); ?>
|
124 |
</td>
|
125 |
</tr>
|
126 |
+
|
127 |
+
<?php do_action( 'acui_homepage_after_options_rows' ); ?>
|
128 |
+
|
129 |
</tbody>
|
130 |
</table>
|
131 |
|
133 |
|
134 |
<table id="acui_update_users_wrapper" class="form-table">
|
135 |
<tbody>
|
136 |
+
|
137 |
+
<?php do_action( 'acui_homepage_before_update_users_rows' ); ?>
|
138 |
+
|
139 |
<tr id="acui_update_existing_users_wrapper" class="form-field form-required">
|
140 |
<th scope="row"><label for="update_existing_users"><?php _e( 'Update existing users?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
141 |
<td>
|
184 |
)); ?>
|
185 |
</td>
|
186 |
</tr>
|
187 |
+
|
188 |
+
<?php do_action( 'acui_homepage_after_update_users_rows' ); ?>
|
189 |
+
|
190 |
</tbody>
|
191 |
</table>
|
192 |
|
194 |
|
195 |
<table id="acui_users_not_present_wrapper" class="form-table">
|
196 |
<tbody>
|
197 |
+
|
198 |
+
<?php do_action( 'acui_homepage_before_users_not_present_rows' ); ?>
|
199 |
|
200 |
<tr id="acui_delete_users_wrapper" class="form-field form-required">
|
201 |
<th scope="row"><label for="delete_users"><?php _e( 'Delete users that are not present in the CSV?', 'import-users-from-csv-with-meta' ); ?></label></th>
|
233 |
</td>
|
234 |
</tr>
|
235 |
|
236 |
+
<?php do_action( 'acui_homepage_after_users_not_present_rows' ); ?>
|
237 |
+
|
238 |
</tbody>
|
239 |
</table>
|
240 |
|
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.19.1.
|
7 |
Author: codection
|
8 |
Author URI: https://codection.com
|
9 |
License: GPL2
|
@@ -11,11 +11,10 @@ License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
|
11 |
Text Domain: import-users-from-csv-with-meta
|
12 |
Domain Path: /languages
|
13 |
*/
|
14 |
-
|
15 |
if ( ! defined( 'ABSPATH' ) )
|
16 |
exit;
|
17 |
|
18 |
-
define( 'ACUI_VERSION', '1.19.1.
|
19 |
|
20 |
class ImportExportUsersCustomers{
|
21 |
var $file;
|
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.19.1.7
|
7 |
Author: codection
|
8 |
Author URI: https://codection.com
|
9 |
License: GPL2
|
11 |
Text Domain: import-users-from-csv-with-meta
|
12 |
Domain Path: /languages
|
13 |
*/
|
|
|
14 |
if ( ! defined( 'ABSPATH' ) )
|
15 |
exit;
|
16 |
|
17 |
+
define( 'ACUI_VERSION', '1.19.1.7' );
|
18 |
|
19 |
class ImportExportUsersCustomers{
|
20 |
var $file;
|
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.9
|
7 |
-
Stable tag: 1.19.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -105,6 +105,9 @@ Plugin will automatically detect:
|
|
105 |
|
106 |
== Changelog ==
|
107 |
|
|
|
|
|
|
|
108 |
= 1.19.1.6 =
|
109 |
* New hooks to filter username and password of every users being imported
|
110 |
|
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.9
|
7 |
+
Stable tag: 1.19.1.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
105 |
|
106 |
== Changelog ==
|
107 |
|
108 |
+
= 1.19.1.7 =
|
109 |
+
* New hooks added to homepage tab to include more options using addons
|
110 |
+
|
111 |
= 1.19.1.6 =
|
112 |
* New hooks to filter username and password of every users being imported
|
113 |
|