Subscribe2 - Version 6.3

Version Description

Download this release

Release Info

Developer MattyRob
Plugin Icon 128x128 Subscribe2
Version 6.3
Comparing to
See all releases

Code changes from version 6.2 to 6.3

Files changed (3) hide show
  1. ReadMe.txt +9 -2
  2. subscribe2.php +190 -97
  3. subscribe2.pot +223 -216
ReadMe.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: MattyRob, Skippy, RavanH
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2387904
4
  Tags: posts, subscription, email, subscribe, notify, notification
5
  Requires at least: 2.8
6
- Tested up to: 3.0.5
7
- Stable tag: 6.2
8
 
9
  Sends a list of subscribers an email notification when new posts are published to your blog
10
 
@@ -172,6 +172,13 @@ Secondly, make sure that the token ([subscribe2] or <!--subscribe2-->) is correc
172
 
173
  == Changelog ==
174
 
 
 
 
 
 
 
 
175
  = Version 6.2 by Matthew Robinson =
176
 
177
  * Pass email address to add() function explicitly
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=2387904
4
  Tags: posts, subscription, email, subscribe, notify, notification
5
  Requires at least: 2.8
6
+ Tested up to: 3.1
7
+ Stable tag: 6.3
8
 
9
  Sends a list of subscribers an email notification when new posts are published to your blog
10
 
172
 
173
  == Changelog ==
174
 
175
+ = Version 6.3 by Matthew Robinson =
176
+
177
+ * Stopped using deprecated get_usermeta(), update_usermeta() and delete_usermeta() functions in WordPress 3.1
178
+ * Use WP_User_Query class and functions in WordPress 3.1
179
+ * Stop using buggy is_blog_user() multisite function
180
+ * Fixed a bug where the creating of a new category would re-subscribed digest email users incorrectly
181
+
182
  = Version 6.2 by Matthew Robinson =
183
 
184
  * Pass email address to add() function explicitly
subscribe2.php CHANGED
@@ -3,14 +3,14 @@
3
  Plugin Name: Subscribe2
4
  Plugin URI: http://subscribe2.wordpress.com
5
  Description: Notifies an email list when new entries are posted.
6
- Version: 6.2
7
  Author: Matthew Robinson
8
  Author URI: http://subscribe2.wordpress.com
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=2387904
10
  */
11
 
12
  /*
13
- Copyright (C) 2006-10 Matthew Robinson
14
  Based on the Original Subscribe2 plugin by
15
  Copyright (C) 2005 Scott Merrill (skippy@skippy.net)
16
 
@@ -30,9 +30,17 @@ You should have received a copy of the GNU General Public License
30
  along with Subscribe2. If not, see <http://www.gnu.org/licenses/>.
31
  */
32
 
 
 
 
 
 
 
 
 
33
  // our version number. Don't touch this or any line below
34
  // unless you know exactly what you are doing
35
- define( 'S2VERSION', '6.2' );
36
  define( 'S2PATH', trailingslashit(dirname(__FILE__)) );
37
  define( 'S2DIR', trailingslashit(plugin_basename(dirname(__FILE__))) );
38
  define( 'S2URL', plugin_dir_url(dirname(__FILE__)) . S2DIR );
@@ -236,7 +244,7 @@ class s2class {
236
  // loop through all users
237
  foreach ( $users as $user ) {
238
  // get categories which the user is subscribed to (old ones)
239
- $categories = get_usermeta($user, 's2_subscribed');
240
  $categories = explode(',', $categories);
241
 
242
  // load blogs of user (only if we need them)
@@ -252,17 +260,17 @@ class s2class {
252
  $subscribed_categories = array_intersect($categories, $blog_categories);
253
  if ( !empty($subscribed_categories) ) {
254
  foreach ( $subscribed_categories as $subscribed_category ) {
255
- update_usermeta($user, $this->get_usermeta_keyname('s2_cat') . $subscribed_category, $subscribed_category);
256
  }
257
- update_usermeta($user, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $subscribed_categories));
258
  }
259
  restore_current_blog();
260
  }
261
 
262
  // delete old user meta keys
263
- delete_usermeta($user, 's2_subscribed');
264
  foreach ( $categories as $cat ) {
265
- delete_usermeta($user, 's2_cat' . $cat);
266
  }
267
  }
268
  }
@@ -911,14 +919,24 @@ class s2class {
911
  $message = $this->email . " " . __('subscribed to email notifications!', 'subscribe2');
912
  $recipients = $wpdb->get_col("SELECT DISTINCT(user_email) FROM $wpdb->users INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id WHERE $wpdb->usermeta.meta_key='" . $wpdb->prefix . "user_level' AND $wpdb->usermeta.meta_value='10'");
913
  if ( empty($recipients) ) {
914
- $role = 'administrator';
915
- if ( !class_exists(WP_User_Search) ) {
916
- require(ABSPATH . 'wp-admin/includes/user.php');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
917
  }
918
- $wp_user_search = new WP_User_Search( '', '', $role);
919
- $admins_string = implode(', ', $wp_user_search->get_results());
920
- $sql = "SELECT user_email FROM $wpdb->users WHERE ID IN (" . $admins_string . ")";
921
- $recipients = $wpdb->get_col($sql);
922
  }
923
  $headers = $this->headers();
924
  foreach ( $recipients as $recipient ) {
@@ -939,14 +957,24 @@ class s2class {
939
  $message = $this->email . " " . __('unsubscribed from email notifications!', 'subscribe2');
940
  $recipients = $wpdb->get_col("SELECT DISTINCT(user_email) FROM $wpdb->users INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id WHERE $wpdb->usermeta.meta_key='" . $wpdb->prefix . "user_level' AND $wpdb->usermeta.meta_value='10'");
941
  if ( empty($recipients) ) {
942
- $role = 'administrator';
943
- if ( !class_exists(WP_User_Search) ) {
944
- require(ABSPATH . 'wp-admin/includes/user.php');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
945
  }
946
- $wp_user_search = new WP_User_Search( '', '', $role);
947
- $admins_string = implode(', ', $wp_user_search->get_results());
948
- $sql = "SELECT user_email FROM $wpdb->users WHERE ID IN (" . $admins_string . ")";
949
- $recipients = $wpdb->get_col($sql);
950
  }
951
  $headers = $this->headers();
952
  foreach ( $recipients as $recipient ) {
@@ -1186,47 +1214,47 @@ class s2class {
1186
  if ( false !== $this->is_public($this->sanitize_email($user->user_email)) ) {
1187
  // delete this user from the public table, and subscribe them to all the categories
1188
  $this->delete($user->user_email);
1189
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), $cats);
1190
  foreach ( explode(',', $cats) as $cat ) {
1191
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_cat') . $cat, "$cat");
1192
  }
1193
- update_usermeta($user_ID, 's2_format', 'excerpt');
1194
- update_usermeta($user_ID, 's2_autosub', $this->subscribe2_options['autosub_def']);
1195
  } else {
1196
  // create post format entries for all users
1197
- $check_format = get_usermeta($user_ID, 's2_format');
1198
  if ( empty($check_format) ) {
1199
  // ensure existing subscription options are not overwritten on upgrade
1200
  if ( in_array($this->subscribe2_options['autoformat'], array('html', 'html_excerpt', 'post', 'excerpt')) ) {
1201
- update_usermeta($user_ID, 's2_format', $this->subscribe2_options['autoformat']);
1202
  } else {
1203
- update_usermeta($user_ID, 's2_format', 'excerpt');
1204
  }
1205
- update_usermeta($user_ID, 's2_autosub', $this->subscribe2_options['autosub_def']);
1206
  // if the are no existing subscriptions, create them if, by default if autosub is on
1207
  if ( 'yes' == $this->subscribe2_options['autosub'] || ( 'wpreg' == $this->subscribe2_options['autosub'] && 'on' == $_POST['subscribe'] ) ) {
1208
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), $cats);
1209
  foreach ( explode(',', $cats) as $cat ) {
1210
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_cat') . $cat, "$cat");
1211
  }
1212
  }
1213
  } else {
1214
  // if user is already registered update format remove 's2_excerpt' field and update 's2_format'
1215
  if ( 'html' == $check_format ) {
1216
- delete_usermeta($user_ID, 's2_excerpt');
1217
  } elseif ( 'text' == $check_format ) {
1218
- update_usermeta($user_ID, 's2_format', get_usermeta($user_ID, 's2_excerpt'));
1219
- delete_usermeta($user_ID, 's2_excerpt');
1220
  }
1221
  }
1222
- $subscribed = get_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'));
1223
  if ( strstr($subscribed, '-1') ) {
1224
  // make sure we remove '-1' from any settings
1225
  $old_cats = explode(',', $subscribed);
1226
  $pos = array_search('-1', $old_cats);
1227
  unset($old_cats[$pos]);
1228
  $cats = implode(',', $old_cats);
1229
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), $cats);
1230
  }
1231
  }
1232
  return $user_ID;
@@ -1246,7 +1274,7 @@ class s2class {
1246
  $user_IDs = $wpdb->get_col($sql);
1247
 
1248
  foreach ( $user_IDs as $user_ID ) {
1249
- $old_cats = get_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'));
1250
  if ( !empty($old_cats) ) {
1251
  $old_cats = explode(',', $old_cats);
1252
  $newcats = array_unique(array_merge($cats, $old_cats));
@@ -1256,9 +1284,9 @@ class s2class {
1256
  if ( !empty($newcats) ) {
1257
  // add subscription to these cat IDs
1258
  foreach ( $newcats as $id ) {
1259
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_cat') . $id, "$id");
1260
  }
1261
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $newcats));
1262
  }
1263
  unset($newcats);
1264
  }
@@ -1278,20 +1306,20 @@ class s2class {
1278
  $user_IDs = $wpdb->get_col($sql);
1279
 
1280
  foreach ( $user_IDs as $user_ID ) {
1281
- $old_cats = explode(',', get_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed')));
1282
  $remain = array_diff($old_cats, $cats);
1283
  if ( !empty($remain) ) {
1284
  // remove subscription to these cat IDs and update s2_subscribed
1285
  foreach ( $cats as $id ) {
1286
- delete_usermeta($user_ID, $this->get_usermeta_keyname('s2_cat') . $id);
1287
  }
1288
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $remain));
1289
  } else {
1290
  // remove subscription to these cat IDs and update s2_subscribed to ''
1291
  foreach ( $cats as $id ) {
1292
- delete_usermeta($user_ID, $this->get_usermeta_keyname('s2_cat') . $id);
1293
  }
1294
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), '');
1295
  }
1296
  unset($remain);
1297
  }
@@ -1355,12 +1383,12 @@ class s2class {
1355
  foreach ( $all_cats as $cat => $term ) {
1356
  $term_id = $term->term_id;
1357
  $cats[] = $term_id;
1358
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_cat') . $term_id, $term_id);
1359
  }
1360
  if ( empty($cats) ) {
1361
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), '');
1362
  } else {
1363
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $cats));
1364
  }
1365
 
1366
  // don't restore_current_blog(); -> redirect to new subscription page
@@ -1375,16 +1403,16 @@ class s2class {
1375
  $user_ID = get_current_user_id();
1376
 
1377
  // delete subscription to all categories on that blog
1378
- $cats = get_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'));
1379
  $cats = explode(',', $cats);
1380
  if ( !is_array($cats) ) {
1381
  $cats = array($cats);
1382
  }
1383
 
1384
  foreach ( $cats as $id ) {
1385
- delete_usermeta($user_ID, $this->get_usermeta_keyname('s2_cat') . $id);
1386
  }
1387
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), '');
1388
 
1389
  // add an action hook for external manipulation of blog and user data
1390
  do_action_ref_array('subscribe2_wpmu_unsubscribe', array($user_ID, $blog_id));
@@ -1419,12 +1447,54 @@ class s2class {
1419
  }
1420
  } // end wpmu_subscribe()
1421
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1422
  /**
1423
  Autosubscribe registered users to newly created categories
1424
  if registered user has selected this option
1425
  */
1426
  function new_category($new_category='') {
1427
  if ( 'no' == $this->subscribe2_options['show_autosub'] ) { return; }
 
 
1428
  global $wpdb;
1429
 
1430
  if ( 'yes' == $this->subscribe2_options['show_autosub'] ) {
@@ -1433,20 +1503,20 @@ class s2class {
1433
  if ( '' == $user_IDs ) { return; }
1434
 
1435
  foreach ( $user_IDs as $user_ID ) {
1436
- $old_cats = explode(',', get_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed')));
1437
  if ( !is_array($old_cats) ) {
1438
  $old_cats = array($old_cats);
1439
  }
1440
  // add subscription to these cat IDs
1441
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_cat') . $new_category, "$new_category");
1442
  $newcats = array_merge($old_cats, (array)$new_category);
1443
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $newcats));
1444
  }
1445
  } elseif ( 'exclude' == $this->subscribe2_options['show_autosub'] ) {
1446
  $excluded_cats = explode(',', $this->subscribe2_options['exclude']);
1447
  $excluded_cats[] = $new_category;
1448
  $this->subscribe2_options['exclude'] = implode(',', $excluded_cats);
1449
- update_option('subscribe2_options', $this->subscribe2_options);
1450
  }
1451
  } // end new_category()
1452
 
