Subscribe2 - Version 5.6

Version Description

Download this release

Release Info

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

Code changes from version 5.5 to 5.6

Files changed (4) hide show
  1. ReadMe.txt +14 -1
  2. counterwidget.php +1 -1
  3. subscribe2.php +80 -47
  4. subscribe2.pot +189 -177
ReadMe.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_butt
4
Tags: posts, subscription, email, subscribe, notify, notification
5
Requires at least: 2.0.x
6
Tested up to: 2.9.2
7
- Stable tag: 5.5
8
9
Sends a list of subscribers an email notification when new posts are published to your blog
10
@@ -70,6 +70,12 @@ Batches will occur for each group of message as described above. A site on Drea
70
71
Subscribe2 supports 4 potential email formats for Susbcribers so you will get a preview for each of the different possibilities.
72
73
= My host has a limit of X emails per hour / day, can I limit the way Subscribe2 sends emails? =
74
75
This is the second most common question I get asked (the first being about emails not being sent which quote often ends up here anyway!). This is more commonly called 'throttling' or 'choking'. PHP is a scripting language and while it is technically possible to throttle emails using script it is not very efficient. It is much better in terms of speed and server overhead (CPU cycles and RAM) to throttle using a server side application.
@@ -149,6 +155,13 @@ Secondly, make sure that the token (<!--subscribe2-->) is correctly entered in y
149
150
== Changelog ==
151
152
= Version 5.5 by Matthew Robinson =
153
154
* Made the email header function pluggable to allow custom changes that persist through versions
4
Tags: posts, subscription, email, subscribe, notify, notification
5
Requires at least: 2.0.x
6
Tested up to: 2.9.2
7
+ Stable tag: 5.6
8
9
Sends a list of subscribers an email notification when new posts are published to your blog
10
70
71
Subscribe2 supports 4 potential email formats for Susbcribers so you will get a preview for each of the different possibilities.
72
73
+ = Why do I need to create a WordPress Page =
74
+
75
+ Subscribe2 uses a filer system to display dynamic output to your readers. The token may result in the display of the subscription form, a subscription message, confirmation that an email has been sent, a prompt to log in. This information needs a static location for the output of the filter and a WordPress page is the ideal place for this to happen.
76
+
77
+ If you decide to use Subscribe2 only using the widget you must still have at least one WordPress page on your site for Subscribe2 to work correctly.
78
+
79
= My host has a limit of X emails per hour / day, can I limit the way Subscribe2 sends emails? =
80
81
This is the second most common question I get asked (the first being about emails not being sent which quote often ends up here anyway!). This is more commonly called 'throttling' or 'choking'. PHP is a scripting language and while it is technically possible to throttle emails using script it is not very efficient. It is much better in terms of speed and server overhead (CPU cycles and RAM) to throttle using a server side application.
155
156
== Changelog ==
157
158
+ = Version 5.6 by Matthew Robinson =
159
+
160
+ * Fixed a critical bug in the digest function - a typo resulting failed notifications
161
+ * Added ability to resend the last digest email again
162
+ * Improved Bulk Management to apply to filtered users only (provided they are still Registered and not Public Subscribers)
163
+ * Fix for HTML Excerpt mails not using email template
164
+
165
= Version 5.5 by Matthew Robinson =
166
167
* Made the email header function pluggable to allow custom changes that persist through versions
counterwidget.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Subscribe2 Counter Widget
4
Plugin URI: http://subscribe2.wordpress.com
5
Description: Adds a sidebar widget to easily customize and display your Subscribe2 subscribers stats.
6
- Version: 5.5
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
3
Plugin Name: Subscribe2 Counter Widget
4
Plugin URI: http://subscribe2.wordpress.com
5
Description: Adds a sidebar widget to easily customize and display your Subscribe2 subscribers stats.
6
+ Version: 5.6
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
subscribe2.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Subscribe2
4
Plugin URI: http://subscribe2.wordpress.com
5
Description: Notifies an email list when new entries are posted.
6
- Version: 5.5
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
@@ -32,7 +32,7 @@ along with Subscribe2. If not, see <http://www.gnu.org/licenses/>.
32
33
// our version number. Don't touch this or any line below
34
// unless you know exacly what you are doing
35
- define( 'S2VERSION', '5.5' );
36
define( 'S2PATH', trailingslashit(dirname(__FILE__)) );
37
define( 'S2DIR', plugin_basename(dirname(__FILE__)) );
38
@@ -216,6 +216,13 @@ class s2class {
216
$this->subscribe2_options['version'] = S2VERSION;
217
// ensure that the options are in the database
218
require(S2PATH . "include/options.php");
219
update_option('subscribe2_options', $this->subscribe2_options);
220
221
// upgrade old wpmu user meta data to new
@@ -609,7 +616,7 @@ class s2class {
609
$this->mail($this->get_registered("cats=$post_cats_string&format=post"), $subject, $full_body);
610
611
// next we send html excerpt content emails
612
- $this->mail($this->get_registered("cats=$post_cats_string&format=html_excerpt"), $subject, $html_excerpt, 'html');
613
614
// finally we send html full content emails
615
$this->mail($this->get_registered("cats=$post_cats_string&format=html"), $subject, $html_body, 'html');
@@ -1102,10 +1109,8 @@ class s2class {
1102
$check_format = get_usermeta($user_ID, 's2_format');
1103
if ( empty($check_format) ) {
1104
// ensure existing subscription options are not overwritten on upgrade
1105
- if ( 'html' == $this->subscribe2_options['autoformat'] ) {
1106
- update_usermeta($user_ID, 's2_format', 'html');
1107
- } elseif ( 'fulltext' == $this->subscribe2_options['autoformat'] ) {
1108
- update_usermeta($user_ID, 's2_format', 'post');
1109
} else {
1110
update_usermeta($user_ID, 's2_format', 'excerpt');
1111
}
@@ -1204,6 +1209,24 @@ class s2class {
1204
}
1205
} // end unsubscribe_registered_users()
1206
1207
/**
1208
Handles subscriptions and unsubscriptions for different blogs on WPMU installs
1209
*/
@@ -1403,9 +1426,6 @@ class s2class {
1403
//Get Registered Subscribers for bulk management
1404
$registered = $this->get_registered();
1405
$all_users = $this->get_all_registered();
1406
- if ( !empty($all_users) ) {
1407
- $emails = implode(",", $all_users);
1408
- }
1409
1410
// was anything POSTed ?
1411
if ( isset($_POST['s2_admin']) ) {
@@ -1461,14 +1481,8 @@ class s2class {
1461
$this->unsubscribe_registered_users($_POST['emails'], $_POST['category']);
1462
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Registered Users Unsubscribed!', 'subscribe2') . "</strong></p></div>";
1463
} elseif ( $_POST['sub_format'] ) {
1464
- if ( $_POST['format'] == 'excerpt' ) {
1465
- $wpdb->get_results("UPDATE $wpdb->usermeta SET meta_value='excerpt' WHERE meta_key='s2_format'");
1466
- } elseif ( $_POST['format'] == 'full' ) {
1467
- $wpdb->get_results("UPDATE $wpdb->usermeta SET meta_value='post' WHERE meta_key='s2_format'");
1468
- } elseif ( $_POST['format'] == 'html' ) {
1469
- $wpdb->get_results("UPDATE $wpdb->usermeta SET meta_value='html' WHERE meta_key='s2_format'");
1470
- }
1471
- echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Format updated for Registered Users!', 'subscribe2') . "</strong></p></div>";
1472
}
1473
}
1474
@@ -1685,24 +1699,26 @@ class s2class {
1685
}
1686
echo "</table>\r\n";
1687
1688
- //show bulk managment form
1689
- echo "<h2>" . __('Categories', 'subscribe2') . "</h2>\r\n";
1690
- echo "<p>" . __('Preferences for all existing Registered Users can be changed using this section.', 'subscribe2') . "<br />\r\n";
1691
- echo "<strong><em style=\"color: red\">" . __('Consider User Privacy as changes cannot be undone', 'subscribe2') . "</em></strong><br />\r\n";
1692
- echo "</p>";
1693
- echo "<br />" . __('Action to perform', 'subscribe2') . ":\r\n";
1694
- echo "<label><input type=\"radio\" name=\"manage\" value=\"subscribe\" checked=\"checked\" /> " . __('Subscribe', 'subscribe2') . "</label>&nbsp;&nbsp;\r\n";
1695
- echo "<label><input type=\"radio\" name=\"manage\" value=\"unsubscribe\" /> " . __('Unsubscribe', 'subscribe2') . "</label><br /><br />\r\n";
1696
- echo "<input type=\"hidden\" name=\"emails\" value=\"$emails\" />\r\n";
1697
- $this->display_category_form();
1698
- echo "<p class=\"submit\"><input type=\"submit\" class=\"button-primary\" name=\"sub_categories\" value=\"" . __('Bulk Update Categories', 'subscribe2') . "\" /></p>";
1699
-
1700
- echo "<br />" . __('Send email as', 'subscribe2') . ":\r\n";
1701
- echo "<label><input type=\"radio\" name=\"format\" value=\"html\" /> " . __('HTML - Full', 'subscribe2') . "</label>&nbsp;&nbsp;\r\n";
1702
- echo "<label><input type=\"radio\" name=\"format\" value=\"html_excerpt\" /> " . __('HTML - Excerpt', 'subscribe2') . "</label>&nbsp;&nbsp;\r\n";
1703
- echo "<label><input type=\"radio\" name=\"format\" value=\"full\" /> " . __('Plain Text - Full', 'subscribe2') . "</label>&nbsp;&nbsp;\r\n";
1704
- echo "<label><input type=\"radio\" name=\"format\" value=\"excerpt\" checked=\"checked\" /> " . __('Plain Text - Excerpt', 'subscribe2') . "</label>\r\n";
1705
- echo "<p class=\"submit\"><input type=\"submit\" class=\"button-primary\" name=\"sub_format\" value=\"" . __('Bulk Update Format', 'subscribe2') . "\" /></p>";
1706
echo "</form></div>\r\n";
1707
1708
include(ABSPATH . 'wp-admin/admin-footer.php');
@@ -1739,6 +1755,9 @@ class s2class {
1739
$this->subscribe2_cron($user_email);
1740
}
1741
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Preview message(s) sent to logged in user', 'subscribe2') . "</strong></p></div>";
1742
} elseif ( $_POST['submit'] ) {
1743
// BCClimit
1744
if ( is_numeric($_POST['bcc']) && $_POST['bcc'] >= 0 ) {
@@ -2124,18 +2143,18 @@ class s2class {
2124
echo "checked=\"checked\" ";
2125
}
2126
echo "/> " . __('HTML - Full', 'subscribe2') ."</label>&nbsp;&nbsp;";
2127
- echo "<label><input type=\"radio\" name=\"autoformat\" value=\"html\"";
2128
- if ( 'html' == $this->subscribe2_options['autoformat'] ) {
2129
echo "checked=\"checked\" ";
2130
}
2131
echo "/> " . __('HTML - Excerpt', 'subscribe2') ."</label>&nbsp;&nbsp;";
2132
- echo "<label><input type=\"radio\" name=\"autoformat\" value=\"html_excerpt\" ";
2133
- if ( 'html_excerpt' == $this->subscribe2_options['autoformat'] ) {
2134
echo "checked=\"checked\" ";
2135
}
2136
echo "/> " . __('Plain Text - Full', 'subscribe2') . "</label>&nbsp;&nbsp;";
2137
- echo "<label><input type=\"radio\" name=\"autoformat\" value=\"text\" ";
2138
- if ( 'text' == $this->subscribe2_options['autoformat'] ) {
2139
echo "checked=\"checked\" ";
2140
}
2141
echo "/> " . __('Plain Text - Excerpt', 'subscribe2') . "</label><br /><br />";
@@ -2725,6 +2744,10 @@ class s2class {
2725
echo "<strong>" . date_i18n($datetime) . "</strong></p>\r\n";
2726
echo "<p>" . __('Next email notification will be sent when your blog time is after', 'subscribe2') . ": \r\n";
2727
echo "<strong>" . date_i18n($datetime, $scheduled_time) . "</strong></p>\r\n";
2728
} else {
2729
echo "<br />";
2730
}
@@ -3169,7 +3192,7 @@ class s2class {
3169
/**
3170
Send a daily digest of today's new posts
3171
*/
3172
- function subscribe2_cron($preview = '') {
3173
if ( defined(S2_CRON) && S2_CRON ) { return; }
3174
define( S2_CRON, true );
3175
global $wpdb;
@@ -3178,7 +3201,9 @@ class s2class {
3178
// update last_s2cron execution time before completing or bailing
3179
$now = current_time('mysql');
3180
$prev = $this->subscribe2_options['last_s2cron'];
3181
$this->subscribe2_options['last_s2cron'] = $now;
3182
update_option('subscribe2_options', $this->subscribe2_options);
3183
3184
//set up SQL query based on options
@@ -3195,10 +3220,18 @@ class s2class {
3195
}
3196
3197
// collect posts
3198
- if ( $this->subscribe2_options['cron_order'] == 'desc' ) {
3199
- $posts = $wpdb->get_results("SELECT ID, post_title, post_excerpt, post_content, post_type, post_password, post_date FROM $wpdb->posts WHERE post_date >= '$prev' AND post_date < '$now' AND post_status IN ($status) AND post_type IN ($type) ORDER BY post_date DESC");
3200
} else {
3201
- $posts = $wpdb->get_results("SELECT ID, post_title, post_excerpt, post_content, post_type, post_password, post_date FROM $wpdb->posts WHERE post_date >= '$prev' AND post_date < '$now' AND post_status IN ($status) AND post_type IN ($type) ORDER BY post_date ASC");
3202
}
3203
} else {
3204
// we are sending a preview
@@ -3244,7 +3277,7 @@ class s2class {
3244
if ( $check ) {
3245
continue;
3246
}
3247
- $post_title = html_entity_decone($post->post_title, ENT_QUOTES);
3248
('' == $table) ? $table = "* " . $post_title : $table .= "\r\n* " . $post_title;
3249
$message_post .= $post_title . "\r\n";
3250
$message_post .= get_permalink($post->ID) . "\r\n";
3
Plugin Name: Subscribe2
4
Plugin URI: http://subscribe2.wordpress.com
5
Description: Notifies an email list when new entries are posted.
6
+ Version: 5.6
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
32
33
// our version number. Don't touch this or any line below
34
// unless you know exacly what you are doing
35
+ define( 'S2VERSION', '5.6' );
36
define( 'S2PATH', trailingslashit(dirname(__FILE__)) );
37
define( 'S2DIR', plugin_basename(dirname(__FILE__)) );
38
216
$this->subscribe2_options['version'] = S2VERSION;
217
// ensure that the options are in the database
218
require(S2PATH . "include/options.php");
219
+ // correct autoformat to upgrade from pre 5.6
220
+ if ( $this->subscribe2_options['autoformat'] == 'text' ) {
221
+ $this->subscribe2_options['autoformat'] = 'excerpt';
222
+ }
223
+ if ( $this->subscribe2_options['autoformat'] == 'full' ) {
224
+ $this->subscribe2_options['autoformat'] = 'post';
225
+ }
226
update_option('subscribe2_options', $this->subscribe2_options);
227
228
// upgrade old wpmu user meta data to new
616
$this->mail($this->get_registered("cats=$post_cats_string&format=post"), $subject, $full_body);
617
618
// next we send html excerpt content emails
619
+ $this->mail($this->get_registered("cats=$post_cats_string&format=html_excerpt"), $subject, $html_excerpt_body, 'html');
620
621
// finally we send html full content emails
622
$this->mail($this->get_registered("cats=$post_cats_string&format=html"), $subject, $html_body, 'html');
1109
$check_format = get_usermeta($user_ID, 's2_format');
1110
if ( empty($check_format) ) {
1111
// ensure existing subscription options are not overwritten on upgrade
1112
+ if ( in_array($this->subscribe2_options['autoformat'], array('html', 'html_excerpt', 'post', 'excerpt')) ) {
1113
+ update_usermeta($user_ID, 's2_format', $this->subscribe2_options['autoformat']);
1114
} else {
1115
update_usermeta($user_ID, 's2_format', 'excerpt');
1116
}
1209
}
1210
} // end unsubscribe_registered_users()
1211
1212
+ /**
1213
+ Handles bulk changes to email format for Registered Subscribers
1214
+ */
1215
+ function format_change($format, $subscribers_string) {
1216
+ if ( empty($format) ) { return; }
1217
+
1218
+ global $wpdb;
1219
+ $emails ='';
1220
+ $subscribers = explode(',', $subscribers_string);
1221
+ foreach ( $subscribers as $subscriber ) {
1222
+ ( '' == $emails) ? $emails = "'$subscriber'" : $emails .= ",'$subscriber'";
1223
+ }
1224
+ $ids = $wpdb->get_col("SELECT ID FROM $wpdb->users WHERE user_email IN ($emails)");
1225
+ $ids = implode(',', $ids);
1226
+ $sql = "UPDATE $wpdb->usermeta SET meta_value='{$format}' WHERE meta_key='s2_format' AND user_id IN ($ids)";
1227
+ $wpdb->get_results("UPDATE $wpdb->usermeta SET meta_value='{$format}' WHERE meta_key='s2_format' AND user_id IN ($ids)");
1228
+ } // end bulk_manage()
1229
+
1230
/**
1231
Handles subscriptions and unsubscriptions for different blogs on WPMU installs
1232
*/
1426
//Get Registered Subscribers for bulk management
1427
$registered = $this->get_registered();
1428
$all_users = $this->get_all_registered();
1429
1430
// was anything POSTed ?
1431
if ( isset($_POST['s2_admin']) ) {
1481
$this->unsubscribe_registered_users($_POST['emails'], $_POST['category']);
1482
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Registered Users Unsubscribed!', 'subscribe2') . "</strong></p></div>";
1483
} elseif ( $_POST['sub_format'] ) {
1484
+ $this->format_change( $_POST['format'], $_POST['emails'] );
1485
+ echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Format updated for Selected Registered Users!', 'subscribe2') . "</strong></p></div>";
1486
}
1487
}
1488
1699
}
1700
echo "</table>\r\n";
1701
1702
+ // show bulk managment form if filtered in some Registered Users
1703
+ if ( in_array($what, array('registered', 'all_users')) || is_numeric($what) ) {
1704
+ $subscribers_string = implode(',', $subscribers);
1705
+ echo "<h2>" . __('Categories', 'subscribe2') . "</h2>\r\n";
1706
+ echo __('Preferences for Registered Users selected in the filter above can be changed using this section.', 'subscribe2') . "<br />\r\n";
1707
+ echo "<strong><em style=\"color: red\">" . __('Consider User Privacy as changes cannot be undone', 'subscribe2') . "</em></strong><br />\r\n";
1708
+ echo "<br />" . __('Action to perform', 'subscribe2') . ":\r\n";
1709
+ echo "<label><input type=\"radio\" name=\"manage\" value=\"subscribe\" checked=\"checked\" /> " . __('Subscribe', 'subscribe2') . "</label>&nbsp;&nbsp;\r\n";
1710
+ echo "<label><input type=\"radio\" name=\"manage\" value=\"unsubscribe\" /> " . __('Unsubscribe', 'subscribe2') . "</label><br /><br />\r\n";
1711
+ echo "<input type=\"hidden\" name=\"emails\" value=\"$subscribers_string\" />\r\n";
1712
+ $this->display_category_form();
1713
+ echo "<p class=\"submit\"><input type=\"submit\" class=\"button-primary\" name=\"sub_categories\" value=\"" . __('Bulk Update Categories', 'subscribe2') . "\" /></p>";
1714
+
1715
+ echo "<br />" . __('Send email as', 'subscribe2') . ":\r\n";
1716
+ echo "<label><input type=\"radio\" name=\"format\" value=\"html\" /> " . __('HTML - Full', 'subscribe2') . "</label>&nbsp;&nbsp;\r\n";
1717
+ echo "<label><input type=\"radio\" name=\"format\" value=\"html_excerpt\" /> " . __('HTML - Excerpt', 'subscribe2') . "</label>&nbsp;&nbsp;\r\n";
1718
+ echo "<label><input type=\"radio\" name=\"format\" value=\"full\" /> " . __('Plain Text - Full', 'subscribe2') . "</label>&nbsp;&nbsp;\r\n";
1719
+ echo "<label><input type=\"radio\" name=\"format\" value=\"excerpt\" checked=\"checked\" /> " . __('Plain Text - Excerpt', 'subscribe2') . "</label>\r\n";
1720
+ echo "<p class=\"submit\"><input type=\"submit\" class=\"button-primary\" name=\"sub_format\" value=\"" . __('Bulk Update Format', 'subscribe2') . "\" /></p>";
1721
+ }
1722
echo "</form></div>\r\n";
1723
1724
include(ABSPATH . 'wp-admin/admin-footer.php');
1755
$this->subscribe2_cron($user_email);
1756
}
1757
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Preview message(s) sent to logged in user', 'subscribe2') . "</strong></p></div>";
1758
+ } elseif ( $_POST['resend'] ) {
1759
+ $this->subscribe2_cron('', 'resend');
1760
+ echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Attempt made to resend the Digest Notification email', 'subscribe2') . "</strong></p></div>";
1761
} elseif ( $_POST['submit'] ) {
1762
// BCClimit
1763
if ( is_numeric($_POST['bcc']) && $_POST['bcc'] >= 0 ) {
2143
echo "checked=\"checked\" ";
2144
}
2145
echo "/> " . __('HTML - Full', 'subscribe2') ."</label>&nbsp;&nbsp;";
2146
+ echo "<label><input type=\"radio\" name=\"autoformat\" value=\"html_excerpt\"";
2147
+ if ( 'html_excerpt' == $this->subscribe2_options['autoformat'] ) {
2148
echo "checked=\"checked\" ";
2149
}
2150
echo "/> " . __('HTML - Excerpt', 'subscribe2') ."</label>&nbsp;&nbsp;";
2151
+ echo "<label><input type=\"radio\" name=\"autoformat\" value=\"post\" ";
2152
+ if ( 'post' == $this->subscribe2_options['autoformat'] ) {
2153
echo "checked=\"checked\" ";
2154
}
2155
echo "/> " . __('Plain Text - Full', 'subscribe2') . "</label>&nbsp;&nbsp;";
2156
+ echo "<label><input type=\"radio\" name=\"autoformat\" value=\"excerpt\" ";
2157
+ if ( 'excerpt' == $this->subscribe2_options['autoformat'] ) {
2158
echo "checked=\"checked\" ";
2159
}
2160
echo "/> " . __('Plain Text - Excerpt', 'subscribe2') . "</label><br /><br />";
2744
echo "<strong>" . date_i18n($datetime) . "</strong></p>\r\n";
2745
echo "<p>" . __('Next email notification will be sent when your blog time is after', 'subscribe2') . ": \r\n";
2746
echo "<strong>" . date_i18n($datetime, $scheduled_time) . "</strong></p>\r\n";
2747
+ if ( !empty($this->subscribe2_options['previous_s2cron']) ) {
2748
+ echo "<p>" . __('Attempt to resend the last Digest Notification email', 'subscribe2') . ": ";
2749
+ echo "<input type=\"submit\" class=\"button-secondary\" name=\"resend\" value=\"" . __('Resend Digest', 'subscribe2') . "\" /></p>\r\n";
2750
+ }
2751
} else {
2752
echo "<br />";
2753
}
3192
/**
3193
Send a daily digest of today's new posts
3194
*/
3195
+ function subscribe2_cron($preview = '', $resend = '') {
3196
if ( defined(S2_CRON) && S2_CRON ) { return; }
3197
define( S2_CRON, true );
3198
global $wpdb;
3201
// update last_s2cron execution time before completing or bailing
3202
$now = current_time('mysql');
3203
$prev = $this->subscribe2_options['last_s2cron'];
3204
+ $last = $this->subscribe2_options['previous_s2cron'];
3205
$this->subscribe2_options['last_s2cron'] = $now;
3206
+ $this->subscribe2_options['previous_s2cron'] = $prev;
3207
update_option('subscribe2_options', $this->subscribe2_options);
3208
3209
//set up SQL query based on options
3220
}
3221
3222
// collect posts
3223
+ if ( $resend == 'resend' ) {
3224
+ if ( $this->subscribe2_options['cron_order'] == 'desc' ) {
3225
+ $posts = $wpdb->get_results("SELECT ID, post_title, post_excerpt, post_content, post_type, post_password, post_date FROM $wpdb->posts WHERE post_date >= '$last' AND post_date < '$prev' AND post_status IN ($status) AND post_type IN ($type) ORDER BY post_date DESC");
3226
+ } else {
3227
+ $posts = $wpdb->get_results("SELECT ID, post_title, post_excerpt, post_content, post_type, post_password, post_date FROM $wpdb->posts WHERE post_date >= '$last' AND post_date < '$prev' AND post_status IN ($status) AND post_type IN ($type) ORDER BY post_date ASC");
3228
+ }
3229
} else {
3230
+ if ( $this->subscribe2_options['cron_order'] == 'desc' ) {
3231
+ $posts = $wpdb->get_results("SELECT ID, post_title, post_excerpt, post_content, post_type, post_password, post_date FROM $wpdb->posts WHERE post_date >= '$prev' AND post_date < '$now' AND post_status IN ($status) AND post_type IN ($type) ORDER BY post_date DESC");
3232
+ } else {
3233
+ $posts = $wpdb->get_results("SELECT ID, post_title, post_excerpt, post_content, post_type, post_password, post_date FROM $wpdb->posts WHERE post_date >= '$prev' AND post_date < '$now' AND post_status IN ($status) AND post_type IN ($type) ORDER BY post_date ASC");
3234
+ }
3235
}
3236
} else {
3237
// we are sending a preview
3277
if ( $check ) {
3278
continue;
3279
}
3280
+ $post_title = html_entity_decode($post->post_title, ENT_QUOTES);
3281
('' == $table) ? $table = "* " . $post_title : $table .= "\r\n* " . $post_title;
3282
$message_post .= $post_title . "\r\n";
3283
$message_post .= get_permalink($post->ID) . "\r\n";
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: 2010-03-06 09:51+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"
@@ -80,13 +80,13 @@ msgstr ""
80
msgid "Enter email address..."
81
msgstr ""
82
83
- #: subscribe2.php:95 subscribe2.php:1602 subscribe2.php:1694
84
- #: subscribe2.php:2424
85
msgid "Subscribe"
86
msgstr ""
87
88
- #: subscribe2.php:95 subscribe2.php:1603 subscribe2.php:1695
89
- #: subscribe2.php:2403
90
msgid "Unsubscribe"
91
msgstr ""
92
@@ -126,11 +126,11 @@ msgstr ""
126
msgid "Subscribe2 Options"
127
msgstr ""
128
129
- #: subscribe2.php:121 subscribe2.php:2993 subscribe2.php:3113
130
msgid "Subscribe2"
131
msgstr ""
132
133
- #: subscribe2.php:126 subscribe2.php:1905
134
msgid "Subscriptions"
135
msgstr ""
136
@@ -138,680 +138,692 @@ msgstr ""
138
msgid "Mail Subscribers"
139
msgstr ""
140
141
- #: subscribe2.php:859
142
msgid "New subscription"
143
msgstr ""
144
145
- #: subscribe2.php:861
146
msgid "subscribed to email notifications!"
147
msgstr ""
148
149
- #: subscribe2.php:877
150
msgid "New Unsubscription"
151
msgstr ""
152
153
- #: subscribe2.php:879
154
msgid "unsubscribed from email notifications!"
155
msgstr ""
156
157
- #: subscribe2.php:1417
158
msgid "Address(es) subscribed!"
159
msgstr ""
160
161
- #: subscribe2.php:1420
162
msgid "Address(es) unsubscribed!"
163
msgstr ""
164
165
- #: subscribe2.php:1430
166
msgid "Address(es) deleted!"
167
msgstr ""
168
169
- #: subscribe2.php:1436 subscribe2.php:1442
170
msgid "Status changed!"
171
msgstr ""
172
173
- #: subscribe2.php:1456
174
msgid "Reminder Email(s) Sent!"
175
msgstr ""
176
177
- #: subscribe2.php:1459
178
msgid "Registered Users Subscribed!"
179
msgstr ""
180
181
- #: subscribe2.php:1462
182
msgid "Registered Users Unsubscribed!"
183
msgstr ""
184
185
- #: subscribe2.php:1471
186
- msgid "Format updated for Registered Users!"
187
msgstr ""
188
189
- #: subscribe2.php:1566
190
msgid "Previous Page"
191
msgstr ""
192
193
- #: subscribe2.php:1586
194
msgid "Next Page"
195
msgstr ""
196
197
- #: subscribe2.php:1593
198
msgid "Manage Subscribers"
199
msgstr ""
200
201
- #: subscribe2.php:1598
202
msgid "Add/Remove Subscribers"
203
msgstr ""
204
205
- #: subscribe2.php:1599
206
msgid "Enter addresses, one per line or comma-separated"
207
msgstr ""
208
209
- #: subscribe2.php:1606
210
msgid "Current Subscribers"
211
msgstr ""
212
213
- #: subscribe2.php:1608
214
msgid "Filter"
215
msgstr ""
216
217
- #: subscribe2.php:1613
218
msgid "Search Subscribers"
219
msgstr ""
220
221
- #: subscribe2.php:1616
222
msgid "Send Reminder Email"
223
msgstr ""
224
225
- #: subscribe2.php:1623
226
msgid "Save Emails to CSV File"
227
msgstr ""
228
229
- #: subscribe2.php:1629 subscribe2.php:1683
230
msgid "Process"
231
msgstr ""
232
233
- #: subscribe2.php:1638 subscribe2.php:1660
234
msgid "Confirm this email address"
235
msgstr ""
236
237
- #: subscribe2.php:1640 subscribe2.php:1653
238
msgid "Unconfirm this email address"
239
msgstr ""
240
241
- #: subscribe2.php:1642 subscribe2.php:1655 subscribe2.php:1663
242
msgid "Delete this email address"
243
msgstr ""
244
245
- #: subscribe2.php:1646 subscribe2.php:2539
246
msgid "Select / Unselect All"
247
msgstr ""
248
249
- #: subscribe2.php:1670
250
msgid "edit"
251
msgstr ""
252
253
- #: subscribe2.php:1677
254
msgid "No matching subscribers found"
255
msgstr ""
256
257
- #: subscribe2.php:1679
258
msgid "NONE"
259
msgstr ""
260
261
- #: subscribe2.php:1689
262
msgid "Categories"
263
msgstr ""
264
265
- #: subscribe2.php:1690
266
msgid ""
267
- "Preferences for all existing Registered Users can be changed using this "
268
- "section."
269
msgstr ""
270
271
- #: subscribe2.php:1691
272
msgid "Consider User Privacy as changes cannot be undone"
273
msgstr ""
274
275
- #: subscribe2.php:1693
276
msgid "Action to perform"
277
msgstr ""
278
279
- #: subscribe2.php:1698
280
msgid "Bulk Update Categories"
281
msgstr ""
282
283
- #: subscribe2.php:1700
284
msgid "Send email as"
285
msgstr ""
286
287
- #: subscribe2.php:1701 subscribe2.php:2126 subscribe2.php:2275
288
msgid "HTML - Full"
289
msgstr ""
290
291
- #: subscribe2.php:1702 subscribe2.php:2131 subscribe2.php:2280
292
msgid "HTML - Excerpt"
293
msgstr ""
294
295
- #: subscribe2.php:1703 subscribe2.php:2136 subscribe2.php:2285
296
msgid "Plain Text - Full"
297
msgstr ""
298
299
- #: subscribe2.php:1704 subscribe2.php:2141 subscribe2.php:2290
300
msgid "Plain Text - Excerpt"
301
msgstr ""
302
303
- #: subscribe2.php:1705
304
msgid "Bulk Update Format"
305
msgstr ""
306
307
- #: subscribe2.php:1741
308
msgid "Preview message(s) sent to logged in user"
309
msgstr ""
310
311
- #: subscribe2.php:1877
312
msgid "Subscribe2 Settings"
313
msgstr ""
314
315
- #: subscribe2.php:1878
316
msgid "Plugin Blog"
317
msgstr ""
318
319
- #: subscribe2.php:1879
320
msgid "Support Forum"
321
msgstr ""
322
323
- #: subscribe2.php:1880
324
msgid "Make a donation via PayPal"
325
msgstr ""
326
327
- #: subscribe2.php:1891 subscribe2.php:2258
328
msgid "Notification Settings"
329
msgstr ""
330
331
- #: subscribe2.php:1892
332
msgid "Restrict the number of recipients per email to (0 for unlimited)"
333
msgstr ""
334
335
- #: subscribe2.php:1894 subscribe2.php:2052
336
msgid "Edit"
337
msgstr ""
338
339
- #: subscribe2.php:1897 subscribe2.php:2055
340
msgid "Update"
341
msgstr ""
342
343
- #: subscribe2.php:1898 subscribe2.php:2056
344
msgid "Revert"
345
msgstr ""
346
347
- #: subscribe2.php:1900
348
msgid "Send Admins notifications for new"
349
msgstr ""
350
351
- #: subscribe2.php:1910
352
msgid "Unsubscriptions"
353
msgstr ""
354
355
- #: subscribe2.php:1915
356
msgid "Both"
357
msgstr ""
358
359
- #: subscribe2.php:1920
360
msgid "Neither"
361
msgstr ""
362
363
- #: subscribe2.php:1922
364
msgid "Include theme CSS stylesheet in HTML notifications"
365
msgstr ""
366
367
- #: subscribe2.php:1927 subscribe2.php:1939 subscribe2.php:1950
368
- #: subscribe2.php:1961 subscribe2.php:2104 subscribe2.php:2115
369
- #: subscribe2.php:2147 subscribe2.php:2163 subscribe2.php:2298
370
- #: subscribe2.php:2334
371
msgid "Yes"
372
msgstr ""
373
374
- #: subscribe2.php:1932 subscribe2.php:1944 subscribe2.php:1955
375
- #: subscribe2.php:1966 subscribe2.php:2098 subscribe2.php:2109
376
- #: subscribe2.php:2120 subscribe2.php:2152 subscribe2.php:2168
377
- #: subscribe2.php:2303 subscribe2.php:2338
378
msgid "No"
379
msgstr ""
380
381
- #: subscribe2.php:1934
382
msgid "Send Emails for Pages"
383
msgstr ""
384
385
- #: subscribe2.php:1945
386
msgid "Send Emails for Password Protected Posts"
387
msgstr ""
388
389
- #: subscribe2.php:1956
390
msgid "Send Emails for Private Posts"
391
msgstr ""
392
393
- #: subscribe2.php:1967
394
msgid "Send Email From"
395
msgstr ""
396
397
- #: subscribe2.php:1972
398
msgid "Send Emails"
399
msgstr ""
400
401
- #: subscribe2.php:1974
402
msgid "For digest notifications, date order for posts is"
403
msgstr ""
404
405
- #: subscribe2.php:1979
406
msgid "Descending"
407
msgstr ""
408
409
- #: subscribe2.php:1984
410
msgid "Ascending"
411
msgstr ""
412
413
- #: subscribe2.php:1988
414
msgid "Email Templates"
415
msgstr ""
416
417
- #: subscribe2.php:1992
418
msgid "New Post email (must not be empty)"
419
msgstr ""
420
421
- #: subscribe2.php:1993 subscribe2.php:2019 subscribe2.php:2024
422
msgid "Subject Line"
423
msgstr ""
424
425
- #: subscribe2.php:1998
426
msgid "Send Email Preview"
427
msgstr ""
428
429
- #: subscribe2.php:1999
430
msgid "Message substitions"
431
msgstr ""
432
433
- #: subscribe2.php:2003
434
msgid "the post's title<br />(<i>for per-post emails only</i>)"
435
msgstr ""
436
437
- #: subscribe2.php:2004
438
msgid ""
439
"the excerpt or the entire post<br />(<i>based on the subscriber's "
440
"preferences</i>)"
441
msgstr ""
442
443
- #: subscribe2.php:2005
444
msgid ""
445
"the excerpt of the post and the time it was posted<br />(<i>for digest "
446
"emails only</i>)"
447
msgstr ""
448
449
- #: subscribe2.php:2006
450
msgid "a list of post titles<br />(<i>for digest emails only</i>)"
451
msgstr ""
452
453
- #: subscribe2.php:2007
454
msgid "the post's permalink<br />(<i>for per-post emails only</i>)"
455
msgstr ""
456
457
- #: subscribe2.php:2008
458
msgid ""
459
"the post's permalink after conversion by TinyURL<br />(<i>for per-post "
460
"emails only</i>)"
461
msgstr ""
462
463
- #: subscribe2.php:2009
464
msgid "the admin or post author's name"
465
msgstr ""
466
467
- #: subscribe2.php:2010
468
msgid "the admin or post author's email"
469
msgstr ""
470
471
- #: subscribe2.php:2011
472
msgid "the post author's name"
473
msgstr ""
474
475
- #: subscribe2.php:2012
476
msgid ""
477
"the generated link to confirm a request<br />(<i>only used in the "
478
"confirmation email template</i>)"
479
msgstr ""
480
481
- #: subscribe2.php:2013
482
msgid ""
483
"Action performed by LINK in confirmation email<br />(<i>only used in the "
484
"confirmation email template</i>)"
485
msgstr ""
486
487
- #: subscribe2.php:2014
488
msgid "the post's assigned categories"
489
msgstr ""
490
491
- #: subscribe2.php:2015
492
msgid "the post's assigned Tags"
493
msgstr ""
494
495
- #: subscribe2.php:2016
496
msgid ""
497
"the number of posts included in the digest email<br />(<i>for digest emails "
498
"only</i>)"
499
msgstr ""
500
501
- #: subscribe2.php:2018
502
msgid "Subscribe / Unsubscribe confirmation email"
503
msgstr ""
504
505
- #: subscribe2.php:2023
506
msgid "Reminder email to Unconfirmed Subscribers"
507
msgstr ""
508
509
- #: subscribe2.php:2030
510
msgid "Excluded Categories"
511
msgstr ""
512
513
- #: subscribe2.php:2032
514
msgid ""
515
"Posts assigned to any Excluded Category do not generate notifications and "
516
"are not included in digest notifications"
517
msgstr ""
518
519
- #: subscribe2.php:2039
520
msgid "Allow registered users to subscribe to excluded categories?"
521
msgstr ""
522
523
- #: subscribe2.php:2042
524
msgid "Appearance"
525
msgstr ""
526
527
- #: subscribe2.php:2046
528
msgid "Set default Subscribe2 page as ID"
529
msgstr ""
530
531
- #: subscribe2.php:2050
532
msgid "Set the number of Subscribers displayed per page"
533
msgstr ""
534
535
- #: subscribe2.php:2063
536
msgid "Show a link to your subscription page in \"meta\"?"
537
msgstr ""
538
539
- #: subscribe2.php:2070
540
msgid "Show the Subscribe2 button on the Write toolbar?"
541
msgstr ""
542
543
- #: subscribe2.php:2077
544
msgid "Enable Subscribe2 Widget?"
545
msgstr ""
546
547
- #: subscribe2.php:2081
548
msgid "Auto Subscribe"
549
msgstr ""
550
551
- #: subscribe2.php:2083
552
msgid "Subscribe new users registering with your blog"
553
msgstr ""
554
555
- #: subscribe2.php:2088
556
msgid "Automatically"
557
msgstr ""
558
559
- #: subscribe2.php:2093
560
msgid "Display option on Registration Form"
561
msgstr ""
562
563
- #: subscribe2.php:2099
564
msgid "Auto-subscribe includes any excluded categories"
565
msgstr ""
566
567
- #: subscribe2.php:2110
568
msgid "Registration Form option is checked by default"
569
msgstr ""
570
571
- #: subscribe2.php:2121
572
msgid "Auto-subscribe users to receive email as"
573
msgstr ""
574
575
- #: subscribe2.php:2142
576
msgid "Registered Users have the option to auto-subscribe to new categories"
577
msgstr ""
578
579
- #: subscribe2.php:2157
580
msgid "New categories are immediately excluded"
581
msgstr ""
582
583
- #: subscribe2.php:2158
584
msgid ""
585
"Option for Registered Users to auto-subscribe to new categories is checked "
586
"by default"
587
msgstr ""
588
589
- #: subscribe2.php:2172
590
msgid "Barred Domains"
591
msgstr ""
592
593
- #: subscribe2.php:2174
594
msgid ""
595
"Enter domains to bar from public subscriptions: <br /> (Use a new line for "
596
"each entry and omit the \"@\" symbol, for example email.com)"
597
msgstr ""
598
599
- #: subscribe2.php:2179
600
msgid "Submit"
601
msgstr ""
602
603
- #: subscribe2.php:2182
604
msgid "Reset Default"
605
msgstr ""
606
607
- #: subscribe2.php:2183
608
msgid ""
609
"Use this to reset all options to their defaults. This <strong><em>will not</"
610
"em></strong> modify your list of subscribers."
611
msgstr ""
612
613
- #: subscribe2.php:2185
614
msgid "RESET"
615
msgstr ""
616
617
- #: subscribe2.php:2211
618
msgid "Subscription preferences updated."
619
msgstr ""
620
621
- #: subscribe2.php:2261
622
msgid "Editing Subscribe2 preferences for user"
623
msgstr ""
624
625
- #: subscribe2.php:2270
626
msgid "Receive email as"
627
msgstr ""
628
629
- #: subscribe2.php:2293
630
msgid "Automatically subscribe me to newly created categories"
631
msgstr ""
632
633
- #: subscribe2.php:2314
634
msgid "Unsubscribe me from this blog"
635
msgstr ""
636
637
- #: subscribe2.php:2318
638
msgid "Subscribe to all categories"
639
msgstr ""
640
641
- #: subscribe2.php:2320
642
msgid "Subscribed Categories on"
643
msgstr ""
644
645
- #: subscribe2.php:2322
646
msgid "Subscribed Categories"
647
msgstr ""
648
649
- #: subscribe2.php:2328
650
msgid "Receive periodic summaries of new posts?"
651
msgstr ""
652
653
- #: subscribe2.php:2343
654
msgid "Update Preferences"
655
msgstr ""
656
657
- #: subscribe2.php:2392
658
msgid "Subscribed Blogs"
659
msgstr ""
660
661
- #: subscribe2.php:2397 subscribe2.php:2418
662
msgid "Viewing Settings Now"
663
msgstr ""
664
665
- #: subscribe2.php:2401 subscribe2.php:2422
666
msgid "View Settings"
667
msgstr ""
668
669
- #: subscribe2.php:2413
670
msgid "Subscribe to new blogs"
671
msgstr ""
672
673
- #: subscribe2.php:2486
674
msgid "Send an email to subscribers"
675
msgstr ""
676
677
- #: subscribe2.php:2494
678
msgid "A message from"
679
msgstr ""
680
681
- #: subscribe2.php:2496
682
msgid "Subject"
683
msgstr ""
684
685
- #: subscribe2.php:2499
686
msgid "Recipients:"
687
msgstr ""
688
689
- #: subscribe2.php:2503
690
msgid "Send"
691
msgstr ""
692
693
- #: subscribe2.php:2574
694
msgid "All Users and Subscribers"
695
msgstr ""
696
697
- #: subscribe2.php:2575
698
msgid "Public Subscribers"
699
msgstr ""
700
701
- #: subscribe2.php:2576
702
msgid "Confirmed"
703
msgstr ""
704
705
- #: subscribe2.php:2577
706
msgid "Unconfirmed"
707
msgstr ""
708
709
- #: subscribe2.php:2578
710
msgid "All Registered Users"
711
msgstr ""
712
713
- #: subscribe2.php:2579
714
msgid "Registered Subscribers"
715
msgstr ""
716
717
- #: subscribe2.php:2690
718
msgid "For each Post"
719
msgstr ""
720
721
- #: subscribe2.php:2707
722
msgid "Send Digest Notification at"
723
msgstr ""
724
725
- #: subscribe2.php:2719
726
msgid ""
727
"This option will be ignored if the time selected is not in the future in "
728
"relation to the current time"
729
msgstr ""
730
731
- #: subscribe2.php:2722
732
msgid "Current UTC time is"
733
msgstr ""
734
735
- #: subscribe2.php:2724
736
msgid "Current blog time is"
737
msgstr ""
738
739
- #: subscribe2.php:2726
740
msgid "Next email notification will be sent when your blog time is after"
741
msgstr ""
742
743
- #: subscribe2.php:2778
744
msgid "Settings"
745
msgstr ""
746
747
- #: subscribe2.php:2779
748
msgid "Donate"
749
msgstr ""
750
751
- #: subscribe2.php:2780
752
msgid "Forum"
753
msgstr ""
754
755
- #: subscribe2.php:2791
756
msgid "Check here to Subscribe to email notifications for new posts"
757
msgstr ""
758
759
- #: subscribe2.php:2800
760
msgid ""
761
"By registering with this blog you are also agreeing to receive email "
762
"notifications for new posts but you can unsubscribe at anytime"
763
msgstr ""
764
765
- #: subscribe2.php:2821 subscribe2.php:2822 subscribe2.php:2850
766
msgid "Subscribe2 Notification Override"
767
msgstr ""
768
769
- #: subscribe2.php:2836
770
msgid ""
771
"Check here to disable sending of an email notification for this post/page"
772
msgstr ""
773
774
- #: subscribe2.php:2979
775
msgid "Subscription Confirmation"
776
msgstr ""
777
778
- #: subscribe2.php:3031
779
msgid "Title"
780
msgstr ""
781
782
- #: subscribe2.php:3033
783
msgid "Div class name"
784
msgstr ""
785
786
- #: subscribe2.php:3035
787
msgid "Pre-Content"
788
msgstr ""
789
790
- #: subscribe2.php:3037
791
msgid "Post-Content"
792
msgstr ""
793
794
- #: subscribe2.php:3087
795
msgid "[Un]Subscribe to Posts"
796
msgstr ""
797
798
- #: subscribe2.php:3165
799
msgid "Weekly"
800
msgstr ""
801
802
- #: subscribe2.php:3252
803
msgid "Posted on"
804
msgstr ""
805
806
- #: subscribe2.php:3256 subscribe2.php:3257
807
msgid "Posted in"
808
msgstr ""
809
810
- #: subscribe2.php:3262 subscribe2.php:3263
811
msgid "Tagged as"
812
msgstr ""
813
814
- #: subscribe2.php:3315
815
msgid "Digest Email"
816
msgstr ""
817
8
msgstr ""
9
"Project-Id-Version: PACKAGE VERSION\n"
10
"Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2010-03-11 21:22+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"
80
msgid "Enter email address..."
81
msgstr ""
82
83
+ #: subscribe2.php:95 subscribe2.php:1613 subscribe2.php:1706
84
+ #: subscribe2.php:2440
85
msgid "Subscribe"
86
msgstr ""
87
88
+ #: subscribe2.php:95 subscribe2.php:1614 subscribe2.php:1707
89
+ #: subscribe2.php:2419
90
msgid "Unsubscribe"
91
msgstr ""
92
126
msgid "Subscribe2 Options"
127
msgstr ""
128
129
+ #: subscribe2.php:121 subscribe2.php:3013 subscribe2.php:3133
130
msgid "Subscribe2"
131
msgstr ""
132
133
+ #: subscribe2.php:126 subscribe2.php:1921
134
msgid "Subscriptions"
135
msgstr ""
136
138
msgid "Mail Subscribers"
139
msgstr ""
140
141
+ #: subscribe2.php:866
142
msgid "New subscription"
143
msgstr ""
144
145
+ #: subscribe2.php:868
146
msgid "subscribed to email notifications!"
147
msgstr ""
148
149
+ #: subscribe2.php:884
150
msgid "New Unsubscription"
151
msgstr ""
152
153
+ #: subscribe2.php:886
154
msgid "unsubscribed from email notifications!"
155
msgstr ""
156
157
+ #: subscribe2.php:1434
158
msgid "Address(es) subscribed!"
159
msgstr ""
160
161
+ #: subscribe2.php:1437
162
msgid "Address(es) unsubscribed!"
163
msgstr ""
164
165
+ #: subscribe2.php:1447
166
msgid "Address(es) deleted!"
167
msgstr ""
168
169
+ #: subscribe2.php:1453 subscribe2.php:1459
170
msgid "Status changed!"
171
msgstr ""
172
173
+ #: subscribe2.php:1473
174
msgid "Reminder Email(s) Sent!"
175
msgstr ""
176
177
+ #: subscribe2.php:1476
178
msgid "Registered Users Subscribed!"
179
msgstr ""
180
181
+ #: subscribe2.php:1479
182
msgid "Registered Users Unsubscribed!"
183
msgstr ""
184
185
+ #: subscribe2.php:1482
186
+ msgid "Format updated for Selected Registered Users!"
187
msgstr ""
188
189
+ #: subscribe2.php:1577
190
msgid "Previous Page"
191
msgstr ""
192
193
+ #: subscribe2.php:1597
194
msgid "Next Page"
195
msgstr ""
196
197
+ #: subscribe2.php:1604
198
msgid "Manage Subscribers"
199
msgstr ""
200
201
+ #: subscribe2.php:1609
202
msgid "Add/Remove Subscribers"
203
msgstr ""
204
205
+ #: subscribe2.php:1610
206
msgid "Enter addresses, one per line or comma-separated"
207
msgstr ""
208
209
+ #: subscribe2.php:1617
210
msgid "Current Subscribers"
211
msgstr ""
212
213
+ #: subscribe2.php:1619
214
msgid "Filter"
215
msgstr ""
216
217
+ #: subscribe2.php:1624
218
msgid "Search Subscribers"
219
msgstr ""
220
221
+ #: subscribe2.php:1627
222
msgid "Send Reminder Email"
223
msgstr ""
224
225
+ #: subscribe2.php:1634
226
msgid "Save Emails to CSV File"
227
msgstr ""
228
229
+ #: subscribe2.php:1640 subscribe2.php:1694
230
msgid "Process"
231
msgstr ""
232
233
+ #: subscribe2.php:1649 subscribe2.php:1671
234
msgid "Confirm this email address"
235
msgstr ""
236
237
+ #: subscribe2.php:1651 subscribe2.php:1664
238
msgid "Unconfirm this email address"
239
msgstr ""
240
241
+ #: subscribe2.php:1653 subscribe2.php:1666 subscribe2.php:1674
242
msgid "Delete this email address"
243
msgstr ""
244
245
+ #: subscribe2.php:1657 subscribe2.php:2555
246
msgid "Select / Unselect All"
247
msgstr ""
248
249
+ #: subscribe2.php:1681
250
msgid "edit"
251
msgstr ""
252
253
+ #: subscribe2.php:1688
254
msgid "No matching subscribers found"
255
msgstr ""
256
257
+ #: subscribe2.php:1690
258
msgid "NONE"
259
msgstr ""
260
261
+ #: subscribe2.php:1702
262
msgid "Categories"
263
msgstr ""
264
265
+ #: subscribe2.php:1703
266
msgid ""
267
+ "Preferences for Registered Users selected in the filter above can be changed "
268
+ "using this section."
269
msgstr ""
270
271
+ #: subscribe2.php:1704
272
msgid "Consider User Privacy as changes cannot be undone"
273
msgstr ""
274
275
+ #: subscribe2.php:1705
276
msgid "Action to perform"
277
msgstr ""
278
279
+ #: subscribe2.php:1710
280
msgid "Bulk Update Categories"
281
msgstr ""
282
283
+ #: subscribe2.php:1712
284
msgid "Send email as"
285
msgstr ""
286
287
+ #: subscribe2.php:1713 subscribe2.php:2142 subscribe2.php:2291
288
msgid "HTML - Full"
289
msgstr ""
290
291
+ #: subscribe2.php:1714 subscribe2.php:2147 subscribe2.php:2296
292
msgid "HTML - Excerpt"
293
msgstr ""
294
295
+ #: subscribe2.php:1715 subscribe2.php:2152 subscribe2.php:2301
296
msgid "Plain Text - Full"
297
msgstr ""
298
299
+ #: subscribe2.php:1716 subscribe2.php:2157 subscribe2.php:2306
300
msgid "Plain Text - Excerpt"
301
msgstr ""
302
303
+ #: subscribe2.php:1717
304
msgid "Bulk Update Format"
305
msgstr ""
306
307
+ #: subscribe2.php:1754
308
msgid "Preview message(s) sent to logged in user"
309
msgstr ""
310
311
+ #: subscribe2.php:1757
312
+ msgid "Attempt made to resend the Digest Notification email"
313
+ msgstr ""
314
+
315
+ #: subscribe2.php:1893
316
msgid "Subscribe2 Settings"
317
msgstr ""
318
319
+ #: subscribe2.php:1894
320
msgid "Plugin Blog"
321
msgstr ""
322
323
+ #: subscribe2.php:1895
324
msgid "Support Forum"
325
msgstr ""
326
327
+ #: subscribe2.php:1896
328
msgid "Make a donation via PayPal"
329
msgstr ""
330
331
+ #: subscribe2.php:1907 subscribe2.php:2274
332
msgid "Notification Settings"
333
msgstr ""
334
335
+ #: subscribe2.php:1908
336
msgid "Restrict the number of recipients per email to (0 for unlimited)"
337
msgstr ""
338
339
+ #: subscribe2.php:1910 subscribe2.php:2068
340
msgid "Edit"
341
msgstr ""
342
343
+ #: subscribe2.php:1913 subscribe2.php:2071
344
msgid "Update"
345
msgstr ""
346
347
+ #: subscribe2.php:1914 subscribe2.php:2072
348
msgid "Revert"
349
msgstr ""
350
351
+ #: subscribe2.php:1916
352
msgid "Send Admins notifications for new"
353
msgstr ""
354
355
+ #: subscribe2.php:1926
356
msgid "Unsubscriptions"
357
msgstr ""
358
359
+ #: subscribe2.php:1931
360
msgid "Both"
361
msgstr ""
362
363
+ #: subscribe2.php:1936
364
msgid "Neither"
365
msgstr ""
366
367
+ #: subscribe2.php:1938
368
msgid "Include theme CSS stylesheet in HTML notifications"
369
msgstr ""
370
371
+ #: subscribe2.php:1943 subscribe2.php:1955 subscribe2.php:1966
372
+ #: subscribe2.php:1977 subscribe2.php:2120 subscribe2.php:2131
373
+ #: subscribe2.php:2163 subscribe2.php:2179 subscribe2.php:2314
374
+ #: subscribe2.php:2350
375
msgid "Yes"
376
msgstr ""
377
378
+ #: subscribe2.php:1948 subscribe2.php:1960 subscribe2.php:1971
379
+ #: subscribe2.php:1982 subscribe2.php:2114 subscribe2.php:2125
380
+ #: subscribe2.php:2136 subscribe2.php:2168 subscribe2.php:2184
381
+ #: subscribe2.php:2319 subscribe2.php:2354
382
msgid "No"
383
msgstr ""
384
385
+ #: subscribe2.php:1950
386
msgid "Send Emails for Pages"
387
msgstr ""
388
389
+ #: subscribe2.php:1961
390
msgid "Send Emails for Password Protected Posts"
391
msgstr ""
392
393
+ #: subscribe2.php:1972
394
msgid "Send Emails for Private Posts"
395
msgstr ""
396
397
+ #: subscribe2.php:1983
398
msgid "Send Email From"
399
msgstr ""
400
401
+ #: subscribe2.php:1988
402
msgid "Send Emails"
403
msgstr ""
404
405
+ #: subscribe2.php:1990
406
msgid "For digest notifications, date order for posts is"
407
msgstr ""
408
409
+ #: subscribe2.php:1995
410
msgid "Descending"
411
msgstr ""
412
413
+ #: subscribe2.php:2000
414
msgid "Ascending"
415
msgstr ""
416
417
+ #: subscribe2.php:2004
418
msgid "Email Templates"
419
msgstr ""
420
421
+ #: subscribe2.php:2008
422
msgid "New Post email (must not be empty)"
423
msgstr ""
424
425
+ #: subscribe2.php:2009 subscribe2.php:2035 subscribe2.php:2040
426
msgid "Subject Line"
427
msgstr ""
428
429
+ #: subscribe2.php:2014
430
msgid "Send Email Preview"
431
msgstr ""
432
433
+ #: subscribe2.php:2015
434
msgid "Message substitions"
435
msgstr ""
436
437
+ #: subscribe2.php:2019
438
msgid "the post's title<br />(<i>for per-post emails only</i>)"
439
msgstr ""
440
441
+ #: subscribe2.php:2020
442
msgid ""
443
"the excerpt or the entire post<br />(<i>based on the subscriber's "
444
"preferences</i>)"
445
msgstr ""
446
447
+ #: subscribe2.php:2021
448
msgid ""
449
"the excerpt of the post and the time it was posted<br />(<i>for digest "
450
"emails only</i>)"
451
msgstr ""
452
453
+ #: subscribe2.php:2022
454
msgid "a list of post titles<br />(<i>for digest emails only</i>)"
455
msgstr ""
456
457
+ #: subscribe2.php:2023
458
msgid "the post's permalink<br />(<i>for per-post emails only</i>)"
459
msgstr ""
460
461
+ #: subscribe2.php:2024
462
msgid ""
463
"the post's permalink after conversion by TinyURL<br />(<i>for per-post "
464
"emails only</i>)"
465
msgstr ""
466
467
+ #: subscribe2.php:2025
468
msgid "the admin or post author's name"
469
msgstr ""
470
471
+ #: subscribe2.php:2026
472
msgid "the admin or post author's email"
473
msgstr ""
474
475
+ #: subscribe2.php:2027
476
msgid "the post author's name"
477
msgstr ""
478
479
+ #: subscribe2.php:2028
480
msgid ""
481
"the generated link to confirm a request<br />(<i>only used in the "
482
"confirmation email template</i>)"
483
msgstr ""
484
485
+ #: subscribe2.php:2029
486
msgid ""
487
"Action performed by LINK in confirmation email<br />(<i>only used in the "
488
"confirmation email template</i>)"
489
msgstr ""
490
491
+ #: subscribe2.php:2030
492
msgid "the post's assigned categories"
493
msgstr ""
494
495
+ #: subscribe2.php:2031
496
msgid "the post's assigned Tags"
497
msgstr ""
498
499
+ #: subscribe2.php:2032
500
msgid ""
501
"the number of posts included in the digest email<br />(<i>for digest emails "
502
"only</i>)"
503
msgstr ""
504
505
+ #: subscribe2.php:2034
506
msgid "Subscribe / Unsubscribe confirmation email"
507
msgstr ""
508
509
+ #: subscribe2.php:2039
510
msgid "Reminder email to Unconfirmed Subscribers"
511
msgstr ""
512
513
+ #: subscribe2.php:2046
514
msgid "Excluded Categories"
515
msgstr ""
516
517
+ #: subscribe2.php:2048
518
msgid ""
519
"Posts assigned to any Excluded Category do not generate notifications and "
520
"are not included in digest notifications"
521
msgstr ""
522
523
+ #: subscribe2.php:2055
524
msgid "Allow registered users to subscribe to excluded categories?"
525
msgstr ""
526
527
+ #: subscribe2.php:2058
528
msgid "Appearance"
529
msgstr ""
530
531
+ #: subscribe2.php:2062
532
msgid "Set default Subscribe2 page as ID"
533
msgstr ""
534
535
+ #: subscribe2.php:2066
536
msgid "Set the number of Subscribers displayed per page"
537
msgstr ""
538
539
+ #: subscribe2.php:2079
540
msgid "Show a link to your subscription page in \"meta\"?"
541
msgstr ""
542
543
+ #: subscribe2.php:2086
544
msgid "Show the Subscribe2 button on the Write toolbar?"
545
msgstr ""
546
547
+ #: subscribe2.php:2093
548
msgid "Enable Subscribe2 Widget?"
549
msgstr ""
550
551
+ #: subscribe2.php:2097
552
msgid "Auto Subscribe"
553
msgstr ""
554
555
+ #: subscribe2.php:2099
556
msgid "Subscribe new users registering with your blog"
557
msgstr ""
558
559
+ #: subscribe2.php:2104
560
msgid "Automatically"
561
msgstr ""
562
563
+ #: subscribe2.php:2109
564
msgid "Display option on Registration Form"
565
msgstr ""
566
567
+ #: subscribe2.php:2115
568
msgid "Auto-subscribe includes any excluded categories"
569
msgstr ""
570
571
+ #: subscribe2.php:2126
572
msgid "Registration Form option is checked by default"
573
msgstr ""
574
575
+ #: subscribe2.php:2137
576
msgid "Auto-subscribe users to receive email as"
577
msgstr ""
578
579
+ #: subscribe2.php:2158
580
msgid "Registered Users have the option to auto-subscribe to new categories"
581
msgstr ""
582
583
+ #: subscribe2.php:2173
584
msgid "New categories are immediately excluded"
585
msgstr ""
586
587
+ #: subscribe2.php:2174
588
msgid ""
589
"Option for Registered Users to auto-subscribe to new categories is checked "
590
"by default"
591
msgstr ""
592
593
+ #: subscribe2.php:2188
594
msgid "Barred Domains"
595
msgstr ""
596
597
+ #: subscribe2.php:2190
598
msgid ""
599
"Enter domains to bar from public subscriptions: <br /> (Use a new line for "
600
"each entry and omit the \"@\" symbol, for example email.com)"
601
msgstr ""
602
603
+ #: subscribe2.php:2195
604
msgid "Submit"
605
msgstr ""
606
607
+ #: subscribe2.php:2198
608
msgid "Reset Default"
609
msgstr ""
610
611
+ #: subscribe2.php:2199
612
msgid ""
613
"Use this to reset all options to their defaults. This <strong><em>will not</"
614
"em></strong> modify your list of subscribers."
615
msgstr ""
616
617
+ #: subscribe2.php:2201
618
msgid "RESET"
619
msgstr ""
620
621
+ #: subscribe2.php:2227
622
msgid "Subscription preferences updated."
623
msgstr ""
624
625
+ #: subscribe2.php:2277
626
msgid "Editing Subscribe2 preferences for user"
627
msgstr ""
628
629
+ #: subscribe2.php:2286
630
msgid "Receive email as"
631
msgstr ""
632
633
+ #: subscribe2.php:2309
634
msgid "Automatically subscribe me to newly created categories"
635
msgstr ""
636
637
+ #: subscribe2.php:2330
638
msgid "Unsubscribe me from this blog"
639
msgstr ""
640
641
+ #: subscribe2.php:2334
642
msgid "Subscribe to all categories"
643
msgstr ""
644
645
+ #: subscribe2.php:2336
646
msgid "Subscribed Categories on"
647
msgstr ""
648
649
+ #: subscribe2.php:2338
650
msgid "Subscribed Categories"
651
msgstr ""
652
653
+ #: subscribe2.php:2344
654
msgid "Receive periodic summaries of new posts?"
655
msgstr ""
656
657
+ #: subscribe2.php:2359
658
msgid "Update Preferences"
659
msgstr ""
660
661
+ #: subscribe2.php:2408
662
msgid "Subscribed Blogs"
663
msgstr ""
664
665
+ #: subscribe2.php:2413 subscribe2.php:2434
666
msgid "Viewing Settings Now"
667
msgstr ""
668
669
+ #: subscribe2.php:2417 subscribe2.php:2438
670
msgid "View Settings"
671
msgstr ""
672
673
+ #: subscribe2.php:2429
674
msgid "Subscribe to new blogs"
675
msgstr ""
676
677
+ #: subscribe2.php:2502
678
msgid "Send an email to subscribers"
679
msgstr ""
680
681
+ #: subscribe2.php:2510
682
msgid "A message from"
683
msgstr ""
684
685
+ #: subscribe2.php:2512
686
msgid "Subject"
687
msgstr ""
688
689
+ #: subscribe2.php:2515
690
msgid "Recipients:"
691
msgstr ""
692
693
+ #: subscribe2.php:2519
694
msgid "Send"
695
msgstr ""
696
697
+ #: subscribe2.php:2590
698
msgid "All Users and Subscribers"
699
msgstr ""
700
701
+ #: subscribe2.php:2591
702
msgid "Public Subscribers"
703
msgstr ""
704
705
+ #: subscribe2.php:2592
706
msgid "Confirmed"
707
msgstr ""
708
709
+ #: subscribe2.php:2593
710
msgid "Unconfirmed"
711
msgstr ""
712
713
+ #: subscribe2.php:2594
714
msgid "All Registered Users"
715
msgstr ""
716
717
+ #: subscribe2.php:2595
718
msgid "Registered Subscribers"
719
msgstr ""
720
721
+ #: subscribe2.php:2706
722
msgid "For each Post"
723
msgstr ""
724
725
+ #: subscribe2.php:2723
726
msgid "Send Digest Notification at"
727
msgstr ""
728
729
+ #: subscribe2.php:2735
730
msgid ""
731
"This option will be ignored if the time selected is not in the future in "
732
"relation to the current time"
733
msgstr ""
734
735
+ #: subscribe2.php:2738
736
msgid "Current UTC time is"
737
msgstr ""
738
739
+ #: subscribe2.php:2740
740
msgid "Current blog time is"
741
msgstr ""
742
743
+ #: subscribe2.php:2742
744
msgid "Next email notification will be sent when your blog time is after"
745
msgstr ""
746
747
+ #: subscribe2.php:2745
748
+ msgid "Attempt to resend the last Digest Notification email"
749
+ msgstr ""
750
+
751
+ #: subscribe2.php:2746
752
+ msgid "Resend Digest"
753
+ msgstr ""
754
+
755
+ #: subscribe2.php:2798
756
msgid "Settings"
757
msgstr ""
758
759
+ #: subscribe2.php:2799
760
msgid "Donate"
761
msgstr ""
762
763
+ #: subscribe2.php:2800
764
msgid "Forum"
765
msgstr ""
766
767
+ #: subscribe2.php:2811
768
msgid "Check here to Subscribe to email notifications for new posts"
769
msgstr ""
770
771
+ #: subscribe2.php:2820
772
msgid ""
773
"By registering with this blog you are also agreeing to receive email "
774
"notifications for new posts but you can unsubscribe at anytime"
775
msgstr ""
776
777
+ #: subscribe2.php:2841 subscribe2.php:2842 subscribe2.php:2870
778
msgid "Subscribe2 Notification Override"
779
msgstr ""
780
781
+ #: subscribe2.php:2856
782
msgid ""
783
"Check here to disable sending of an email notification for this post/page"
784
msgstr ""
785
786
+ #: subscribe2.php:2999
787
msgid "Subscription Confirmation"
788
msgstr ""
789
790
+ #: subscribe2.php:3051
791
msgid "Title"
792
msgstr ""
793
794
+ #: subscribe2.php:3053
795
msgid "Div class name"
796
msgstr ""
797
798
+ #: subscribe2.php:3055
799
msgid "Pre-Content"
800
msgstr ""
801
802
+ #: subscribe2.php:3057
803
msgid "Post-Content"
804
msgstr ""
805
806
+ #: subscribe2.php:3107
807
msgid "[Un]Subscribe to Posts"
808
msgstr ""
809
810
+ #: subscribe2.php:3185
811
msgid "Weekly"
812
msgstr ""
813
814
+ #: subscribe2.php:3282
815
msgid "Posted on"
816
msgstr ""
817
818
+ #: subscribe2.php:3286 subscribe2.php:3287
819
msgid "Posted in"
820
msgstr ""
821
822
+ #: subscribe2.php:3292 subscribe2.php:3293
823
msgid "Tagged as"
824
msgstr ""
825
826
+ #: subscribe2.php:3345
827
msgid "Digest Email"
828
msgstr ""
829