Export User Data - Version 0.8.3

Version Description

  • clarified export limit options
Download this release

Release Info

Developer qlstudio
Plugin Icon wp plugin Export User Data
Version 0.8.3
Comparing to
See all releases

Code changes from version 0.8.2 to 0.8.3

Files changed (2) hide show
  1. export-user-data.php +10 -10
  2. readme.txt +4 -1
export-user-data.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Export User Data
5
  Plugin URI: http://qstudio.us/plugins/
6
  Description: Export User data, metadata and BuddyPressX Profile data.
7
- Version: 0.8.2
8
  Author: Q Studio
9
  Author URI: http://qstudio.us
10
  License: GPL2
@@ -148,16 +148,16 @@ if ( ! class_exists( 'Q_EUD_Export_Users' ) )
148
  }
149
 
150
  // is the a range limit in place for the export ? ##
151
- if ( isset( $_POST['limit_from'] ) && $_POST['limit_from'] != '' && isset( $_POST['limit_to'] ) && $_POST['limit_to'] != '' ) {
152
 
153
  // let's just make sure they are integer values ##
154
- $limit_from = (int)$_POST['limit_from'];
155
- $limit_to = (int)$_POST['limit_to'];
156
 
157
- if ( is_int( $limit_from ) && is_int( $limit_to ) ) {
158
 
159
- $args['offset'] = $limit_from;
160
- $args['number'] = $limit_to - $limit_from;
161
 
162
  #wp_die(pr($args));
163
 
@@ -726,11 +726,11 @@ if ( ! class_exists( 'Q_EUD_Export_Users' ) )
726
  <tr valign="top" class="toggleable">
727
  <th scope="row"><label><?php _e( 'Limit Range', 'export-user-data' ); ?></label></th>
728
  <td>
729
- <input name="limit_from" type="text" id="q_eud_users_limit_from" value="" class="regular-text code numeric" style="width: 136px;" placeholder="<?php _e( 'From', 'export-user-data' ); ?>">
730
- <input name="limit_to" type="text" id="q_eud_users_limit_to" value="" class="regular-text code numeric" style="width: 136px;" placeholder="<?php _e( 'To', 'export-user-data' ); ?>">
731
  <p class="description"><?php
732
  printf(
733
- __( 'Enter an offset start number and a total number to export. <a href="%s" target="_blank">%s</a>', 'export-user-data' )
734
  , esc_html('http://codex.wordpress.org/Function_Reference/get_users#Parameters')
735
  , 'Codex'
736
  );
4
  Plugin Name: Export User Data
5
  Plugin URI: http://qstudio.us/plugins/
6
  Description: Export User data, metadata and BuddyPressX Profile data.
7
+ Version: 0.8.3
8
  Author: Q Studio
9
  Author URI: http://qstudio.us
10
  License: GPL2
148
  }
149
 
150
  // is the a range limit in place for the export ? ##
151
+ if ( isset( $_POST['limit_offset'] ) && $_POST['limit_offset'] != '' && isset( $_POST['limit_total'] ) && $_POST['limit_total'] != '' ) {
152
 
153
  // let's just make sure they are integer values ##
154
+ $limit_offset = (int)$_POST['limit_offset'];
155
+ $limit_total = (int)$_POST['limit_total'];
156
 
157
+ if ( is_int( $limit_offset ) && is_int( $limit_total ) ) {
158
 
159
+ $args['offset'] = $limit_offset;
160
+ $args['number'] = $limit_total - $limit_offset;
161
 
162
  #wp_die(pr($args));
163
 
726
  <tr valign="top" class="toggleable">
727
  <th scope="row"><label><?php _e( 'Limit Range', 'export-user-data' ); ?></label></th>
728
  <td>
729
+ <input name="limit_offset" type="text" id="q_eud_users_limit_offset" value="" class="regular-text code numeric" style="width: 136px;" placeholder="<?php _e( 'Offset', 'export-user-data' ); ?>">
730
+ <input name="limit_total" type="text" id="q_eud_users_limit_total" value="" class="regular-text code numeric" style="width: 136px;" placeholder="<?php _e( 'Total', 'export-user-data' ); ?>">
731
  <p class="description"><?php
732
  printf(
733
+ __( 'Enter an offset start number and a total number of users to export. <a href="%s" target="_blank">%s</a>', 'export-user-data' )
734
  , esc_html('http://codex.wordpress.org/Function_Reference/get_users#Parameters')
735
  , 'Codex'
736
  );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: qlstudio
3
  Tags: user, users, xprofile, usermeta csv, excel, batch, export, save, download
4
  Requires at least: 3.2
5
  Tested up to: 3.8.1
6
- Stable tag: 0.8.2
7
  License: GPLv2
8
 
9
  Export users data, metadata and buddypress xprofile data to a csv or Excel file
@@ -58,6 +58,9 @@ Click on the 'Export User Data' link in the 'Users' menu, choose the role and th
58
 
59
  == Changelog ==
60
 
 
 
 
61
  = 0.8.2 =
62
  * corrected buddypress export option - broken in 0.8.1
63
  * changed get_users arguments, in attempt to reduce memory usage
3
  Tags: user, users, xprofile, usermeta csv, excel, batch, export, save, download
4
  Requires at least: 3.2
5
  Tested up to: 3.8.1
6
+ Stable tag: 0.8.3
7
  License: GPLv2
8
 
9
  Export users data, metadata and buddypress xprofile data to a csv or Excel file
58
 
59
  == Changelog ==
60
 
61
+ = 0.8.3 =
62
+ * clarified export limit options
63
+
64
  = 0.8.2 =
65
  * corrected buddypress export option - broken in 0.8.1
66
  * changed get_users arguments, in attempt to reduce memory usage