@@ -1458,14 +1528,14 @@ class s2class {
1458
  if ( '' == $user_IDs ) { return; }
1459
 
1460
  foreach ( $user_IDs as $user_ID ) {
1461
- $old_cats = explode(',', get_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed')));
1462
  if ( !is_array($old_cats) ) {
1463
  $old_cats = array($old_cats);
1464
  }
1465
  // add subscription to these cat IDs
1466
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_cat') . $deleted_category, '');
1467
  $remain = array_diff($old_cats, (array)$deleted_category);
1468
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $remain));
1469
  }
1470
  }
1471
 
@@ -1492,13 +1562,25 @@ class s2class {
1492
 
1493
  // handle issues from WordPress core where user_level is not set or set low
1494
  if ( empty($admin) ) {
1495
- $role = 'administrator';
1496
- if ( !class_exists(WP_User_Search) ) {
1497
- require(ABSPATH . 'wp-admin/includes/user.php');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1498
  }
1499
- $wp_user_search = new WP_User_Search( '', '', $role);
1500
- $results = $wp_user_search->get_results();
1501
- $admin = $results[0];
1502
  }
1503
 
1504
  return $admin;
@@ -2371,46 +2453,46 @@ class s2class {
2371
  check_admin_referer('subscribe2-user_subscribers' . $s2nonce);
2372
 
2373
  echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Subscription preferences updated.', 'subscribe2') . "</strong></p></div>\n";
2374
- update_usermeta($user_ID, 's2_format', $_POST['s2_format']);
2375
- update_usermeta($user_ID, 's2_autosub', $_POST['new_category']);
2376
 
2377
  $cats = $_POST['category'];
2378
 
2379
  if ( empty($cats) || $cats == '-1' ) {
2380
- $oldcats = explode(',', get_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed')));
2381
  if ( $oldcats ) {
2382
  foreach ( $oldcats as $cat ) {
2383
- delete_usermeta($user_ID, $this->get_usermeta_keyname('s2_cat') . $cat);
2384
  }
2385
  }
2386
- delete_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'));
2387
  } elseif ( $cats == 'digest' ) {
2388
  $all_cats = get_categories(array('hide_empty' => false));
2389
  foreach ( $all_cats as $cat ) {
2390
  ('' == $catids) ? $catids = "$cat->term_id" : $catids .= ",$cat->term_id";
2391
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_cat') . $cat->term_id, $cat->term_id);
2392
  }
2393
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), $catids);
2394
  } else {
2395
  if ( !is_array($cats) ) {
2396
  $cats = array($_POST['category']);
2397
  }
2398
- $old_cats = explode(',', get_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed')));
2399
  $remove = array_diff($old_cats, $cats);
2400
  $new = array_diff($cats, $old_cats);
2401
  if ( !empty($remove) ) {
2402
  // remove subscription to these cat IDs
2403
  foreach ( $remove as $id ) {
2404
- delete_usermeta($user_ID, $this->get_usermeta_keyname('s2_cat') . $id);
2405
  }
2406
  }
2407
  if ( !empty($new) ) {
2408
  // add subscription to these cat IDs
2409
  foreach ( $new as $id ) {
2410
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_cat') . $id, $id);
2411
  }
2412
  }
2413
- update_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $cats));
2414
  }
2415
  }
2416
 
@@ -2431,22 +2513,22 @@ class s2class {
2431
  if ( $this->subscribe2_options['email_freq'] == 'never' ) {
2432
  echo __('Receive email as', 'subscribe2') . ": &nbsp;&nbsp;";
2433
  echo "<label><input type=\"radio\" name=\"s2_format\" value=\"html\"";
2434
- if ( 'html' == get_usermeta($user_ID, 's2_format') ) {
2435
  echo "checked=\"checked\" ";
2436
  }
2437
  echo "/> " . __('HTML - Full', 'subscribe2') ."</label>&nbsp;&nbsp;";
2438
  echo "<label><input type=\"radio\" name=\"s2_format\" value=\"html_excerpt\" ";
2439
- if ( 'html_excerpt' == get_usermeta($user_ID, 's2_format') ) {
2440
  echo "checked=\"checked\" ";
2441
  }
2442
  echo "/> " . __('HTML - Excerpt', 'subscribe2') . "</label>&nbsp;&nbsp;";
2443
  echo "<label><input type=\"radio\" name=\"s2_format\" value=\"post\" ";
2444
- if ( 'post' == get_usermeta($user_ID, 's2_format') ) {
2445
  echo "checked=\"checked\" ";
2446
  }
2447
  echo "/> " . __('Plain Text - Full', 'subscribe2') . "</label>&nbsp;&nbsp;";
2448
  echo "<label><input type=\"radio\" name=\"s2_format\" value=\"excerpt\" ";
2449
- if ( 'excerpt' == get_usermeta($user_ID, 's2_format') ) {
2450
  echo "checked=\"checked\" ";
2451
  }
2452
  echo "/> " . __('Plain Text - Excerpt', 'subscribe2') . "</label><br /><br />\r\n";
@@ -2454,12 +2536,12 @@ class s2class {
2454
  if ( $this->subscribe2_options['show_autosub'] == 'yes' ) {
2455
  echo __('Automatically subscribe me to newly created categories', 'subscribe2') . ': &nbsp;&nbsp;';
2456
  echo "<label><input type=\"radio\" name=\"new_category\" value=\"yes\" ";
2457
- if ( 'yes' == get_usermeta($user_ID, 's2_autosub') ) {
2458
  echo "checked=\"checked\" ";
2459
  }
2460
  echo "/> " . __('Yes', 'subscribe2') . "</label>&nbsp;&nbsp;";
2461
  echo "<label><input type=\"radio\" name=\"new_category\" value=\"no\" ";
2462
- if ( 'no' == get_usermeta($user_ID, 's2_autosub') ) {
2463
  echo "checked=\"checked\" ";
2464
  }
2465
  echo "/> " . __('No', 'subscribe2') . "</label>";
@@ -2469,7 +2551,7 @@ class s2class {
2469
  // subscribed categories
2470
  if ( $this->s2_mu ) {
2471
  global $blog_id;
2472
- $subscribed = get_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'));
2473
  // if we are subscribed to the current blog display an "unsubscribe" link
2474
  if ( !empty($subscribed) ) {
2475
  $unsubscribe_link = get_option('home') . "/wp-admin/?s2mu_unsubscribe=". $blog_id;
@@ -2483,18 +2565,18 @@ class s2class {
2483
  } else {
2484
  echo "<h2>" . __('Subscribed Categories', 'subscribe2') . "</h2>\r\n";
2485
  }
2486
- $this->display_category_form(explode(',', get_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'))), $this->subscribe2_options['reg_override']);
2487
  } else {
2488
  // we're doing daily digests, so just show
2489
  // subscribe / unnsubscribe
2490
  echo __('Receive periodic summaries of new posts?', 'subscribe2') . ': &nbsp;&nbsp;';
2491
  echo "<label>";
2492
  echo "<input type=\"radio\" name=\"category\" value=\"digest\" ";
2493
- if ( get_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed')) ) {
2494
  echo "checked=\"checked\" ";
2495
  }
2496
  echo "/> " . __('Yes', 'subscribe2') . "</label> <label><input type=\"radio\" name=\"category\" value=\"-1\" ";
2497
- if ( !get_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed')) ) {
2498
  echo "checked=\"checked\" ";
2499
  }
2500
  echo "/> " . __('No', 'subscribe2');
@@ -2507,8 +2589,9 @@ class s2class {
2507
 
2508
  // list of subscribed blogs on wordpress mu
2509
  if ( $this->s2_mu && !isset($_GET['email']) ) {
2510
- global $blog_id;
2511
  $s2blog_id = $blog_id;
 
2512
  $blogs = $this->get_mu_blog_list();
2513
 
2514
  $blogs_subscribed = array();
@@ -2528,7 +2611,7 @@ class s2class {
2528
  }
2529
 
2530
  // check if we're subscribed to the blog
2531
- $subscribed = get_usermeta($user_ID, $this->get_usermeta_keyname('s2_subscribed'));
2532
 
2533
  $blogname = get_option('blogname');
2534
  if ( strlen($blogname) > 30 ) {
@@ -2559,7 +2642,7 @@ class s2class {
2559
  echo "<span class=\"buttons\">" . __('Viewing Settings Now', 'subscribe2') . "</span>\r\n";
2560
  } else {
2561
  echo "<span class=\"buttons\">";
2562
- if ( is_blog_user($blog['blog_id']) ) {
2563
  echo "<a href=\"". $blog['subscribe_page'] . "\">" . __('View Settings', 'subscribe2') . "</a>\r\n";
2564
  }
2565
  echo "<a href=\"" . $blog['blogurl'] . "/wp-admin/?s2mu_unsubscribe=" . $blog['blog_id'] . "\">" . __('Unsubscribe', 'subscribe2') . "</a></span>\r\n";
@@ -2580,7 +2663,7 @@ class s2class {
2580
  echo "<span class=\"buttons\">" . __('Viewing Settings Now', 'subscribe2') . "</span>\r\n";
2581
  } else {
2582
  echo "<span class=\"buttons\">";
2583
- if ( is_blog_user($blog['blog_id']) ) {
2584
  echo "<a href=\"". $blog['subscribe_page'] . "\">" . __('View Settings', 'subscribe2') . "</a>\r\n";
2585
  }
2586
  echo "<a href=\"" . $blog['blogurl'] . "/wp-admin/?s2mu_subscribe=" . $blog['blog_id'] . "\">" . __('Subscribe', 'subscribe2') . "</a></span>\r\n";
@@ -2820,14 +2903,24 @@ class s2class {
2820
 
2821
  // handle issues from WordPress core where user_level is not set or set low
2822
  if ( empty($admins) ) {
2823
- $role = 'administrator';
2824
- if ( !class_exists(WP_User_Search) ) {
2825
- require(ABSPATH . 'wp-admin/includes/user.php');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2826
  }
2827
- $wp_user_search = new WP_User_Search( '', '', $role);
2828
- $admins_string = implode(', ', $wp_user_search->get_results());
2829
- $sql = "SELECT ID, display_name FROM $wpdb->users WHERE ID IN (" . $admins_string . ")";
2830
- $admins = $wpdb->get_results($sql);
2831
  }
2832
 
2833
  if ( $inc_author ) {
@@ -2961,7 +3054,7 @@ class s2class {
2961
  $user_ID = $this->get_user_id( $subscriber );
2962
  $user_info = get_userdata($user_ID);
2963
 
2964
- $cats = explode(',', get_usermeta($user_info->ID, $this->get_usermeta_keyname('s2_subscribed')));
2965
  $subscribed_cats = '';
2966
  foreach ( $cat_ids as $cat ) {
2967
  (in_array($cat, $cats)) ? $subscribed_cats .= ",Yes" : $subscribed_cats .= ", No";
3
  Plugin Name: Subscribe2
4
  Plugin URI: http://subscribe2.wordpress.com
5
  Description: Notifies an email list when new entries are posted.
6
+ Version: 6.3
7
  Author: Matthew Robinson
8
  Author URI: http://subscribe2.wordpress.com
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=2387904
10
  */
11
 
12
  /*
13
+ Copyright (C) 2006-11 Matthew Robinson
14
  Based on the Original Subscribe2 plugin by
15
  Copyright (C) 2005 Scott Merrill (skippy@skippy.net)
16
 
30
  along with Subscribe2. If not, see <http://www.gnu.org/licenses/>.
31
  */
32
 
33
+
34
+ global $wp_version;
35
+ if ( version_compare($wp_version, '2.8', '<') ) {
36
+ // Subscribe2 needs WordPress 2.8 or above, exit if not on a compatible version
37
+ $exit_msg = sprintf(__('This version of Subscribe2 requires WordPress 2.8 or greater. Please update %1$s or use an older version of %2$s.', 'subscribe2'), '<a href="http://codex.wordpress.org/Updating_WordPress">Wordpress</a>', '<a href="http://wordpress.org/extend/plugins/subscribe2/download/">Subscribe2</a>');
38
+ exit($exit_msg);
39
+ }
40
+
41
  // our version number. Don't touch this or any line below
42
  // unless you know exactly what you are doing
43
+ define( 'S2VERSION', '6.3' );
44
  define( 'S2PATH', trailingslashit(dirname(__FILE__)) );
45
  define( 'S2DIR', trailingslashit(plugin_basename(dirname(__FILE__))) );
46
  define( 'S2URL', plugin_dir_url(dirname(__FILE__)) . S2DIR );
244
  // loop through all users
245
  foreach ( $users as $user ) {
246
  // get categories which the user is subscribed to (old ones)
247
+ $categories = $this->get_user_meta($user, 's2_subscribed');
248
  $categories = explode(',', $categories);
249
 
250
  // load blogs of user (only if we need them)
260
  $subscribed_categories = array_intersect($categories, $blog_categories);
261
  if ( !empty($subscribed_categories) ) {
262
  foreach ( $subscribed_categories as $subscribed_category ) {
263
+ $this->update_user_meta($user, $this->get_usermeta_keyname('s2_cat') . $subscribed_category, $subscribed_category);
264
  }
265
+ $this->update_user_meta($user, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $subscribed_categories));
266
  }
267
  restore_current_blog();
268
  }
269
 
270
  // delete old user meta keys
271
+ $this->delete_user_meta($user, 's2_subscribed');
272
  foreach ( $categories as $cat ) {
273
+ $this->delete_user_meta($user, 's2_cat' . $cat);
274
  }
275
  }
276
  }
919
  $message = $this->email . " " . __('subscribed to email notifications!', 'subscribe2');
920
  $recipients = $wpdb->get_col("SELECT DISTINCT(user_email) FROM $wpdb->users INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id WHERE $wpdb->usermeta.meta_key='" . $wpdb->prefix . "user_level' AND $wpdb->usermeta.meta_value='10'");
921
  if ( empty($recipients) ) {
922
+ global $wp_version;
923
+ if ( version_compare($wp_version, '3.1', '<') ) {
924
+ // WordPress version is less than 3.1, use WP_User_Search class
925
+ if ( !class_exists(WP_User_Search) ) {
926
+ require(ABSPATH . 'wp-admin/includes/user.php');
927
+ $wp_user_query = new WP_User_Search( '', '', 'administrator');
928
+ $admins_string = implode(', ', $wp_user_query->get_results());
929
+ $sql = "SELECT ID, display_name FROM $wpdb->users WHERE ID IN (" . $admins_string . ")";
930
+ $recipients = $wpdb->get_results($sql);
931
+ }
932
+ } else {
933
+ // WordPress version is 3.1 or greater, use WP_User_Query class
934
+ $role = array('fields' => array('user_email'), 'role' => 'administrator');
935
+ $wp_user_query = get_users( $role );
936
+ foreach ($wp_user_query as $user) {
937
+ $recipients[] = $user->user_email;
938
+ }
939
  }
 
 
 
 
940
  }
941
  $headers = $this->headers();
942
  foreach ( $recipients as $recipient ) {
957
  $message = $this->email . " " . __('unsubscribed from email notifications!', 'subscribe2');
958
  $recipients = $wpdb->get_col("SELECT DISTINCT(user_email) FROM $wpdb->users INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id WHERE $wpdb->usermeta.meta_key='" . $wpdb->prefix . "user_level' AND $wpdb->usermeta.meta_value='10'");
959
  if ( empty($recipients) ) {
960
+ global $wp_version;
961
+ if ( version_compare($wp_version, '3.1', '<') ) {
962
+ // WordPress version is less than 3.1, use WP_User_Search class
963
+ if ( !class_exists(WP_User_Search) ) {
964
+ require(ABSPATH . 'wp-admin/includes/user.php');
965
+ $wp_user_query = new WP_User_Search( '', '', 'administrator');
966
+ $admins_string = implode(', ', $wp_user_query->get_results());
967
+ $sql = "SELECT ID, display_name FROM $wpdb->users WHERE ID IN (" . $admins_string . ")";
968
+ $recipients = $wpdb->get_results($sql);
969
+ }
970
+ } else {
971
+ // WordPress version is 3.1 or greater, use WP_User_Query class
972
+ $role = array('fields' => array('user_email'), 'role' => 'administrator');
973
+ $wp_user_query = get_users( $role );
974
+ foreach ($wp_user_query as $user) {
975
+ $recipients[] = $user->user_email;
976
+ }
977
  }
 
 
 
 
978
  }
979
  $headers = $this->headers();
980
  foreach ( $recipients as $recipient ) {
1214
  if ( false !== $this->is_public($this->sanitize_email($user->user_email)) ) {
1215
  // delete this user from the public table, and subscribe them to all the categories
1216
  $this->delete($user->user_email);
1217
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), $cats);
1218
  foreach ( explode(',', $cats) as $cat ) {
1219
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $cat, "$cat");
1220
  }
1221
+ $this->update_user_meta($user_ID, 's2_format', 'excerpt');
1222
+ $this->update_user_meta($user_ID, 's2_autosub', $this->subscribe2_options['autosub_def']);
1223
  } else {
1224
  // create post format entries for all users
1225
+ $check_format = $this->get_user_meta($user_ID, 's2_format');
1226
  if ( empty($check_format) ) {
1227
  // ensure existing subscription options are not overwritten on upgrade
1228
  if ( in_array($this->subscribe2_options['autoformat'], array('html', 'html_excerpt', 'post', 'excerpt')) ) {
1229
+ $this->update_user_meta($user_ID, 's2_format', $this->subscribe2_options['autoformat']);
1230
  } else {
1231
+ $this->update_user_meta($user_ID, 's2_format', 'excerpt');
1232
  }
1233
+ $this->update_user_meta($user_ID, 's2_autosub', $this->subscribe2_options['autosub_def']);
1234
  // if the are no existing subscriptions, create them if, by default if autosub is on
1235
  if ( 'yes' == $this->subscribe2_options['autosub'] || ( 'wpreg' == $this->subscribe2_options['autosub'] && 'on' == $_POST['subscribe'] ) ) {
1236
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), $cats);
1237
  foreach ( explode(',', $cats) as $cat ) {
1238
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $cat, "$cat");
1239
  }
1240
  }
1241
  } else {
1242
  // if user is already registered update format remove 's2_excerpt' field and update 's2_format'
1243
  if ( 'html' == $check_format ) {
1244
+ $this->delete_user_meta($user_ID, 's2_excerpt');
1245
  } elseif ( 'text' == $check_format ) {
1246
+ $this->update_user_meta($user_ID, 's2_format', $this->get_user_meta($user_ID, 's2_excerpt'), true);
1247
+ $this->delete_user_meta($user_ID, 's2_excerpt');
1248
  }
1249
  }
1250
+ $subscribed = $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'));
1251
  if ( strstr($subscribed, '-1') ) {
1252
  // make sure we remove '-1' from any settings
1253
  $old_cats = explode(',', $subscribed);
1254
  $pos = array_search('-1', $old_cats);
1255
  unset($old_cats[$pos]);
1256
  $cats = implode(',', $old_cats);
1257
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), $cats);
1258
  }
1259
  }
1260
  return $user_ID;
1274
  $user_IDs = $wpdb->get_col($sql);
1275
 
1276
  foreach ( $user_IDs as $user_ID ) {
1277
+ $old_cats = $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'));
1278
  if ( !empty($old_cats) ) {
1279
  $old_cats = explode(',', $old_cats);
1280
  $newcats = array_unique(array_merge($cats, $old_cats));
1284
  if ( !empty($newcats) ) {
1285
  // add subscription to these cat IDs
1286
  foreach ( $newcats as $id ) {
1287
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $id, "$id");
1288
  }
1289
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $newcats));
1290
  }
1291
  unset($newcats);
1292
  }
1306
  $user_IDs = $wpdb->get_col($sql);
1307
 
1308
  foreach ( $user_IDs as $user_ID ) {
1309
+ $old_cats = explode(',', $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed')));
1310
  $remain = array_diff($old_cats, $cats);
1311
  if ( !empty($remain) ) {
1312
  // remove subscription to these cat IDs and update s2_subscribed
1313
  foreach ( $cats as $id ) {
1314
+ $this->delete_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $id);
1315
  }
1316
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $remain));
1317
  } else {
1318
  // remove subscription to these cat IDs and update s2_subscribed to ''
1319
  foreach ( $cats as $id ) {
1320
+ $this->delete_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $id);
1321
  }
1322
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), '');
1323
  }
1324
  unset($remain);
1325
  }
1383
  foreach ( $all_cats as $cat => $term ) {
1384
  $term_id = $term->term_id;
1385
  $cats[] = $term_id;
1386
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $term_id, $term_id);
1387
  }
1388
  if ( empty($cats) ) {
1389
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), '');
1390
  } else {
1391
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $cats));
1392
  }
1393
 
1394
  // don't restore_current_blog(); -> redirect to new subscription page
1403
  $user_ID = get_current_user_id();
1404
 
1405
  // delete subscription to all categories on that blog
1406
+ $cats = $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'));
1407
  $cats = explode(',', $cats);
1408
  if ( !is_array($cats) ) {
1409
  $cats = array($cats);
1410
  }
1411
 
1412
  foreach ( $cats as $id ) {
1413
+ $this->delete_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $id);
1414
  }
1415
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), '');
1416
 
1417
  // add an action hook for external manipulation of blog and user data
1418
  do_action_ref_array('subscribe2_wpmu_unsubscribe', array($user_ID, $blog_id));
1447
  }
1448
  } // end wpmu_subscribe()
1449
 
1450
+ /**
1451
+ Filter the usermeta function to allow backwards compatibility to WordPress 2.8 and 2.9
1452
+ WordPress 3.0 replaced all *_usermeta() functions with *_user_meta counterparts
1453
+ */
1454
+ function get_user_meta($user_ID, $keyname) {
1455
+ global $wp_version;
1456
+ if ( version_compare($wp_version, '3.0', '<') ) {
1457
+ // WordPress version is less than 3.0, use get_usermeta
1458
+ $user_meta = get_usermeta($user_ID, $keyname);
1459
+ } else {
1460
+ $user_meta = get_user_meta($user_ID, $keyname, true);
1461
+ }
1462
+
1463
+ return $user_meta;
1464
+ } // end get_user_meta()
1465
+
1466
+ function update_user_meta($user_ID, $keyname, $value) {
1467
+ global $wp_version;
1468
+ if ( version_compare($wp_version, '3.0', '<') ) {
1469
+ // WordPress version is less than 3.0, use update_usermeta
1470
+ $user_meta = update_usermeta($user_ID, $keyname, $value);
1471
+ } else {
1472
+ $user_meta = update_user_meta($user_ID, $keyname, $value);
1473
+ }
1474
+
1475
+ return $user_meta;
1476
+ } // end update_user_meta()
1477
+
1478
+ function delete_user_meta($user_ID, $keyname) {
1479
+ global $wp_version;
1480
+ if ( version_compare($wp_version, '3.0', '<') ) {
1481
+ // WordPress version is less than 3.0, use delete_usermeta
1482
+ $user_meta = delete_usermeta($user_ID, $keyname);
1483
+ } else {
1484
+ $user_meta = delete_user_meta($user_ID, $keyname);
1485
+ }
1486
+
1487
+ return $user_meta;
1488
+ } // end delete_user_meta()
1489
+
1490
  /**
1491
  Autosubscribe registered users to newly created categories
1492
  if registered user has selected this option
1493
  */
1494
  function new_category($new_category='') {
1495
  if ( 'no' == $this->subscribe2_options['show_autosub'] ) { return; }
1496
+ // don't subscribe to individual new categories if we are doing digest emails
1497
+ if ( $this->subscribe2_options['email_freq'] != 'never' ) { return; }
1498
  global $wpdb;
1499
 
1500
  if ( 'yes' == $this->subscribe2_options['show_autosub'] ) {
1503
  if ( '' == $user_IDs ) { return; }
1504
 
1505
  foreach ( $user_IDs as $user_ID ) {
1506
+ $old_cats = explode(',', $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed')));
1507
  if ( !is_array($old_cats) ) {
1508
  $old_cats = array($old_cats);
1509
  }
1510
  // add subscription to these cat IDs
1511
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $new_category, "$new_category");
1512
  $newcats = array_merge($old_cats, (array)$new_category);
1513
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $newcats));
1514
  }
1515
  } elseif ( 'exclude' == $this->subscribe2_options['show_autosub'] ) {
1516
  $excluded_cats = explode(',', $this->subscribe2_options['exclude']);
1517
  $excluded_cats[] = $new_category;
1518
  $this->subscribe2_options['exclude'] = implode(',', $excluded_cats);
1519
+ $this->update_option('subscribe2_options', $this->subscribe2_options);
1520
  }
1521
  } // end new_category()
1522
 
1528
  if ( '' == $user_IDs ) { return; }
1529
 
1530
  foreach ( $user_IDs as $user_ID ) {
1531
+ $old_cats = explode(',', $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed')));
1532
  if ( !is_array($old_cats) ) {
1533
  $old_cats = array($old_cats);
1534
  }
1535
  // add subscription to these cat IDs
1536
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $deleted_category, '');
1537
  $remain = array_diff($old_cats, (array)$deleted_category);
1538
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $remain));
1539
  }
1540
  }
1541
 
1562
 
1563
  // handle issues from WordPress core where user_level is not set or set low
1564
  if ( empty($admin) ) {
1565
+ global $wp_version;
1566
+ if ( version_compare($wp_version, '3.1', '<') ) {
1567
+ // WordPress version is less than 3.1, use WP_User_Search class
1568
+ if ( !class_exists(WP_User_Search) ) {
1569
+ require(ABSPATH . 'wp-admin/includes/user.php');
1570
+ $wp_user_query = new WP_User_Search( '', '', 'administrator');
1571
+ $admins_string = implode(', ', $wp_user_query->get_results());
1572
+ $sql = "SELECT ID, display_name FROM $wpdb->users WHERE ID IN (" . $admins_string . ")";
1573
+ $admin = $wpdb->get_results($sql);
1574
+ }
1575
+ } else {
1576
+ // WordPress version is 3.1 or greater, use WP_User_Query class
1577
+ $role = array('role' => 'administrator');
1578
+ $wp_user_query = get_users( $role );
1579
+ foreach ($wp_user_query as $user) {
1580
+ $admin[] = $user;
1581
+ }
1582
  }
1583
+ $admin = $admin[0];
 
 
1584
  }
1585
 
1586
  return $admin;
2453
  check_admin_referer('subscribe2-user_subscribers' . $s2nonce);
2454
 
2455
  echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Subscription preferences updated.', 'subscribe2') . "</strong></p></div>\n";
2456
+ $this->update_user_meta($user_ID, 's2_format', $_POST['s2_format']);
2457
+ $this->update_user_meta($user_ID, 's2_autosub', $_POST['new_category']);
2458
 
2459
  $cats = $_POST['category'];
2460
 
2461
  if ( empty($cats) || $cats == '-1' ) {
2462
+ $oldcats = explode(',', $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed')));
2463
  if ( $oldcats ) {
2464
  foreach ( $oldcats as $cat ) {
2465
+ $this->delete_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $cat);
2466
  }
2467
  }
2468
+ $this->delete_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'));
2469
  } elseif ( $cats == 'digest' ) {
2470
  $all_cats = get_categories(array('hide_empty' => false));
2471
  foreach ( $all_cats as $cat ) {
2472
  ('' == $catids) ? $catids = "$cat->term_id" : $catids .= ",$cat->term_id";
2473
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $cat->term_id, $cat->term_id);
2474
  }
2475
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), $catids);
2476
  } else {
2477
  if ( !is_array($cats) ) {
2478
  $cats = array($_POST['category']);
2479
  }
2480
+ $old_cats = explode(',', $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed')));
2481
  $remove = array_diff($old_cats, $cats);
2482
  $new = array_diff($cats, $old_cats);
2483
  if ( !empty($remove) ) {
2484
  // remove subscription to these cat IDs
2485
  foreach ( $remove as $id ) {
2486
+ $this->delete_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $id);
2487
  }
2488
  }
2489
  if ( !empty($new) ) {
2490
  // add subscription to these cat IDs
2491
  foreach ( $new as $id ) {
2492
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $id, $id);
2493
  }
2494
  }
2495
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $cats));
2496
  }
2497
  }
2498
 
2513
  if ( $this->subscribe2_options['email_freq'] == 'never' ) {
2514
  echo __('Receive email as', 'subscribe2') . ": &nbsp;&nbsp;";
2515
  echo "<label><input type=\"radio\" name=\"s2_format\" value=\"html\"";
2516
+ if ( 'html' == $this->get_user_meta($user_ID, 's2_format') ) {
2517
  echo "checked=\"checked\" ";
2518
  }
2519
  echo "/> " . __('HTML - Full', 'subscribe2') ."</label>&nbsp;&nbsp;";
2520
  echo "<label><input type=\"radio\" name=\"s2_format\" value=\"html_excerpt\" ";
2521
+ if ( 'html_excerpt' == $this->get_user_meta($user_ID, 's2_format') ) {
2522
  echo "checked=\"checked\" ";
2523
  }
2524
  echo "/> " . __('HTML - Excerpt', 'subscribe2') . "</label>&nbsp;&nbsp;";
2525
  echo "<label><input type=\"radio\" name=\"s2_format\" value=\"post\" ";
2526
+ if ( 'post' == $this->get_user_meta($user_ID, 's2_format') ) {
2527
  echo "checked=\"checked\" ";
2528
  }
2529
  echo "/> " . __('Plain Text - Full', 'subscribe2') . "</label>&nbsp;&nbsp;";
2530
  echo "<label><input type=\"radio\" name=\"s2_format\" value=\"excerpt\" ";
2531
+ if ( 'excerpt' == $this->get_user_meta($user_ID, 's2_format') ) {
2532
  echo "checked=\"checked\" ";
2533
  }
2534
  echo "/> " . __('Plain Text - Excerpt', 'subscribe2') . "</label><br /><br />\r\n";
2536
  if ( $this->subscribe2_options['show_autosub'] == 'yes' ) {
2537
  echo __('Automatically subscribe me to newly created categories', 'subscribe2') . ': &nbsp;&nbsp;';
2538
  echo "<label><input type=\"radio\" name=\"new_category\" value=\"yes\" ";
2539
+ if ( 'yes' == $this->get_user_meta($user_ID, 's2_autosub') ) {
2540
  echo "checked=\"checked\" ";
2541
  }
2542
  echo "/> " . __('Yes', 'subscribe2') . "</label>&nbsp;&nbsp;";
2543
  echo "<label><input type=\"radio\" name=\"new_category\" value=\"no\" ";
2544
+ if ( 'no' == $this->get_user_meta($user_ID, 's2_autosub') ) {
2545
  echo "checked=\"checked\" ";
2546
  }
2547
  echo "/> " . __('No', 'subscribe2') . "</label>";
2551
  // subscribed categories
2552
  if ( $this->s2_mu ) {
2553
  global $blog_id;
2554
+ $subscribed = $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'));
2555
  // if we are subscribed to the current blog display an "unsubscribe" link
2556
  if ( !empty($subscribed) ) {
2557
  $unsubscribe_link = get_option('home') . "/wp-admin/?s2mu_unsubscribe=". $blog_id;
2565
  } else {
2566
  echo "<h2>" . __('Subscribed Categories', 'subscribe2') . "</h2>\r\n";
2567
  }
2568
+ $this->display_category_form(explode(',', $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'))), $this->subscribe2_options['reg_override']);
2569
  } else {
2570
  // we're doing daily digests, so just show
2571
  // subscribe / unnsubscribe
2572
  echo __('Receive periodic summaries of new posts?', 'subscribe2') . ': &nbsp;&nbsp;';
2573
  echo "<label>";
2574
  echo "<input type=\"radio\" name=\"category\" value=\"digest\" ";
2575
+ if ( $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed')) ) {
2576
  echo "checked=\"checked\" ";
2577
  }
2578
  echo "/> " . __('Yes', 'subscribe2') . "</label> <label><input type=\"radio\" name=\"category\" value=\"-1\" ";
2579
+ if ( !$this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed')) ) {
2580
  echo "checked=\"checked\" ";
2581
  }
2582
  echo "/> " . __('No', 'subscribe2');
2589
 
2590
  // list of subscribed blogs on wordpress mu
2591
  if ( $this->s2_mu && !isset($_GET['email']) ) {
2592
+ global $blog_id, $current_user;
2593
  $s2blog_id = $blog_id;
2594
+ get_currentuserinfo();
2595
  $blogs = $this->get_mu_blog_list();
2596
 
2597
  $blogs_subscribed = array();
2611
  }
2612
 
2613
  // check if we're subscribed to the blog
2614
+ $subscribed = $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'));
2615
 
2616
  $blogname = get_option('blogname');
2617
  if ( strlen($blogname) > 30 ) {
2642
  echo "<span class=\"buttons\">" . __('Viewing Settings Now', 'subscribe2') . "</span>\r\n";
2643
  } else {
2644
  echo "<span class=\"buttons\">";
2645
+ if ( is_user_member_of_blog($current_user->id, $blog['blog_id']) ) {
2646
  echo "<a href=\"". $blog['subscribe_page'] . "\">" . __('View Settings', 'subscribe2') . "</a>\r\n";
2647
  }
2648
  echo "<a href=\"" . $blog['blogurl'] . "/wp-admin/?s2mu_unsubscribe=" . $blog['blog_id'] . "\">" . __('Unsubscribe', 'subscribe2') . "</a></span>\r\n";
2663
  echo "<span class=\"buttons\">" . __('Viewing Settings Now', 'subscribe2') . "</span>\r\n";
2664
  } else {
2665
  echo "<span class=\"buttons\">";
2666
+ if ( is_user_member_of_blog($current_user->id, $blog['blog_id']) ) {
2667
  echo "<a href=\"". $blog['subscribe_page'] . "\">" . __('View Settings', 'subscribe2') . "</a>\r\n";
2668
  }
2669
  echo "<a href=\"" . $blog['blogurl'] . "/wp-admin/?s2mu_subscribe=" . $blog['blog_id'] . "\">" . __('Subscribe', 'subscribe2') . "</a></span>\r\n";
2903
 
2904
  // handle issues from WordPress core where user_level is not set or set low
2905
  if ( empty($admins) ) {
2906
+ global $wp_version;
2907
+ if ( version_compare($wp_version, '3.1', '<') ) {
2908
+ // WordPress version is less than 3.1, use WP_User_Search class
2909
+ if ( !class_exists(WP_User_Search) ) {
2910
+ require(ABSPATH . 'wp-admin/includes/user.php');
2911
+ $wp_user_query = new WP_User_Search( '', '', 'administrator');
2912
+ $admins_string = implode(', ', $wp_user_query->get_results());
2913
+ $sql = "SELECT ID, display_name FROM $wpdb->users WHERE ID IN (" . $admins_string . ")";
2914
+ $admins = $wpdb->get_results($sql);
2915
+ }
2916
+ } else {
2917
+ // WordPress version is 3.1 or greater, use WP_User_Query class
2918
+ $args = array('fields' => array('ID', 'display_name'), 'role' => 'administrator');
2919
+ $wp_user_query = get_users( $args );
2920
+ foreach ($wp_user_query as $user) {
2921
+ $admins[] = $user;
2922
+ }
2923
  }
 
 
 
 
2924
  }
2925
 
2926
  if ( $inc_author ) {
3054
  $user_ID = $this->get_user_id( $subscriber );
3055
  $user_info = get_userdata($user_ID);
3056
 
3057
+ $cats = explode(',', $this->get_user_meta($user_info->ID, $this->get_usermeta_keyname('s2_subscribed')));
3058
  $subscribed_cats = '';
3059
  foreach ( $cat_ids as $cat ) {
3060
  (in_array($cat, $cats)) ? $subscribed_cats .= ",Yes" : $subscribed_cats .= ", No";
subscribe2.pot CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2011-02-22 19:37+0000\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,876 +17,883 @@ msgstr ""
17
  "Content-Type: text/plain; charset=CHARSET\n"
18
  "Content-Transfer-Encoding: 8bit\n"
19
 
20
- #: subscribe2.php:64
 
 
 
 
 
 
 
21
  msgid "To manage your subscription options please"
22
  msgstr ""
23
 
24
- #: subscribe2.php:64
25
  msgid "login"
26
  msgstr ""
27
 
28
- #: subscribe2.php:66 subscribe2.php:75
29
  msgid "You may manage your subscription options from your"
30
  msgstr ""
31
 
32
- #: subscribe2.php:66 subscribe2.php:75
33
  msgid "profile"
34
  msgstr ""
35
 
36
- #: subscribe2.php:71 subscribe2.php:80 subscribe2.php:1721 subscribe2.php:1818
37
- #: subscribe2.php:2586 subscribe2.php:3123 subscribe2.php:3126
38
  #: include/widget.php:96
39
  msgid "Subscribe"
40
  msgstr ""
41
 
42
- #: subscribe2.php:71 subscribe2.php:80
43
  msgid "to email notifications when this blog posts new content"
44
  msgstr ""
45
 
46
- #: subscribe2.php:84
47
  msgid "A confirmation message is on its way!"
48
  msgstr ""
49
 
50
- #: subscribe2.php:86
51
  msgid "That email address is already subscribed."
52
  msgstr ""
53
 
54
- #: subscribe2.php:88
55
  msgid "That email address is not subscribed."
56
  msgstr ""
57
 
58
- #: subscribe2.php:90
59
  msgid "Sorry, but that does not look like an email address to me."
60
  msgstr ""
61
 
62
- #: subscribe2.php:92
63
  msgid ""
64
  "Sorry, email addresses at that domain are currently barred due to spam, "
65
  "please use an alternative email address."
66
  msgstr ""
67
 
68
- #: subscribe2.php:94
69
  msgid ""
70
  "Sorry, there seems to be an error on the server. Please try again later."
71
  msgstr ""
72
 
73
- #: subscribe2.php:96
74
  msgid "You must to create a WordPress page for this plugin to work correctly."
75
  msgstr ""
76
 
77
- #: subscribe2.php:98
78
  msgid "Message sent!"
79
  msgstr ""
80
 
81
- #: subscribe2.php:100
82
  msgid ""
83
  "Message failed! Check your settings and check with your hosting provider"
84
  msgstr ""
85
 
86
- #: subscribe2.php:103
87
  msgid "No such email address is registered."
88
  msgstr ""
89
 
90
- #: subscribe2.php:105
91
  msgid "You have successfully subscribed!"
92
  msgstr ""
93
 
94
- #: subscribe2.php:107
95
  msgid "You have successfully unsubscribed."
96
  msgstr ""
97
 
98
- #: subscribe2.php:109
99
  msgid "subscribe"
100
  msgstr ""
101
 
102
- #: subscribe2.php:111
103
  msgid "unsubscribe"
104
  msgstr ""
105
 
106
- #: subscribe2.php:114
107
  msgid "Options saved!"
108
  msgstr ""
109
 
110
- #: subscribe2.php:115
111
  msgid "Options reset!"
112
  msgstr ""
113
 
114
- #: subscribe2.php:123
115
  msgid "Subscribers"
116
  msgstr ""
117
 
118
- #: subscribe2.php:126
119
  msgid "Subscribe2 Options"
120
  msgstr ""
121
 
122
- #: subscribe2.php:126 subscribe2.php:3349 include/widget.php:17
123
  msgid "Subscribe2"
124
  msgstr ""
125
 
126
- #: subscribe2.php:131
127
  msgid "Your Subscriptions"
128
  msgstr ""
129
 
130
- #: subscribe2.php:135
131
  msgid "Mail Subscribers"
132
  msgstr ""
133
 
134
- #: subscribe2.php:638
135
  msgid "Plain Text Excerpt Preview"
136
  msgstr ""
137
 
138
- #: subscribe2.php:640
139
  msgid "Plain Text Full Preview"
140
  msgstr ""
141
 
142
- #: subscribe2.php:642
143
  msgid "HTML Excerpt Preview"
144
  msgstr ""
145
 
146
- #: subscribe2.php:644
147
  msgid "HTML Full Preview"
148
  msgstr ""
149
 
150
- #: subscribe2.php:909
151
  msgid "New Subscription"
152
  msgstr ""
153
 
154
- #: subscribe2.php:911
155
  msgid "subscribed to email notifications!"
156
  msgstr ""
157
 
158
- #: subscribe2.php:937
159
  msgid "New Unsubscription"
160
  msgstr ""
161
 
162
- #: subscribe2.php:939
163
  msgid "unsubscribed from email notifications!"
164
  msgstr ""
165
 
166
- #: subscribe2.php:1532
167
  msgid "Address(es) subscribed!"
168
  msgstr ""
169
 
170
- #: subscribe2.php:1539
171
  msgid "Address(es) unsubscribed!"
172
  msgstr ""
173
 
174
- #: subscribe2.php:1543
175
  msgid "Some emails were not processed, the following were already subscribed"
176
  msgstr ""
177
 
178
- #: subscribe2.php:1546
179
  msgid "Some emails were not processed, the following were not in the database"
180
  msgstr ""
181
 
182
- #: subscribe2.php:1555
183
  msgid "Address(es) deleted!"
184
  msgstr ""
185
 
186
- #: subscribe2.php:1561 subscribe2.php:1567
187
  msgid "Status changed!"
188
  msgstr ""
189
 
190
- #: subscribe2.php:1581
191
  msgid "Reminder Email(s) Sent!"
192
  msgstr ""
193
 
194
- #: subscribe2.php:1584
195
  msgid "Registered Users Subscribed!"
196
  msgstr ""
197
 
198
- #: subscribe2.php:1587
199
  msgid "Registered Users Unsubscribed!"
200
  msgstr ""
201
 
202
- #: subscribe2.php:1590
203
  msgid "Format updated for Selected Registered Users!"
204
  msgstr ""
205
 
206
- #: subscribe2.php:1685
207
  msgid "Previous Page"
208
  msgstr ""
209
 
210
- #: subscribe2.php:1705
211
  msgid "Next Page"
212
  msgstr ""
213
 
214
- #: subscribe2.php:1712
215
  msgid "Manage Subscribers"
216
  msgstr ""
217
 
218
- #: subscribe2.php:1717
219
  msgid "Add/Remove Subscribers"
220
  msgstr ""
221
 
222
- #: subscribe2.php:1718
223
  msgid "Enter addresses, one per line or comma-separated"
224
  msgstr ""
225
 
226
- #: subscribe2.php:1722 subscribe2.php:1819 subscribe2.php:2565
227
- #: subscribe2.php:3121 subscribe2.php:3126 include/widget.php:96
228
  msgid "Unsubscribe"
229
  msgstr ""
230
 
231
- #: subscribe2.php:1725
232
  msgid "Current Subscribers"
233
  msgstr ""
234
 
235
- #: subscribe2.php:1727
236
  msgid "Filter"
237
  msgstr ""
238
 
239
- #: subscribe2.php:1732
240
  msgid "Search Subscribers"
241
  msgstr ""
242
 
243
- #: subscribe2.php:1735
244
  msgid "Send Reminder Email"
245
  msgstr ""
246
 
247
- #: subscribe2.php:1742
248
  msgid "Save Emails to CSV File"
249
  msgstr ""
250
 
251
- #: subscribe2.php:1748 subscribe2.php:1806
252
  msgid "Process"
253
  msgstr ""
254
 
255
- #: subscribe2.php:1761 subscribe2.php:1783
256
  msgid "Confirm this email address"
257
  msgstr ""
258
 
259
- #: subscribe2.php:1763 subscribe2.php:1776
260
  msgid "Unconfirm this email address"
261
  msgstr ""
262
 
263
- #: subscribe2.php:1765 subscribe2.php:1778 subscribe2.php:1786
264
  msgid "Delete this email address"
265
  msgstr ""
266
 
267
- #: subscribe2.php:1769 subscribe2.php:2706
268
  msgid "Select / Unselect All"
269
  msgstr ""
270
 
271
- #: subscribe2.php:1793
272
  msgid "edit"
273
  msgstr ""
274
 
275
- #: subscribe2.php:1800
276
  msgid "No matching subscribers found"
277
  msgstr ""
278
 
279
- #: subscribe2.php:1802
280
  msgid "NONE"
281
  msgstr ""
282
 
283
- #: subscribe2.php:1814
284
  msgid "Categories"
285
  msgstr ""
286
 
287
- #: subscribe2.php:1815
288
  msgid ""
289
  "Preferences for Registered Users selected in the filter above can be changed "
290
  "using this section."
291
  msgstr ""
292
 
293
- #: subscribe2.php:1816
294
  msgid "Consider User Privacy as changes cannot be undone"
295
  msgstr ""
296
 
297
- #: subscribe2.php:1817
298
  msgid "Action to perform"
299
  msgstr ""
300
 
301
- #: subscribe2.php:1822
302
  msgid "Bulk Update Categories"
303
  msgstr ""
304
 
305
- #: subscribe2.php:1824
306
  msgid "Send email as"
307
  msgstr ""
308
 
309
- #: subscribe2.php:1825 subscribe2.php:2288 subscribe2.php:2437
310
  msgid "HTML - Full"
311
  msgstr ""
312
 
313
- #: subscribe2.php:1826 subscribe2.php:2293 subscribe2.php:2442
314
  msgid "HTML - Excerpt"
315
  msgstr ""
316
 
317
- #: subscribe2.php:1827 subscribe2.php:2298 subscribe2.php:2447
318
  msgid "Plain Text - Full"
319
  msgstr ""
320
 
321
- #: subscribe2.php:1828 subscribe2.php:2303 subscribe2.php:2452
322
  msgid "Plain Text - Excerpt"
323
  msgstr ""
324
 
325
- #: subscribe2.php:1829
326
  msgid "Bulk Update Format"
327
  msgstr ""
328
 
329
- #: subscribe2.php:1866
330
  msgid "Preview message(s) sent to logged in user"
331
  msgstr ""
332
 
333
- #: subscribe2.php:1870
334
  msgid ""
335
  "The Digest Notification email contained no post information. No email was "
336
  "sent"
337
  msgstr ""
338
 
339
- #: subscribe2.php:1872
340
  msgid "Attempt made to resend the Digest Notification email"
341
  msgstr ""
342
 
343
- #: subscribe2.php:2020
344
  msgid "Subscribe2 Settings"
345
  msgstr ""
346
 
347
- #: subscribe2.php:2021
348
  msgid "Plugin Blog"
349
  msgstr ""
350
 
351
- #: subscribe2.php:2022
352
  msgid "Make a donation via PayPal"
353
  msgstr ""
354
 
355
- #: subscribe2.php:2033 subscribe2.php:2420
356
  msgid "Notification Settings"
357
  msgstr ""
358
 
359
- #: subscribe2.php:2034
360
  msgid "Restrict the number of recipients per email to (0 for unlimited)"
361
  msgstr ""
362
 
363
- #: subscribe2.php:2036 subscribe2.php:2200
364
  msgid "Edit"
365
  msgstr ""
366
 
367
- #: subscribe2.php:2039 subscribe2.php:2203
368
  msgid "Update"
369
  msgstr ""
370
 
371
- #: subscribe2.php:2040 subscribe2.php:2204
372
  msgid "Revert"
373
  msgstr ""
374
 
375
- #: subscribe2.php:2042
376
  msgid "Send Admins notifications for new"
377
  msgstr ""
378
 
379
- #: subscribe2.php:2047
380
  msgid "Subscriptions"
381
  msgstr ""
382
 
383
- #: subscribe2.php:2052
384
  msgid "Unsubscriptions"
385
  msgstr ""
386
 
387
- #: subscribe2.php:2057
388
  msgid "Both"
389
  msgstr ""
390
 
391
- #: subscribe2.php:2062
392
  msgid "Neither"
393
  msgstr ""
394
 
395
- #: subscribe2.php:2064
396
  msgid "Include theme CSS stylesheet in HTML notifications"
397
  msgstr ""
398
 
399
- #: subscribe2.php:2069 subscribe2.php:2081 subscribe2.php:2092
400
- #: subscribe2.php:2103 subscribe2.php:2266 subscribe2.php:2277
401
- #: subscribe2.php:2309 subscribe2.php:2325 subscribe2.php:2460
402
- #: subscribe2.php:2496
403
  msgid "Yes"
404
  msgstr ""
405
 
406
- #: subscribe2.php:2074 subscribe2.php:2086 subscribe2.php:2097
407
- #: subscribe2.php:2108 subscribe2.php:2260 subscribe2.php:2271
408
- #: subscribe2.php:2282 subscribe2.php:2314 subscribe2.php:2330
409
- #: subscribe2.php:2465 subscribe2.php:2500
410
  msgid "No"
411
  msgstr ""
412
 
413
- #: subscribe2.php:2076
414
  msgid "Send Emails for Pages"
415
  msgstr ""
416
 
417
- #: subscribe2.php:2087
418
  msgid "Send Emails for Password Protected Posts"
419
  msgstr ""
420
 
421
- #: subscribe2.php:2098
422
  msgid "Send Emails for Private Posts"
423
  msgstr ""
424
 
425
- #: subscribe2.php:2109
426
  msgid "Send Email From"
427
  msgstr ""
428
 
429
- #: subscribe2.php:2114
430
  msgid "Send Emails"
431
  msgstr ""
432
 
433
- #: subscribe2.php:2116
434
  msgid "For digest notifications, date order for posts is"
435
  msgstr ""
436
 
437
- #: subscribe2.php:2121
438
  msgid "Descending"
439
  msgstr ""
440
 
441
- #: subscribe2.php:2126
442
  msgid "Ascending"
443
  msgstr ""
444
 
445
- #: subscribe2.php:2130
446
  msgid "Email Templates"
447
  msgstr ""
448
 
449
- #: subscribe2.php:2134
450
  msgid "New Post email (must not be empty)"
451
  msgstr ""
452
 
453
- #: subscribe2.php:2135 subscribe2.php:2165 subscribe2.php:2170
454
  msgid "Subject Line"
455
  msgstr ""
456
 
457
- #: subscribe2.php:2140
458
  msgid "Send Email Preview"
459
  msgstr ""
460
 
461
- #: subscribe2.php:2141
462
  msgid "Message substitions"
463
  msgstr ""
464
 
465
- #: subscribe2.php:2143
466
  msgid ""
467
  "IF THE FOLLOWING KEYWORDS ARE ALSO IN YOUR POST THEY WILL BE SUBSTITUTED"
468
  msgstr ""
469
 
470
- #: subscribe2.php:2146
471
  msgid "the post's title<br />(<i>for per-post emails only</i>)"
472
  msgstr ""
473
 
474
- #: subscribe2.php:2147
475
  msgid ""
476
  "the excerpt or the entire post<br />(<i>based on the subscriber's "
477
  "preferences</i>)"
478
  msgstr ""
479
 
480
- #: subscribe2.php:2148
481
  msgid ""
482
  "the excerpt of the post and the time it was posted<br />(<i>for digest "
483
  "emails only</i>)"
484
  msgstr ""
485
 
486
- #: subscribe2.php:2149
487
  msgid "a list of post titles<br />(<i>for digest emails only</i>)"
488
  msgstr ""
489
 
490
- #: subscribe2.php:2150
491
  msgid ""
492
  "a list of post titles followed by links to the atricles<br />(<i>for digest "
493
  "emails only</i>)"
494
  msgstr ""
495
 
496
- #: subscribe2.php:2151
497
  msgid "the post's permalink<br />(<i>for per-post emails only</i>)"
498
  msgstr ""
499
 
500
- #: subscribe2.php:2152
501
  msgid ""
502
  "the post's permalink after conversion by TinyURL<br />(<i>for per-post "
503
  "emails only</i>)"
504
  msgstr ""
505
 
506
- #: subscribe2.php:2153
507
  msgid "the date the post was made<br />(<i>for per-post emails only</i>)"
508
  msgstr ""
509
 
510
- #: subscribe2.php:2154
511
  msgid "the time the post was made<br />(<i>for per-post emails only</i>)"
512
  msgstr ""
513
 
514
- #: subscribe2.php:2155
515
  msgid "the admin or post author's name"
516
  msgstr ""
517
 
518
- #: subscribe2.php:2156
519
  msgid "the admin or post author's email"
520
  msgstr ""
521
 
522
- #: subscribe2.php:2157
523
  msgid "the post author's name"
524
  msgstr ""
525
 
526
- #: subscribe2.php:2158
527
  msgid ""
528
  "the generated link to confirm a request<br />(<i>only used in the "
529
  "confirmation email template</i>)"
530
  msgstr ""
531
 
532
- #: subscribe2.php:2159
533
  msgid ""
534
  "Action performed by LINK in confirmation email<br />(<i>only used in the "
535
  "confirmation email template</i>)"
536
  msgstr ""
537
 
538
- #: subscribe2.php:2160
539
  msgid "the post's assigned categories"
540
  msgstr ""
541
 
542
- #: subscribe2.php:2161
543
  msgid "the post's assigned Tags"
544
  msgstr ""
545
 
546
- #: subscribe2.php:2162
547
  msgid ""
548
  "the number of posts included in the digest email<br />(<i>for digest emails "
549
  "only</i>)"
550
  msgstr ""
551
 
552
- #: subscribe2.php:2164
553
  msgid "Subscribe / Unsubscribe confirmation email"
554
  msgstr ""
555
 
556
- #: subscribe2.php:2169
557
  msgid "Reminder email to Unconfirmed Subscribers"
558
  msgstr ""
559
 
560
- #: subscribe2.php:2176
561
  msgid "Excluded Categories"
562
  msgstr ""
563
 
564
- #: subscribe2.php:2178
565
  msgid ""
566
  "Posts assigned to any Excluded Category do not generate notifications and "
567
  "are not included in digest notifications"
568
  msgstr ""
569
 
570
- #: subscribe2.php:2185
571
  msgid "Allow registered users to subscribe to excluded categories?"
572
  msgstr ""
573
 
574
- #: subscribe2.php:2188
575
  msgid "Appearance"
576
  msgstr ""
577
 
578
- #: subscribe2.php:2192
579
  msgid "Set default Subscribe2 page as ID"
580
  msgstr ""
581
 
582
- #: subscribe2.php:2198
583
  msgid "Set the number of Subscribers displayed per page"
584
  msgstr ""
585
 
586
- #: subscribe2.php:2211
587
  msgid "Show a link to your subscription page in \"meta\"?"
588
  msgstr ""
589
 
590
- #: subscribe2.php:2218
591
  msgid "Show the Subscribe2 button on the Write toolbar?"
592
  msgstr ""
593
 
594
- #: subscribe2.php:2225
595
  msgid "Enable Subscribe2 Widget?"
596
  msgstr ""
597
 
598
- #: subscribe2.php:2232
599
  msgid "Enable Subscribe2 Counter Widget?"
600
  msgstr ""
601
 
602
- #: subscribe2.php:2239
603
  msgid "Disable email notifications is checked by default on authoring pages?"
604
  msgstr ""
605
 
606
- #: subscribe2.php:2243
607
  msgid "Auto Subscribe"
608
  msgstr ""
609
 
610
- #: subscribe2.php:2245
611
  msgid "Subscribe new users registering with your blog"
612
  msgstr ""
613
 
614
- #: subscribe2.php:2250
615
  msgid "Automatically"
616
  msgstr ""
617
 
618
- #: subscribe2.php:2255
619
  msgid "Display option on Registration Form"
620
  msgstr ""
621
 
622
- #: subscribe2.php:2261
623
  msgid "Auto-subscribe includes any excluded categories"
624
  msgstr ""
625
 
626
- #: subscribe2.php:2272
627
  msgid "Registration Form option is checked by default"
628
  msgstr ""
629
 
630
- #: subscribe2.php:2283
631
  msgid "Auto-subscribe users to receive email as"
632
  msgstr ""
633
 
634
- #: subscribe2.php:2304
635
  msgid "Registered Users have the option to auto-subscribe to new categories"
636
  msgstr ""
637
 
638
- #: subscribe2.php:2319
639
  msgid "New categories are immediately excluded"
640
  msgstr ""
641
 
642
- #: subscribe2.php:2320
643
  msgid ""
644
  "Option for Registered Users to auto-subscribe to new categories is checked "
645
  "by default"
646
  msgstr ""
647
 
648
- #: subscribe2.php:2334
649
  msgid "Barred Domains"
650
  msgstr ""
651
 
652
- #: subscribe2.php:2336
653
  msgid ""
654
  "Enter domains to bar from public subscriptions: <br /> (Use a new line for "
655
  "each entry and omit the \"@\" symbol, for example email.com)"
656
  msgstr ""
657
 
658
- #: subscribe2.php:2341
659
  msgid "Submit"
660
  msgstr ""
661
 
662
- #: subscribe2.php:2344
663
  msgid "Reset Default"
664
  msgstr ""
665
 
666
- #: subscribe2.php:2345
667
  msgid ""
668
  "Use this to reset all options to their defaults. This <strong><em>will not</"
669
  "em></strong> modify your list of subscribers."
670
  msgstr ""
671
 
672
- #: subscribe2.php:2347
673
  msgid "RESET"
674
  msgstr ""
675
 
676
- #: subscribe2.php:2373
677
  msgid "Subscription preferences updated."
678
  msgstr ""
679
 
680
- #: subscribe2.php:2423
681
  msgid "Editing Subscribe2 preferences for user"
682
  msgstr ""
683
 
684
- #: subscribe2.php:2432
685
  msgid "Receive email as"
686
  msgstr ""
687
 
688
- #: subscribe2.php:2455
689
  msgid "Automatically subscribe me to newly created categories"
690
  msgstr ""
691
 
692
- #: subscribe2.php:2476
693
  msgid "Unsubscribe me from this blog"
694
  msgstr ""
695
 
696
- #: subscribe2.php:2480
697
  msgid "Subscribe to all categories"
698
  msgstr ""
699
 
700
- #: subscribe2.php:2482
701
  msgid "Subscribed Categories on"
702
  msgstr ""
703
 
704
- #: subscribe2.php:2484
705
  msgid "Subscribed Categories"
706
  msgstr ""
707
 
708
- #: subscribe2.php:2490
709
  msgid "Receive periodic summaries of new posts?"
710
  msgstr ""
711
 
712
- #: subscribe2.php:2505
713
  msgid "Update Preferences"
714
  msgstr ""
715
 
716
- #: subscribe2.php:2554
717
  msgid "Subscribed Blogs"
718
  msgstr ""
719
 
720
- #: subscribe2.php:2559 subscribe2.php:2580
721
  msgid "Viewing Settings Now"
722
  msgstr ""
723
 
724
- #: subscribe2.php:2563 subscribe2.php:2584
725
  msgid "View Settings"
726
  msgstr ""
727
 
728
- #: subscribe2.php:2575
729
  msgid "Subscribe to new blogs"
730
  msgstr ""
731
 
732
- #: subscribe2.php:2653
733
  msgid "Send an email to subscribers"
734
  msgstr ""
735
 
736
- #: subscribe2.php:2661
737
  msgid "A message from"
738
  msgstr ""
739
 
740
- #: subscribe2.php:2663
741
  msgid "Subject"
742
  msgstr ""
743
 
744
- #: subscribe2.php:2666
745
  msgid "Recipients:"
746
  msgstr ""
747
 
748
- #: subscribe2.php:2670
749
  msgid "Preview"
750
  msgstr ""
751
 
752
- #: subscribe2.php:2670
753
  msgid "Send"
754
  msgstr ""
755
 
756
- #: subscribe2.php:2741
757
  msgid "All Users and Subscribers"
758
  msgstr ""
759
 
760
- #: subscribe2.php:2742
761
  msgid "Public Subscribers"
762
  msgstr ""
763
 
764
- #: subscribe2.php:2743
765
  msgid "Confirmed"
766
  msgstr ""
767
 
768
- #: subscribe2.php:2744
769
  msgid "Unconfirmed"
770
  msgstr ""
771
 
772
- #: subscribe2.php:2745
773
  msgid "All Registered Users"
774
  msgstr ""
775
 
776
- #: subscribe2.php:2746
777
  msgid "Registered Subscribers"
778
  msgstr ""
779
 
780
- #: subscribe2.php:2858
781
  msgid "For each Post"
782
  msgstr ""
783
 
784
- #: subscribe2.php:2875
785
  msgid "Send Digest Notification at"
786
  msgstr ""
787
 
788
- #: subscribe2.php:2887
789
  msgid ""
790
  "This option will be ignored if the time selected is not in the future in "
791
  "relation to the current time"
792
  msgstr ""
793
 
794
- #: subscribe2.php:2890
795
  msgid "Current UTC time is"
796
  msgstr ""
797
 
798
- #: subscribe2.php:2892
799
  msgid "Current blog time is"
800
  msgstr ""
801
 
802
- #: subscribe2.php:2894
803
  msgid "Next email notification will be sent when your blog time is after"
804
  msgstr ""
805
 
806
- #: subscribe2.php:2897
807
  msgid "Attempt to resend the last Digest Notification email"
808
  msgstr ""
809
 
810
- #: subscribe2.php:2898
811
  msgid "Resend Digest"
812
  msgstr ""
813
 
814
- #: subscribe2.php:2975
815
  msgid "Confirmed Public Subscriber"
816
  msgstr ""
817
 
818
- #: subscribe2.php:2977
819
  msgid "Unconfirmed Public Subscriber"
820
  msgstr ""
821
 
822
- #: subscribe2.php:3029
823
  msgid "Settings"
824
  msgstr ""
825
 
826
- #: subscribe2.php:3030
827
  msgid "Donate"
828
  msgstr ""
829
 
830
- #: subscribe2.php:3041
831
  msgid "Check here to Subscribe to email notifications for new posts"
832
  msgstr ""
833
 
834
- #: subscribe2.php:3050
835
  msgid ""
836
  "By registering with this blog you are also agreeing to receive email "
837
  "notifications for new posts but you can unsubscribe at anytime"
838
  msgstr ""
839
 
840
- #: subscribe2.php:3070 subscribe2.php:3071
841
  msgid "Subscribe2 Notification Override"
842
  msgstr ""
843
 
844
- #: subscribe2.php:3081
845
  msgid ""
846
  "Check here to disable sending of an email notification for this post/page"
847
  msgstr ""
848
 
849
- #: subscribe2.php:3133
850
  msgid "Your email:"
851
  msgstr ""
852
 
853
- #: subscribe2.php:3133
854
  msgid "Enter email address..."
855
  msgstr ""
856
 
857
- #: subscribe2.php:3241
858
  msgid "Subscription Confirmation"
859
  msgstr ""
860
 
861
- #: subscribe2.php:3332
862
  msgid "[Un]Subscribe to Posts"
863
  msgstr ""
864
 
865
- #: subscribe2.php:3384
866
  msgid "Weekly"
867
  msgstr ""
868
 
869
- #: subscribe2.php:3498 subscribe2.php:3499
870
  msgid "Author"
871
  msgstr ""
872
 
873
- #: subscribe2.php:3507
874
  msgid "Posted on"
875
  msgstr ""
876
 
877
- #: subscribe2.php:3511 subscribe2.php:3512
878
  msgid "Posted in"
879
  msgstr ""
880
 
881
- #: subscribe2.php:3517 subscribe2.php:3518
882
  msgid "Tagged as"
883
  msgstr ""
884
 
885
- #: subscribe2.php:3579
886
  msgid "Digest Email"
887
  msgstr ""
888
 
889
- #: subscribe2.php:3589
890
  msgid "Digest Preview"
891
  msgstr ""
892
 
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2011-03-17 20:26+0000\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
17
  "Content-Type: text/plain; charset=CHARSET\n"
18
  "Content-Transfer-Encoding: 8bit\n"
19
 
20
+ #: subscribe2.php:37
21
+ #, php-format
22
+ msgid ""
23
+ "This version of Subscribe2 requires WordPress 2.8 or greater. Please update "
24
+ "%1$s or use an older version of %2$s."
25
+ msgstr ""
26
+
27
+ #: subscribe2.php:72
28
  msgid "To manage your subscription options please"
29
  msgstr ""
30
 
31
+ #: subscribe2.php:72
32
  msgid "login"
33
  msgstr ""
34
 
35
+ #: subscribe2.php:74 subscribe2.php:83
36
  msgid "You may manage your subscription options from your"
37
  msgstr ""
38
 
39
+ #: subscribe2.php:74 subscribe2.php:83
40
  msgid "profile"
41
  msgstr ""
42
 
43
+ #: subscribe2.php:79 subscribe2.php:88 subscribe2.php:1803 subscribe2.php:1900
44
+ #: subscribe2.php:2669 subscribe2.php:3216 subscribe2.php:3219
45
  #: include/widget.php:96
46
  msgid "Subscribe"
47
  msgstr ""
48
 
49
+ #: subscribe2.php:79 subscribe2.php:88
50
  msgid "to email notifications when this blog posts new content"
51
  msgstr ""
52
 
53
+ #: subscribe2.php:92
54
  msgid "A confirmation message is on its way!"
55
  msgstr ""
56
 
57
+ #: subscribe2.php:94
58
  msgid "That email address is already subscribed."
59
  msgstr ""
60
 
61
+ #: subscribe2.php:96
62
  msgid "That email address is not subscribed."
63
  msgstr ""
64
 
65
+ #: subscribe2.php:98
66
  msgid "Sorry, but that does not look like an email address to me."
67
  msgstr ""
68
 
69
+ #: subscribe2.php:100
70
  msgid ""
71
  "Sorry, email addresses at that domain are currently barred due to spam, "
72
  "please use an alternative email address."
73
  msgstr ""
74
 
75
+ #: subscribe2.php:102
76
  msgid ""
77
  "Sorry, there seems to be an error on the server. Please try again later."
78
  msgstr ""
79
 
80
+ #: subscribe2.php:104
81
  msgid "You must to create a WordPress page for this plugin to work correctly."
82
  msgstr ""
83
 
84
+ #: subscribe2.php:106
85
  msgid "Message sent!"
86
  msgstr ""
87
 
88
+ #: subscribe2.php:108
89
  msgid ""
90
  "Message failed! Check your settings and check with your hosting provider"
91
  msgstr ""
92
 
93
+ #: subscribe2.php:111
94
  msgid "No such email address is registered."
95
  msgstr ""
96
 
97
+ #: subscribe2.php:113
98
  msgid "You have successfully subscribed!"
99
  msgstr ""
100
 
101
+ #: subscribe2.php:115
102
  msgid "You have successfully unsubscribed."
103
  msgstr ""
104
 
105
+ #: subscribe2.php:117
106
  msgid "subscribe"
107
  msgstr ""
108
 
109
+ #: subscribe2.php:119
110
  msgid "unsubscribe"
111
  msgstr ""
112
 
113
+ #: subscribe2.php:122
114
  msgid "Options saved!"
115
  msgstr ""
116
 
117
+ #: subscribe2.php:123
118
  msgid "Options reset!"
119
  msgstr ""
120
 
121
+ #: subscribe2.php:131
122
  msgid "Subscribers"
123
  msgstr ""
124
 
125
+ #: subscribe2.php:134
126
  msgid "Subscribe2 Options"
127
  msgstr ""
128
 
129
+ #: subscribe2.php:134 subscribe2.php:3442 include/widget.php:17
130
  msgid "Subscribe2"
131
  msgstr ""
132
 
133
+ #: subscribe2.php:139
134
  msgid "Your Subscriptions"
135
  msgstr ""
136
 
137
+ #: subscribe2.php:143
138
  msgid "Mail Subscribers"
139
  msgstr ""
140
 
141
+ #: subscribe2.php:646
142
  msgid "Plain Text Excerpt Preview"
143
  msgstr ""
144
 
145
+ #: subscribe2.php:648
146
  msgid "Plain Text Full Preview"
147
  msgstr ""
148
 
149
+ #: subscribe2.php:650
150
  msgid "HTML Excerpt Preview"
151
  msgstr ""
152
 
153
+ #: subscribe2.php:652
154
  msgid "HTML Full Preview"
155
  msgstr ""
156
 
157
+ #: subscribe2.php:917
158
  msgid "New Subscription"
159
  msgstr ""
160
 
161
+ #: subscribe2.php:919
162
  msgid "subscribed to email notifications!"
163
  msgstr ""
164
 
165
+ #: subscribe2.php:955
166
  msgid "New Unsubscription"
167
  msgstr ""
168
 
169
+ #: subscribe2.php:957
170
  msgid "unsubscribed from email notifications!"
171
  msgstr ""
172
 
173
+ #: subscribe2.php:1614
174
  msgid "Address(es) subscribed!"
175
  msgstr ""
176
 
177
+ #: subscribe2.php:1621
178
  msgid "Address(es) unsubscribed!"
179
  msgstr ""
180
 
181
+ #: subscribe2.php:1625
182
  msgid "Some emails were not processed, the following were already subscribed"
183
  msgstr ""
184
 
185
+ #: subscribe2.php:1628
186
  msgid "Some emails were not processed, the following were not in the database"
187
  msgstr ""
188
 
189
+ #: subscribe2.php:1637
190
  msgid "Address(es) deleted!"
191
  msgstr ""
192
 
193
+ #: subscribe2.php:1643 subscribe2.php:1649
194
  msgid "Status changed!"
195
  msgstr ""
196
 
197
+ #: subscribe2.php:1663
198
  msgid "Reminder Email(s) Sent!"
199
  msgstr ""
200
 
201
+ #: subscribe2.php:1666
202
  msgid "Registered Users Subscribed!"
203
  msgstr ""
204
 
205
+ #: subscribe2.php:1669
206
  msgid "Registered Users Unsubscribed!"
207
  msgstr ""
208
 
209
+ #: subscribe2.php:1672
210
  msgid "Format updated for Selected Registered Users!"
211
  msgstr ""
212
 
213
+ #: subscribe2.php:1767
214
  msgid "Previous Page"
215
  msgstr ""
216
 
217
+ #: subscribe2.php:1787
218
  msgid "Next Page"
219
  msgstr ""
220
 
221
+ #: subscribe2.php:1794
222
  msgid "Manage Subscribers"
223
  msgstr ""
224
 
225
+ #: subscribe2.php:1799
226
  msgid "Add/Remove Subscribers"
227
  msgstr ""
228
 
229
+ #: subscribe2.php:1800
230
  msgid "Enter addresses, one per line or comma-separated"
231
  msgstr ""
232
 
233
+ #: subscribe2.php:1804 subscribe2.php:1901 subscribe2.php:2648
234
+ #: subscribe2.php:3214 subscribe2.php:3219 include/widget.php:96
235
  msgid "Unsubscribe"
236
  msgstr ""
237
 
238
+ #: subscribe2.php:1807
239
  msgid "Current Subscribers"
240
  msgstr ""
241
 
242
+ #: subscribe2.php:1809
243
  msgid "Filter"
244
  msgstr ""
245
 
246
+ #: subscribe2.php:1814
247
  msgid "Search Subscribers"
248
  msgstr ""
249
 
250
+ #: subscribe2.php:1817
251
  msgid "Send Reminder Email"
252
  msgstr ""
253
 
254
+ #: subscribe2.php:1824
255
  msgid "Save Emails to CSV File"
256
  msgstr ""
257
 
258
+ #: subscribe2.php:1830 subscribe2.php:1888
259
  msgid "Process"
260
  msgstr ""
261
 
262
+ #: subscribe2.php:1843 subscribe2.php:1865
263
  msgid "Confirm this email address"
264
  msgstr ""
265
 
266
+ #: subscribe2.php:1845 subscribe2.php:1858
267
  msgid "Unconfirm this email address"
268
  msgstr ""
269
 
270
+ #: subscribe2.php:1847 subscribe2.php:1860 subscribe2.php:1868
271
  msgid "Delete this email address"
272
  msgstr ""
273
 
274
+ #: subscribe2.php:1851 subscribe2.php:2789
275
  msgid "Select / Unselect All"
276
  msgstr ""
277
 
278
+ #: subscribe2.php:1875
279
  msgid "edit"
280
  msgstr ""
281
 
282
+ #: subscribe2.php:1882
283
  msgid "No matching subscribers found"
284
  msgstr ""
285
 
286
+ #: subscribe2.php:1884
287
  msgid "NONE"
288
  msgstr ""
289
 
290
+ #: subscribe2.php:1896
291
  msgid "Categories"
292
  msgstr ""
293
 
294
+ #: subscribe2.php:1897
295
  msgid ""
296
  "Preferences for Registered Users selected in the filter above can be changed "
297
  "using this section."
298
  msgstr ""
299
 
300
+ #: subscribe2.php:1898
301
  msgid "Consider User Privacy as changes cannot be undone"
302
  msgstr ""
303
 
304
+ #: subscribe2.php:1899
305
  msgid "Action to perform"
306
  msgstr ""
307
 
308
+ #: subscribe2.php:1904
309
  msgid "Bulk Update Categories"
310
  msgstr ""
311
 
312
+ #: subscribe2.php:1906
313
  msgid "Send email as"
314
  msgstr ""
315
 
316
+ #: subscribe2.php:1907 subscribe2.php:2370 subscribe2.php:2519
317
  msgid "HTML - Full"
318
  msgstr ""
319
 
320
+ #: subscribe2.php:1908 subscribe2.php:2375 subscribe2.php:2524
321
  msgid "HTML - Excerpt"
322
  msgstr ""
323
 
324
+ #: subscribe2.php:1909 subscribe2.php:2380 subscribe2.php:2529
325
  msgid "Plain Text - Full"
326
  msgstr ""
327
 
328
+ #: subscribe2.php:1910 subscribe2.php:2385 subscribe2.php:2534
329
  msgid "Plain Text - Excerpt"
330
  msgstr ""
331
 
332
+ #: subscribe2.php:1911
333
  msgid "Bulk Update Format"
334
  msgstr ""
335
 
336
+ #: subscribe2.php:1948
337
  msgid "Preview message(s) sent to logged in user"
338
  msgstr ""
339
 
340
+ #: subscribe2.php:1952
341
  msgid ""
342
  "The Digest Notification email contained no post information. No email was "
343
  "sent"
344
  msgstr ""
345
 
346
+ #: subscribe2.php:1954
347
  msgid "Attempt made to resend the Digest Notification email"
348
  msgstr ""
349
 
350
+ #: subscribe2.php:2102
351
  msgid "Subscribe2 Settings"
352
  msgstr ""
353
 
354
+ #: subscribe2.php:2103
355
  msgid "Plugin Blog"
356
  msgstr ""
357
 
358
+ #: subscribe2.php:2104
359
  msgid "Make a donation via PayPal"
360
  msgstr ""
361
 
362
+ #: subscribe2.php:2115 subscribe2.php:2502
363
  msgid "Notification Settings"
364
  msgstr ""
365
 
366
+ #: subscribe2.php:2116
367
  msgid "Restrict the number of recipients per email to (0 for unlimited)"
368
  msgstr ""
369
 
370
+ #: subscribe2.php:2118 subscribe2.php:2282
371
  msgid "Edit"
372
  msgstr ""
373
 
374
+ #: subscribe2.php:2121 subscribe2.php:2285
375
  msgid "Update"
376
  msgstr ""
377
 
378
+ #: subscribe2.php:2122 subscribe2.php:2286
379
  msgid "Revert"
380
  msgstr ""
381
 
382
+ #: subscribe2.php:2124
383
  msgid "Send Admins notifications for new"
384
  msgstr ""
385
 
386
+ #: subscribe2.php:2129
387
  msgid "Subscriptions"
388
  msgstr ""
389
 
390
+ #: subscribe2.php:2134
391
  msgid "Unsubscriptions"
392
  msgstr ""
393
 
394
+ #: subscribe2.php:2139
395
  msgid "Both"
396
  msgstr ""
397
 
398
+ #: subscribe2.php:2144
399
  msgid "Neither"
400
  msgstr ""
401
 
402
+ #: subscribe2.php:2146
403
  msgid "Include theme CSS stylesheet in HTML notifications"
404
  msgstr ""
405
 
406
+ #: subscribe2.php:2151 subscribe2.php:2163 subscribe2.php:2174
407
+ #: subscribe2.php:2185 subscribe2.php:2348 subscribe2.php:2359
408
+ #: subscribe2.php:2391 subscribe2.php:2407 subscribe2.php:2542
409
+ #: subscribe2.php:2578
410
  msgid "Yes"
411
  msgstr ""
412
 
413
+ #: subscribe2.php:2156 subscribe2.php:2168 subscribe2.php:2179
414
+ #: subscribe2.php:2190 subscribe2.php:2342 subscribe2.php:2353
415
+ #: subscribe2.php:2364 subscribe2.php:2396 subscribe2.php:2412
416
+ #: subscribe2.php:2547 subscribe2.php:2582
417
  msgid "No"
418
  msgstr ""
419
 
420
+ #: subscribe2.php:2158
421
  msgid "Send Emails for Pages"
422
  msgstr ""
423
 
424
+ #: subscribe2.php:2169
425
  msgid "Send Emails for Password Protected Posts"
426
  msgstr ""
427
 
428
+ #: subscribe2.php:2180
429
  msgid "Send Emails for Private Posts"
430
  msgstr ""
431
 
432
+ #: subscribe2.php:2191
433
  msgid "Send Email From"
434
  msgstr ""
435
 
436
+ #: subscribe2.php:2196
437
  msgid "Send Emails"
438
  msgstr ""
439
 
440
+ #: subscribe2.php:2198
441
  msgid "For digest notifications, date order for posts is"
442
  msgstr ""
443
 
444
+ #: subscribe2.php:2203
445
  msgid "Descending"
446
  msgstr ""
447
 
448
+ #: subscribe2.php:2208
449
  msgid "Ascending"
450
  msgstr ""
451
 
452
+ #: subscribe2.php:2212
453
  msgid "Email Templates"
454
  msgstr ""
455
 
456
+ #: subscribe2.php:2216
457
  msgid "New Post email (must not be empty)"
458
  msgstr ""
459
 
460
+ #: subscribe2.php:2217 subscribe2.php:2247 subscribe2.php:2252
461
  msgid "Subject Line"
462
  msgstr ""
463
 
464
+ #: subscribe2.php:2222
465
  msgid "Send Email Preview"
466
  msgstr ""
467
 
468
+ #: subscribe2.php:2223
469
  msgid "Message substitions"
470
  msgstr ""
471
 
472
+ #: subscribe2.php:2225
473
  msgid ""
474
  "IF THE FOLLOWING KEYWORDS ARE ALSO IN YOUR POST THEY WILL BE SUBSTITUTED"
475
  msgstr ""
476
 
477
+ #: subscribe2.php:2228
478
  msgid "the post's title<br />(<i>for per-post emails only</i>)"
479
  msgstr ""
480
 
481
+ #: subscribe2.php:2229
482
  msgid ""
483
  "the excerpt or the entire post<br />(<i>based on the subscriber's "
484
  "preferences</i>)"
485
  msgstr ""
486
 
487
+ #: subscribe2.php:2230
488
  msgid ""
489
  "the excerpt of the post and the time it was posted<br />(<i>for digest "
490
  "emails only</i>)"
491
  msgstr ""
492
 
493
+ #: subscribe2.php:2231
494
  msgid "a list of post titles<br />(<i>for digest emails only</i>)"
495
  msgstr ""
496
 
497
+ #: subscribe2.php:2232
498
  msgid ""
499
  "a list of post titles followed by links to the atricles<br />(<i>for digest "
500
  "emails only</i>)"
501
  msgstr ""
502
 
503
+ #: subscribe2.php:2233
504
  msgid "the post's permalink<br />(<i>for per-post emails only</i>)"
505
  msgstr ""
506
 
507
+ #: subscribe2.php:2234
508
  msgid ""
509
  "the post's permalink after conversion by TinyURL<br />(<i>for per-post "
510
  "emails only</i>)"
511
  msgstr ""
512
 
513
+ #: subscribe2.php:2235
514
  msgid "the date the post was made<br />(<i>for per-post emails only</i>)"
515
  msgstr ""
516
 
517
+ #: subscribe2.php:2236
518
  msgid "the time the post was made<br />(<i>for per-post emails only</i>)"
519
  msgstr ""
520
 
521
+ #: subscribe2.php:2237
522
  msgid "the admin or post author's name"
523
  msgstr ""
524
 
525
+ #: subscribe2.php:2238
526
  msgid "the admin or post author's email"
527
  msgstr ""
528
 
529
+ #: subscribe2.php:2239
530
  msgid "the post author's name"
531
  msgstr ""
532
 
533
+ #: subscribe2.php:2240
534
  msgid ""
535
  "the generated link to confirm a request<br />(<i>only used in the "
536
  "confirmation email template</i>)"
537
  msgstr ""
538
 
539
+ #: subscribe2.php:2241
540
  msgid ""
541
  "Action performed by LINK in confirmation email<br />(<i>only used in the "
542
  "confirmation email template</i>)"
543
  msgstr ""
544
 
545
+ #: subscribe2.php:2242
546
  msgid "the post's assigned categories"
547
  msgstr ""
548
 
549
+ #: subscribe2.php:2243
550
  msgid "the post's assigned Tags"
551
  msgstr ""
552
 
553
+ #: subscribe2.php:2244
554
  msgid ""
555
  "the number of posts included in the digest email<br />(<i>for digest emails "
556
  "only</i>)"
557
  msgstr ""
558
 
559
+ #: subscribe2.php:2246
560
  msgid "Subscribe / Unsubscribe confirmation email"
561
  msgstr ""
562
 
563
+ #: subscribe2.php:2251
564
  msgid "Reminder email to Unconfirmed Subscribers"
565
  msgstr ""
566
 
567
+ #: subscribe2.php:2258
568
  msgid "Excluded Categories"
569
  msgstr ""
570
 
571
+ #: subscribe2.php:2260
572
  msgid ""
573
  "Posts assigned to any Excluded Category do not generate notifications and "
574
  "are not included in digest notifications"
575
  msgstr ""
576
 
577
+ #: subscribe2.php:2267
578
  msgid "Allow registered users to subscribe to excluded categories?"
579
  msgstr ""
580
 
581
+ #: subscribe2.php:2270
582
  msgid "Appearance"
583
  msgstr ""
584
 
585
+ #: subscribe2.php:2274
586
  msgid "Set default Subscribe2 page as ID"
587
  msgstr ""
588
 
589
+ #: subscribe2.php:2280
590
  msgid "Set the number of Subscribers displayed per page"
591
  msgstr ""
592
 
593
+ #: subscribe2.php:2293
594
  msgid "Show a link to your subscription page in \"meta\"?"
595
  msgstr ""
596
 
597
+ #: subscribe2.php:2300
598
  msgid "Show the Subscribe2 button on the Write toolbar?"
599
  msgstr ""
600
 
601
+ #: subscribe2.php:2307
602
  msgid "Enable Subscribe2 Widget?"
603
  msgstr ""
604
 
605
+ #: subscribe2.php:2314
606
  msgid "Enable Subscribe2 Counter Widget?"
607
  msgstr ""
608
 
609
+ #: subscribe2.php:2321
610
  msgid "Disable email notifications is checked by default on authoring pages?"
611
  msgstr ""
612
 
613
+ #: subscribe2.php:2325
614
  msgid "Auto Subscribe"
615
  msgstr ""
616
 
617
+ #: subscribe2.php:2327
618
  msgid "Subscribe new users registering with your blog"
619
  msgstr ""
620
 
621
+ #: subscribe2.php:2332
622
  msgid "Automatically"
623
  msgstr ""
624
 
625
+ #: subscribe2.php:2337
626
  msgid "Display option on Registration Form"
627
  msgstr ""
628
 
629
+ #: subscribe2.php:2343
630
  msgid "Auto-subscribe includes any excluded categories"
631
  msgstr ""
632
 
633
+ #: subscribe2.php:2354
634
  msgid "Registration Form option is checked by default"
635
  msgstr ""
636
 
637
+ #: subscribe2.php:2365
638
  msgid "Auto-subscribe users to receive email as"
639
  msgstr ""
640
 
641
+ #: subscribe2.php:2386
642
  msgid "Registered Users have the option to auto-subscribe to new categories"
643
  msgstr ""
644
 
645
+ #: subscribe2.php:2401
646
  msgid "New categories are immediately excluded"
647
  msgstr ""
648
 
649
+ #: subscribe2.php:2402
650
  msgid ""
651
  "Option for Registered Users to auto-subscribe to new categories is checked "
652
  "by default"
653
  msgstr ""
654
 
655
+ #: subscribe2.php:2416
656
  msgid "Barred Domains"
657
  msgstr ""
658
 
659
+ #: subscribe2.php:2418
660
  msgid ""
661
  "Enter domains to bar from public subscriptions: <br /> (Use a new line for "
662
  "each entry and omit the \"@\" symbol, for example email.com)"
663
  msgstr ""
664
 
665
+ #: subscribe2.php:2423
666
  msgid "Submit"
667
  msgstr ""
668
 
669
+ #: subscribe2.php:2426
670
  msgid "Reset Default"
671
  msgstr ""
672
 
673
+ #: subscribe2.php:2427
674
  msgid ""
675
  "Use this to reset all options to their defaults. This <strong><em>will not</"
676
  "em></strong> modify your list of subscribers."
677
  msgstr ""
678
 
679
+ #: subscribe2.php:2429
680
  msgid "RESET"
681
  msgstr ""
682
 
683
+ #: subscribe2.php:2455
684
  msgid "Subscription preferences updated."
685
  msgstr ""
686
 
687
+ #: subscribe2.php:2505
688
  msgid "Editing Subscribe2 preferences for user"
689
  msgstr ""
690
 
691
+ #: subscribe2.php:2514
692
  msgid "Receive email as"
693
  msgstr ""
694
 
695
+ #: subscribe2.php:2537
696
  msgid "Automatically subscribe me to newly created categories"
697
  msgstr ""
698
 
699
+ #: subscribe2.php:2558
700
  msgid "Unsubscribe me from this blog"
701
  msgstr ""
702
 
703
+ #: subscribe2.php:2562
704
  msgid "Subscribe to all categories"
705
  msgstr ""
706
 
707
+ #: subscribe2.php:2564
708
  msgid "Subscribed Categories on"
709
  msgstr ""
710
 
711
+ #: subscribe2.php:2566
712
  msgid "Subscribed Categories"
713
  msgstr ""
714
 
715
+ #: subscribe2.php:2572
716
  msgid "Receive periodic summaries of new posts?"
717
  msgstr ""
718
 
719
+ #: subscribe2.php:2587
720
  msgid "Update Preferences"
721
  msgstr ""
722
 
723
+ #: subscribe2.php:2637
724
  msgid "Subscribed Blogs"
725
  msgstr ""
726
 
727
+ #: subscribe2.php:2642 subscribe2.php:2663
728
  msgid "Viewing Settings Now"
729
  msgstr ""
730
 
731
+ #: subscribe2.php:2646 subscribe2.php:2667
732
  msgid "View Settings"
733
  msgstr ""
734
 
735
+ #: subscribe2.php:2658
736
  msgid "Subscribe to new blogs"
737
  msgstr ""
738
 
739
+ #: subscribe2.php:2736
740
  msgid "Send an email to subscribers"
741
  msgstr ""
742
 
743
+ #: subscribe2.php:2744
744
  msgid "A message from"
745
  msgstr ""
746
 
747
+ #: subscribe2.php:2746
748
  msgid "Subject"
749
  msgstr ""
750
 
751
+ #: subscribe2.php:2749
752
  msgid "Recipients:"
753
  msgstr ""
754
 
755
+ #: subscribe2.php:2753
756
  msgid "Preview"
757
  msgstr ""
758
 
759
+ #: subscribe2.php:2753
760
  msgid "Send"
761
  msgstr ""
762
 
763
+ #: subscribe2.php:2824
764
  msgid "All Users and Subscribers"
765
  msgstr ""
766
 
767
+ #: subscribe2.php:2825
768
  msgid "Public Subscribers"
769
  msgstr ""
770
 
771
+ #: subscribe2.php:2826
772
  msgid "Confirmed"
773
  msgstr ""
774
 
775
+ #: subscribe2.php:2827
776
  msgid "Unconfirmed"
777
  msgstr ""
778
 
779
+ #: subscribe2.php:2828
780
  msgid "All Registered Users"
781
  msgstr ""
782
 
783
+ #: subscribe2.php:2829
784
  msgid "Registered Subscribers"
785
  msgstr ""
786
 
787
+ #: subscribe2.php:2951
788
  msgid "For each Post"
789
  msgstr ""
790
 
791
+ #: subscribe2.php:2968
792
  msgid "Send Digest Notification at"
793
  msgstr ""
794
 
795
+ #: subscribe2.php:2980
796
  msgid ""
797
  "This option will be ignored if the time selected is not in the future in "
798
  "relation to the current time"
799
  msgstr ""
800
 
801
+ #: subscribe2.php:2983
802
  msgid "Current UTC time is"
803
  msgstr ""
804
 
805
+ #: subscribe2.php:2985
806
  msgid "Current blog time is"
807
  msgstr ""
808
 
809
+ #: subscribe2.php:2987
810
  msgid "Next email notification will be sent when your blog time is after"
811
  msgstr ""
812
 
813
+ #: subscribe2.php:2990
814
  msgid "Attempt to resend the last Digest Notification email"
815
  msgstr ""
816
 
817
+ #: subscribe2.php:2991
818
  msgid "Resend Digest"
819
  msgstr ""
820
 
821
+ #: subscribe2.php:3068
822
  msgid "Confirmed Public Subscriber"
823
  msgstr ""
824
 
825
+ #: subscribe2.php:3070
826
  msgid "Unconfirmed Public Subscriber"
827
  msgstr ""
828
 
829
+ #: subscribe2.php:3122
830
  msgid "Settings"
831
  msgstr ""
832
 
833
+ #: subscribe2.php:3123
834
  msgid "Donate"
835
  msgstr ""
836
 
837
+ #: subscribe2.php:3134
838
  msgid "Check here to Subscribe to email notifications for new posts"
839
  msgstr ""
840
 
841
+ #: subscribe2.php:3143
842
  msgid ""
843
  "By registering with this blog you are also agreeing to receive email "
844
  "notifications for new posts but you can unsubscribe at anytime"
845
  msgstr ""
846
 
847
+ #: subscribe2.php:3163 subscribe2.php:3164
848
  msgid "Subscribe2 Notification Override"
849
  msgstr ""
850
 
851
+ #: subscribe2.php:3174
852
  msgid ""
853
  "Check here to disable sending of an email notification for this post/page"
854
  msgstr ""
855
 
856
+ #: subscribe2.php:3226
857
  msgid "Your email:"
858
  msgstr ""
859
 
860
+ #: subscribe2.php:3226
861
  msgid "Enter email address..."
862
  msgstr ""
863
 
864
+ #: subscribe2.php:3334
865
  msgid "Subscription Confirmation"
866
  msgstr ""
867
 
868
+ #: subscribe2.php:3425
869
  msgid "[Un]Subscribe to Posts"
870
  msgstr ""
871
 
872
+ #: subscribe2.php:3477
873
  msgid "Weekly"
874
  msgstr ""
875
 
876
+ #: subscribe2.php:3591 subscribe2.php:3592
877
  msgid "Author"
878
  msgstr ""
879
 
880
+ #: subscribe2.php:3600
881
  msgid "Posted on"
882
  msgstr ""
883
 
884
+ #: subscribe2.php:3604 subscribe2.php:3605
885
  msgid "Posted in"
886
  msgstr ""
887
 
888
+ #: subscribe2.php:3610 subscribe2.php:3611
889
  msgid "Tagged as"
890
  msgstr ""
891
 
892
+ #: subscribe2.php:3672
893
  msgid "Digest Email"
894
  msgstr ""
895
 
896
+ #: subscribe2.php:3682
897
  msgid "Digest Preview"
898
  msgstr ""
899