Subscribe2 - Version 4.10

Version Description

Download this release

Release Info

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

Code changes from version 4.9 to 4.10

ReadMe.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://subscribe2.wordpress.com/donate/
4
Tags: posts, subscription, email
5
Requires at least: 2.0.x
6
Tested up to: 2.5
7
- Stable tag: 4.9
8
9
Sends a list of subscribers an email notification when new posts are published to your blog
10
@@ -85,6 +85,16 @@ If, for some reason the Subscribe2 button does not appear in your browser window
85
86
== Version History ==
87
88
Version 4.9 by Matthew Robinson
89
90
* Send email direct to recipient if BCC is set as 1
4
Tags: posts, subscription, email
5
Requires at least: 2.0.x
6
Tested up to: 2.5
7
+ Stable tag: 4.10
8
9
Sends a list of subscribers an email notification when new posts are published to your blog
10
85
86
== Version History ==
87
88
+ Version 4.10 by Matthew Robinson
89
+
90
+ * Fixed Registration form action from WordPress registrations
91
+ * Repositioned the button to send reminder emails
92
+ * Implemented WP_CONTENT_URL and WP_CONTENT_DIR
93
+ * Added filter for <a href="http://planetozh.com/blog/2008/08/admin-drop-down-menu-more-goodness-an-api/">Admin Drop Down Menu</a>
94
+ * Improve functioning of Process button in Manage admin pane
95
+ * Improved form compliance with XHTML
96
+ * Fixed bug with cron time being changed every time options are changed
97
+
98
Version 4.9 by Matthew Robinson
99
100
* Send email direct to recipient if BCC is set as 1
include/email_edit.png ADDED
Binary file
screenshot-1.png ADDED
Binary file
screenshot-2.png ADDED
Binary file
screenshot-3.png ADDED
Binary file
screenshot-4.png ADDED
Binary file
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: 4.9
7
Author: Matthew Robinson
8
Author URI: http://subscribe2.wordpress.com
9
*/
@@ -31,12 +31,20 @@ along with Subscribe2. If not, see <http://www.gnu.org/licenses/>.
31
32
// our version number. Don't touch this or any line below
33
// unless you know exacly what you are doing
34
- define('S2VERSION', '4.9');
35
define('S2PATH', trailingslashit(dirname(__FILE__)));
36
37
// use Owen's excellent ButtonSnap library
38
if (!function_exists(buttonsnap_textbutton)) {
39
- require(ABSPATH . 'wp-content/plugins/subscribe2/include/buttonsnap.php');
40
}
41
42
$mysubscribe2 = new s2class;
@@ -74,7 +82,7 @@ class s2class {
74
75
$this->mail_failed = "<p>" . __('Message failed! Check your settings and check with your hosting provider', 'subscribe2') . "</p>";
76
77
- $this->form = "<form method=\"post\" action=\"\">" . __('Your email:', 'subscribe2') . "&#160;<input type=\"text\" name=\"email\" value=\"\" size=\"20\" />&#160;<br /><input type=\"radio\" name=\"s2_action\" value=\"subscribe\" checked=\"checked\" /> " . __('Subscribe', 'subscribe2') . " <input type=\"radio\" name=\"s2_action\" value=\"unsubscribe\" /> " . __('Unsubscribe', 'subscribe2') . " &#160;<input type=\"submit\" value=\"" . __('Send', 'subscribe2') . "\" /></form>\r\n";
78
79
// confirmation messages
80
$this->no_such_email = "<p>" . __('No such email address is registered.', 'subscribe2') . "</p>";
@@ -117,15 +125,26 @@ class s2class {
117
$s2nonce = md5('subscribe2');
118
}
119
120
/**
121
Insert Javascript into admin_header
122
*/
123
function checkbox_form_js() {
124
- wp_enqueue_script('s2_checkbox', get_option('home') . '/wp-content/plugins/' . dirname( plugin_basename( __FILE__ ) ) . '/include/s2_checkbox.js', array('jquery'), '1.0');
125
}
126
127
function option_form_js() {
128
- wp_enqueue_script('s2_edit', get_option('home') . '/wp-content/plugins/' . dirname( plugin_basename( __FILE__ ) ) . '/include/s2_edit.js', array('jquery'), '1.0');
129
}
130
131
function add_weekly_sched($sched) {
@@ -416,7 +435,7 @@ class s2class {
416
$user = $this->get_userdata();
417
}
418
$this->myemail = $user->user_email;
419
- $this->myname = $user->display_name;
420
// Get email subject
421
$subject = stripslashes(strip_tags($this->substitute($this->s2_subject)));
422
// Get the message template
@@ -1068,16 +1087,6 @@ class s2class {
1068
$emails = implode(",", $registered);
1069
}
1070
1071
- $what = '';
1072
- $reminderform = false;
1073
- $urlpath = str_replace("\\", "/", S2PATH);
1074
- $urlpath = trailingslashit(get_option('siteurl')) . substr($urlpath,strpos($urlpath, "wp-content/"));
1075
- if ( isset( $_GET['s2page'] ) ) {
1076
- $page = (int) $_GET['s2page'];
1077
- } else {
1078
- $page = 1;
1079
- }
1080
-
1081
// was anything POSTed ?
1082
if (isset($_POST['s2_admin'])) {
1083
check_admin_referer('subscribe2-manage_subscribers' . $s2nonce);
@@ -1095,17 +1104,20 @@ class s2class {
1095
$this->delete($address);
1096
}
1097
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Address(es) deleted!', 'subscribe2') . "</strong></p></div>";
1098
- } elseif ($_POST['confirm']) {
1099
foreach ($_POST['confirm'] as $address) {
1100
$this->toggle($address);
1101
}
1102
- echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Status changed!', 'subscribe2') . "</strong></p></div>";
1103
- } elseif ($_POST['unconfirm']) {
1104
foreach ($_POST['unconfirm'] as $address) {
1105
$this->toggle($address);
1106
}
1107
- echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Status changed!', 'subscribe2') . "</strong></p></div>";
1108
}
1109
} elseif ($_POST['searchterm']) {
1110
$confirmed = $this->get_public();
1111
$unconfirmed = $this->get_public(0);
@@ -1127,25 +1139,36 @@ class s2class {
1127
}
1128
}
1129
1130
if (isset($_POST['what'])) {
1131
$page = 1;
1132
if ('all' == $_POST['what']) {
1133
$what = 'all';
1134
- $confirmed = $this->get_public();
1135
- $unconfirmed = $this->get_public(0);
1136
$subscribers = array_merge((array)$confirmed, (array)$unconfirmed, (array)$registered);
1137
} elseif ('public' == $_POST['what']) {
1138
$what = 'public';
1139
- $confirmed = $this->get_public();
1140
- $unconfirmed = $this->get_public(0);
1141
$subscribers = array_merge((array)$confirmed, (array)$unconfirmed);
1142
} elseif ('confirmed' == $_POST['what']) {
1143
$what = 'confirmed';
1144
- $confirmed = $this->get_public();
1145
$subscribers = $confirmed;
1146
} elseif ('unconfirmed' == $_POST['what']) {
1147
$what = 'unconfirmed';
1148
- $unconfirmed = $this->get_public(0);
1149
$subscribers = $unconfirmed;
1150
if (!empty($subscribers)) {
1151
$reminderemails = implode(",", $subscribers);
@@ -1161,21 +1184,15 @@ class s2class {
1161
} elseif (isset($_GET['what'])) {
1162
if ('all' == $_GET['what']) {
1163
$what = 'all';
1164
- $confirmed = $this->get_public();
1165
- $unconfirmed = $this->get_public(0);
1166
$subscribers = array_merge((array)$confirmed, (array)$unconfirmed, (array)$registered);
1167
} elseif ('public' == $_GET['what']) {
1168
$what = 'public';
1169
- $confirmed = $this->get_public();
1170
- $unconfirmed = $this->get_public(0);
1171
$subscribers = array_merge((array)$confirmed, (array)$unconfirmed);
1172
} elseif ('confirmed' == $_GET['what']) {
1173
$what = 'confirmed';
1174
- $confirmed = $this->get_public();
1175
$subscribers = $confirmed;
1176
} elseif ('unconfirmed' == $_GET['what']) {
1177
$what = 'unconfirmed';
1178
- $unconfirmed = $this->get_public(0);
1179
$subscribers = $unconfirmed;
1180
if (!empty($subscribers)) {
1181
$reminderemails = implode(",", $subscribers);
@@ -1188,16 +1205,13 @@ class s2class {
1188
$what = 'registered';
1189
$subscribers = $registered;
1190
}
1191
- } elseif ('' == $what) {
1192
$what = 'registered';
1193
$subscribers = $registered;
1194
- $registermessage = '';
1195
if (empty($subscribers)) {
1196
- $confirmed = $this->get_public();
1197
$subscribers = $confirmed;
1198
$what = 'confirmed';
1199
if (empty($subscribers)) {
1200
- $unconfirmed = $this->get_public(0);
1201
$subscribers = $unconfirmed;
1202
$what = 'unconfirmed';
1203
if (empty($subscribers)) {
@@ -1242,10 +1256,6 @@ class s2class {
1242
$strip .= "<a class=\"next\" href=\"" . clean_url(add_query_arg($args)) . "\">". __('Next Page', 'subscribe2') . " &raquo;</a>\n";
1243
}
1244
}
1245
- // safety check for our arrays
1246
- if ('' == $confirmed) { $confirmed = array(); }
1247
- if ('' == $unconfirmed) { $unconfirmed = array(); }
1248
- if ('' == $registered) { $registered = array(); }
1249
1250
// show our form
1251
echo "<form method=\"post\" action=\"\">\r\n";
@@ -1273,10 +1283,15 @@ class s2class {
1273
echo "<input type=\"submit\" name=\"search\" value=\"" . __('Search Subscribers', 'subscribe2') . "\" class=\"button\" /></td>\r\n";
1274
echo "<td width=\"50%\" align=\"right\"><input type=\"hidden\" name=\"exportcsv\" value=\"" . $exportcsv . "\" />\r\n";
1275
echo "<input type=\"submit\" name=\"csv\" value=\"" . __('Save Emails to CSV File', 'subscribe2') . "\" class=\"button\" /></td></tr></table>\r\n";
1276
echo "<table width=\"100%\"><tr><td valign=\"bottom\">" . $strip . "</td>\r\n";
1277
echo "<td align=\"right\"><p class=\"submit\" align=\"right\" style=\"border-top: none;\"><input type=\"submit\" name=\"process\" value=\"" . __('Process', 'subscribe2') . "\" /></p>\r\n";
1278
echo "</td></tr></table>\r\n";
1279
}
1280
echo "<table cellpadding=\"2\" cellspacing=\"2\" width=\"100%\">";
1281
if (!empty($subscribers)) {
1282
$subscriber_chunks = array_chunk($subscribers, 25);
@@ -1336,10 +1351,6 @@ class s2class {
1336
echo "<td align=\"right\"><p class=\"submit\" align=\"right\" style=\"border-top: none;\"><input type=\"submit\" name=\"process\" value=\"" . __('Process', 'subscribe2') . "\" /></p>\r\n";
1337
echo "</td></tr></table>\r\n";
1338
}
1339
- if ($reminderform) {
1340
- echo "<input type=\"hidden\" name=\"reminderemails\" value=\"" . $reminderemails . "\" />\r\n";
1341
- echo "<p class=\"submit\"><input type=\"submit\" name=\"reminder\" value=\"" . __('Send Reminder Email', 'subscribe2') . "\" /></p>\r\n";
1342
- }
1343
1344
//show bulk managment form
1345
echo "<h2>" . __('Categories', 'subscribe2') . "</h2>\r\n";
@@ -1410,6 +1421,7 @@ class s2class {
1410
1411
// send per-post or digest emails
1412
$email_freq = $_POST['email_freq'];
1413
if ( ($email_freq != $this->subscribe2_options['email_freq']) || ($_POST['hour'] != gmdate('H', $scheduled_time)) ) {
1414
$this->subscribe2_options['email_freq'] = $email_freq;
1415
wp_clear_scheduled_hook('s2_digest_cron');
@@ -2073,7 +2085,7 @@ class s2class {
2073
echo "</p>\r\n";
2074
} elseif ('yes' == $this->subscribe2_options['autosub']) {
2075
echo "<p>\r\n<center>\r\n";
2076
- echo __('By Registering with this blog you are also agreeing to recieve email notifications for new posts', 'subscribe2') . "<br />\r\n";
2077
echo "</center></p>\r\n";
2078
}
2079
}
@@ -2090,9 +2102,10 @@ class s2class {
2090
/**
2091
Action to process Subscribe2 registration from WordPress registration
2092
*/
2093
- function register_action($user_id = 0) {
2094
- if (0 == $user_id) { return $user_id; }
2095
- $this->register($user_id, 1);
2096
}
2097
2098
/* ===== template and filter functions ===== */
@@ -2100,7 +2113,7 @@ class s2class {
2100
Display our form; also handles (un)subscribe requests
2101
*/
2102
function filter($content = '') {
2103
- if ( ('' == $content) || (! strstr($content, '<!--subscribe2-->')) ) { return $content; }
2104
$this->s2form = $this->form;
2105
2106
global $user_ID;
@@ -2282,7 +2295,7 @@ class s2class {
2282
} else {
2283
//use buttonsnap to add button is not using RTE
2284
buttonsnap_separator();
2285
- buttonsnap_jsbutton(get_option('siteurl') . '/wp-content/plugins/subscribe2/include/s2_button.png', __('Subscribe2', 'subscribe2'), 's2_insert_token();');
2286
}
2287
}
2288
@@ -2290,7 +2303,7 @@ class s2class {
2290
Add buttons for WordPress 2.5+ using built in hooks
2291
*/
2292
function mce3_plugin($arr) {
2293
- $path = get_option('siteurl') . '/wp-content/plugins/subscribe2/tinymce3/editor_plugin.js';
2294
$arr['subscribe2'] = $path;
2295
return $arr;
2296
}
@@ -2313,7 +2326,7 @@ class s2class {
2313
}
2314
2315
function tinymce2_before_init() {
2316
- $this->fullpath = get_option('siteurl') . '/wp-content/plugins/subscribe2/tinymce/';
2317
echo "tinyMCE.loadPlugin('subscribe2quicktags', '" . $this->fullpath . "');\n";
2318
}
2319
@@ -2356,12 +2369,13 @@ class s2class {
2356
}
2357
2358
// collect posts
2359
- $posts = $wpdb->get_results("SELECT ID, post_title, post_excerpt, post_content, post_type, post_password 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");
2360
2361
// do we have any posts?
2362
if (empty($posts)) { return; }
2363
2364
// if we have posts, let's prepare the digest
2365
$all_post_cats = array();
2366
foreach ($posts as $post) {
2367
$post_cats = wp_get_post_categories($post->ID);
@@ -2393,6 +2407,7 @@ class s2class {
2393
}
2394
$table .= $post->post_title . "\r\n";
2395
$message .= $post->post_title . "\r\n";
2396
$message .= get_permalink($post->ID) . "\r\n";
2397
$excerpt = $post->post_excerpt;
2398
if ('' == $excerpt) {
@@ -2429,7 +2444,7 @@ class s2class {
2429
// get admin details
2430
$user = $this->get_userdata();
2431
$this->myemail = $user->user_email;
2432
- $this->myname = $user->display_name;
2433
2434
$scheds = (array) wp_get_schedules();
2435
$email_freq = $this->subscribe2_options['email_freq'];
@@ -2497,8 +2512,8 @@ class s2class {
2497
2498
//add regular actions and filters
2499
add_action('admin_menu', array(&$this, 'admin_menu'));
2500
add_action('create_category', array(&$this, 'autosub_new_category'));
2501
- add_action('register_form', array(&$this, 'register_form'));
2502
add_filter('the_content', array(&$this, 'filter'), 10);
2503
add_filter('cron_schedules', array(&$this, 'add_weekly_sched'));
2504
@@ -2508,8 +2523,11 @@ class s2class {
2508
add_action('edit_form_advanced', array(&$this, 's2_edit_form'));
2509
}
2510
2511
- // add action for automatic subscription based on option settings
2512
- add_action('user_register', array(&$this, 'register'));
2513
if ('wpreg' == $this->subscribe2_options['autosub']) {
2514
add_action('register_post', array(&$this, 'register_post'));
2515
}
3
Plugin Name: Subscribe2
4
Plugin URI: http://subscribe2.wordpress.com
5
Description: Notifies an email list when new entries are posted.
6
+ Version: 4.10
7
Author: Matthew Robinson
8
Author URI: http://subscribe2.wordpress.com
9
*/
31
32
// our version number. Don't touch this or any line below
33
// unless you know exacly what you are doing
34
+ define('S2VERSION', '4.10');
35
define('S2PATH', trailingslashit(dirname(__FILE__)));
36
37
+ // Pre-2.6 compatibility
38
+ if (!defined('WP_CONTENT_URL')) {
39
+ define('WP_CONTENT_URL', get_option('siteurl') . '/wp-content');
40
+ }
41
+ if (!defined('WP_CONTENT_DIR')) {
42
+ define('WP_CONTENT_DIR', ABSPATH . 'wp-content');
43
+ }
44
+
45
// use Owen's excellent ButtonSnap library
46
if (!function_exists(buttonsnap_textbutton)) {
47
+ require(WP_CONTENT_DIR . '/plugins/subscribe2/include/buttonsnap.php');
48
}
49
50
$mysubscribe2 = new s2class;
82
83
$this->mail_failed = "<p>" . __('Message failed! Check your settings and check with your hosting provider', 'subscribe2') . "</p>";
84
85
+ $this->form = "<form method=\"post\" action=\"\"><p>" . __('Your email:', 'subscribe2') . "&#160;<input type=\"text\" name=\"email\" value=\"\" size=\"20\" />&#160;<br /><input type=\"radio\" name=\"s2_action\" value=\"subscribe\" checked=\"checked\" /> " . __('Subscribe', 'subscribe2') . " <input type=\"radio\" name=\"s2_action\" value=\"unsubscribe\" /> " . __('Unsubscribe', 'subscribe2') . " &#160;<input type=\"submit\" value=\"" . __('Send', 'subscribe2') . "\" /></p></form>\r\n";
86
87
// confirmation messages
88
$this->no_such_email = "<p>" . __('No such email address is registered.', 'subscribe2') . "</p>";
125
$s2nonce = md5('subscribe2');
126
}
127
128
+ /**
129
+ Hook for Admin Drop Down Icons
130
+ */
131
+ function ozh_s2_icon($hook) {
132
+ if ($hook == plugin_basename(__FILE__)) {
133
+ return WP_CONTENT_URL . '/plugins/subscribe2/include/email_edit.png';
134
+ } else {
135
+ return $hook;
136
+ }
137
+ }
138
+
139
/**
140
Insert Javascript into admin_header
141
*/
142
function checkbox_form_js() {
143
+ wp_enqueue_script('s2_checkbox', WP_CONTENT_URL . '/plugins/' . dirname( plugin_basename( __FILE__ ) ) . '/include/s2_checkbox.js', array('jquery'), '1.0');
144
}
145
146
function option_form_js() {
147
+ wp_enqueue_script('s2_edit', WP_CONTENT_URL . '/plugins/' . dirname( plugin_basename( __FILE__ ) ) . '/include/s2_edit.js', array('jquery'), '1.0');
148
}
149
150
function add_weekly_sched($sched) {
435
$user = $this->get_userdata();
436
}
437
$this->myemail = $user->user_email;
438
+ $this->myname = html_entity_decode($user->display_name);
439
// Get email subject
440
$subject = stripslashes(strip_tags($this->substitute($this->s2_subject)));
441
// Get the message template
1087
$emails = implode(",", $registered);
1088
}
1089
1090
// was anything POSTed ?
1091
if (isset($_POST['s2_admin'])) {
1092
check_admin_referer('subscribe2-manage_subscribers' . $s2nonce);
1104
$this->delete($address);
1105
}
1106
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Address(es) deleted!', 'subscribe2') . "</strong></p></div>";
1107
+ }
1108
+ if ($_POST['confirm']) {
1109
foreach ($_POST['confirm'] as $address) {
1110
$this->toggle($address);
1111
}
1112
+ $message = "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Status changed!', 'subscribe2') . "</strong></p></div>";
1113
+ }
1114
+ if ($_POST['unconfirm']) {
1115
foreach ($_POST['unconfirm'] as $address) {
1116
$this->toggle($address);
1117
}
1118
+ $message = "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Status changed!', 'subscribe2') . "</strong></p></div>";
1119
}
1120
+ echo $message;
1121
} elseif ($_POST['searchterm']) {
1122
$confirmed = $this->get_public();
1123
$unconfirmed = $this->get_public(0);
1139
}
1140
}
1141
1142
+ //Get Public Subscribers once for filter
1143
+ $confirmed = $this->get_public();
1144
+ $unconfirmed = $this->get_public(0);
1145
+ // safety check for our arrays
1146
+ if ('' == $confirmed) { $confirmed = array(); }
1147
+ if ('' == $unconfirmed) { $unconfirmed = array(); }
1148
+ if ('' == $registered) { $registered = array(); }
1149
+
1150
+ $reminderform = false;
1151
+ $urlpath = str_replace("\\", "/", S2PATH);
1152
+ $urlpath = trailingslashit(get_option('siteurl')) . substr($urlpath,strpos($urlpath, "wp-content/"));
1153
+ if (isset($_GET['s2page'])) {
1154
+ $page = (int) $_GET['s2page'];
1155
+ } else {
1156
+ $page = 1;
1157
+ }
1158
+
1159
if (isset($_POST['what'])) {
1160
$page = 1;
1161
if ('all' == $_POST['what']) {
1162
$what = 'all';
1163
$subscribers = array_merge((array)$confirmed, (array)$unconfirmed, (array)$registered);
1164
} elseif ('public' == $_POST['what']) {
1165
$what = 'public';
1166
$subscribers = array_merge((array)$confirmed, (array)$unconfirmed);
1167
} elseif ('confirmed' == $_POST['what']) {
1168
$what = 'confirmed';
1169
$subscribers = $confirmed;
1170
} elseif ('unconfirmed' == $_POST['what']) {
1171
$what = 'unconfirmed';
1172
$subscribers = $unconfirmed;
1173
if (!empty($subscribers)) {
1174
$reminderemails = implode(",", $subscribers);
1184
} elseif (isset($_GET['what'])) {
1185
if ('all' == $_GET['what']) {
1186
$what = 'all';
1187
$subscribers = array_merge((array)$confirmed, (array)$unconfirmed, (array)$registered);
1188
} elseif ('public' == $_GET['what']) {
1189
$what = 'public';
1190
$subscribers = array_merge((array)$confirmed, (array)$unconfirmed);
1191
} elseif ('confirmed' == $_GET['what']) {
1192
$what = 'confirmed';
1193
$subscribers = $confirmed;
1194
} elseif ('unconfirmed' == $_GET['what']) {
1195
$what = 'unconfirmed';
1196
$subscribers = $unconfirmed;
1197
if (!empty($subscribers)) {
1198
$reminderemails = implode(",", $subscribers);
1205
$what = 'registered';
1206
$subscribers = $registered;
1207
}
1208
+ } else {
1209
$what = 'registered';
1210
$subscribers = $registered;
1211
if (empty($subscribers)) {
1212
$subscribers = $confirmed;
1213
$what = 'confirmed';
1214
if (empty($subscribers)) {
1215
$subscribers = $unconfirmed;
1216
$what = 'unconfirmed';
1217
if (empty($subscribers)) {
1256
$strip .= "<a class=\"next\" href=\"" . clean_url(add_query_arg($args)) . "\">". __('Next Page', 'subscribe2') . " &raquo;</a>\n";
1257
}
1258
}
1259
1260
// show our form
1261
echo "<form method=\"post\" action=\"\">\r\n";
1283
echo "<input type=\"submit\" name=\"search\" value=\"" . __('Search Subscribers', 'subscribe2') . "\" class=\"button\" /></td>\r\n";
1284
echo "<td width=\"50%\" align=\"right\"><input type=\"hidden\" name=\"exportcsv\" value=\"" . $exportcsv . "\" />\r\n";
1285
echo "<input type=\"submit\" name=\"csv\" value=\"" . __('Save Emails to CSV File', 'subscribe2') . "\" class=\"button\" /></td></tr></table>\r\n";
1286
+ if ($reminderform) {
1287
+ echo "<input type=\"hidden\" name=\"reminderemails\" value=\"" . $reminderemails . "\" />\r\n";
1288
+ echo "<p class=\"submit\" align=\"right\" style=\"border-top:none;\"><input type=\"submit\" name=\"reminder\" value=\"" . __('Send Reminder Email', 'subscribe2') . "\" /></p>\r\n";
1289
+ }
1290
echo "<table width=\"100%\"><tr><td valign=\"bottom\">" . $strip . "</td>\r\n";
1291
echo "<td align=\"right\"><p class=\"submit\" align=\"right\" style=\"border-top: none;\"><input type=\"submit\" name=\"process\" value=\"" . __('Process', 'subscribe2') . "\" /></p>\r\n";
1292
echo "</td></tr></table>\r\n";
1293
}
1294
+
1295
echo "<table cellpadding=\"2\" cellspacing=\"2\" width=\"100%\">";
1296
if (!empty($subscribers)) {
1297
$subscriber_chunks = array_chunk($subscribers, 25);
1351
echo "<td align=\"right\"><p class=\"submit\" align=\"right\" style=\"border-top: none;\"><input type=\"submit\" name=\"process\" value=\"" . __('Process', 'subscribe2') . "\" /></p>\r\n";
1352
echo "</td></tr></table>\r\n";
1353
}
1354
1355
//show bulk managment form
1356
echo "<h2>" . __('Categories', 'subscribe2') . "</h2>\r\n";
1421
1422
// send per-post or digest emails
1423
$email_freq = $_POST['email_freq'];
1424
+ $scheduled_time = wp_next_scheduled('s2_digest_cron');
1425
if ( ($email_freq != $this->subscribe2_options['email_freq']) || ($_POST['hour'] != gmdate('H', $scheduled_time)) ) {
1426
$this->subscribe2_options['email_freq'] = $email_freq;
1427
wp_clear_scheduled_hook('s2_digest_cron');
2085
echo "</p>\r\n";
2086
} elseif ('yes' == $this->subscribe2_options['autosub']) {
2087
echo "<p>\r\n<center>\r\n";
2088
+ echo __('By Registering with this blog you are also agreeing to recieve email notifications for new posts but you can unsubscribe at anytime', 'subscribe2') . "<br />\r\n";
2089
echo "</center></p>\r\n";
2090
}
2091
}
2102
/**
2103
Action to process Subscribe2 registration from WordPress registration
2104
*/
2105
+ function register_action() {
2106
+ $user_id = get_userdatabylogin($_POST['user_login']);
2107
+ if (0 == $user_id->ID) { return; }
2108
+ $this->register($user_id->ID, 1);
2109
}
2110
2111
/* ===== template and filter functions ===== */
2113
Display our form; also handles (un)subscribe requests
2114
*/
2115
function filter($content = '') {
2116
+ if ( ('' == $content) || (1 == $this->filtered) || (!strstr($content, '<!--subscribe2-->')) ) { return $content; }
2117
$this->s2form = $this->form;
2118
2119
global $user_ID;
2295
} else {
2296
//use buttonsnap to add button is not using RTE
2297
buttonsnap_separator();
2298
+ buttonsnap_jsbutton(WP_CONTENT_URL . '/plugins/subscribe2/include/s2_button.png', __('Subscribe2', 'subscribe2'), 's2_insert_token();');
2299
}
2300
}
2301
2303
Add buttons for WordPress 2.5+ using built in hooks
2304
*/
2305
function mce3_plugin($arr) {
2306
+ $path = WP_CONTENT_URL . '/plugins/subscribe2/tinymce3/editor_plugin.js';
2307
$arr['subscribe2'] = $path;
2308
return $arr;
2309
}
2326
}
2327
2328
function tinymce2_before_init() {
2329
+ $this->fullpath = WP_CONTENT_URL . '/plugins/subscribe2/tinymce/';
2330
echo "tinyMCE.loadPlugin('subscribe2quicktags', '" . $this->fullpath . "');\n";
2331
}
2332
2369
}
2370
2371
// collect posts
2372
+ $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");
2373
2374
// do we have any posts?
2375
if (empty($posts)) { return; }
2376
2377
// if we have posts, let's prepare the digest
2378
+ $datetime = get_option('date_format') . ' @ ' . get_option('time_format');
2379
$all_post_cats = array();
2380
foreach ($posts as $post) {
2381
$post_cats = wp_get_post_categories($post->ID);
2407
}
2408
$table .= $post->post_title . "\r\n";
2409
$message .= $post->post_title . "\r\n";
2410
+ $message .= __('Posted on', 'subscribe2') . ": " . mysql2date($datetime, $post->post_date) . "\r\n";
2411
$message .= get_permalink($post->ID) . "\r\n";
2412
$excerpt = $post->post_excerpt;
2413
if ('' == $excerpt) {
2444
// get admin details
2445
$user = $this->get_userdata();
2446
$this->myemail = $user->user_email;
2447
+ $this->myname = html_entity_decode($user->display_name);
2448
2449
$scheds = (array) wp_get_schedules();
2450
$email_freq = $this->subscribe2_options['email_freq'];
2512
2513
//add regular actions and filters
2514
add_action('admin_menu', array(&$this, 'admin_menu'));
2515
+ add_filter('ozh_adminmenu_icon', array(&$this, 'ozh_s2_icon'));
2516
add_action('create_category', array(&$this, 'autosub_new_category'));
2517
add_filter('the_content', array(&$this, 'filter'), 10);
2518
add_filter('cron_schedules', array(&$this, 'add_weekly_sched'));
2519
2523
add_action('edit_form_advanced', array(&$this, 's2_edit_form'));
2524
}
2525
2526
+ // add actions for automatic subscription based on option settings
2527
+ add_action('register_form', array(&$this, 'register_form'));
2528
+ if ('yes' == $this->subscribe2_options['autosub']) {
2529
+ add_action('user_register', array(&$this, 'register'));
2530
+ }
2531
if ('wpreg' == $this->subscribe2_options['autosub']) {
2532
add_action('register_post', array(&$this, 'register_post'));
2533
}
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: 2008-08-17 19:40+0100\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"
@@ -16,601 +16,605 @@ msgstr ""
16
"Content-Type: text/plain; charset=CHARSET\n"
17
"Content-Transfer-Encoding: 8bit\n"
18
19
- #: subscribe2.php:55
20
msgid "To manage your subscription options please "
21
msgstr ""
22
23
- #: subscribe2.php:55
24
msgid "login"
25
msgstr ""
26
27
- #: subscribe2.php:57 subscribe2.php:59
28
msgid "You may manage your subscription options from your "
29
msgstr ""
30
31
- #: subscribe2.php:57 subscribe2.php:59
32
msgid "profile"
33
msgstr ""
34
35
- #: subscribe2.php:61
36
msgid "A confirmation message is on its way!"
37
msgstr ""
38
39
- #: subscribe2.php:63
40
msgid "That email address is already subscribed."
41
msgstr ""
42
43
- #: subscribe2.php:65
44
msgid "That email address is not subscribed."
45
msgstr ""
46
47
- #: subscribe2.php:67
48
msgid "Sorry, but that does not look like an email address to me."
49
msgstr ""
50
51
- #: subscribe2.php:69
52
msgid ""
53
"Sorry, email addresses at that domain are currently barred due to spam, "
54
"please use an alternative email address."
55
msgstr ""
56
57
- #: subscribe2.php:71
58
msgid ""
59
"Sorry, there seems to be an error on the server. Please try again later."
60
msgstr ""
61
62
- #: subscribe2.php:73
63
msgid "Message sent!"
64
msgstr ""
65
66
- #: subscribe2.php:75
67
msgid ""
68
"Message failed! Check your settings and check with your hosting provider"
69
msgstr ""
70
71
- #: subscribe2.php:77
72
msgid "Your email:"
73
msgstr ""
74
75
- #: subscribe2.php:77 subscribe2.php:1260 subscribe2.php:1351
76
msgid "Subscribe"
77
msgstr ""
78
79
- #: subscribe2.php:77 subscribe2.php:1352
80
msgid "Unsubscribe"
81
msgstr ""
82
83
- #: subscribe2.php:77 subscribe2.php:1875
84
msgid "Send"
85
msgstr ""
86
87
- #: subscribe2.php:80
88
msgid "No such email address is registered."
89
msgstr ""
90
91
- #: subscribe2.php:82
92
msgid "You have successfully subscribed!"
93
msgstr ""
94
95
- #: subscribe2.php:84
96
msgid "You have successfully unsubscribed."
97
msgstr ""
98
99
- #: subscribe2.php:86
100
msgid "Please confirm your request"
101
msgstr ""
102
103
- #: subscribe2.php:88
104
msgid "Subscription Reminder"
105
msgstr ""
106
107
- #: subscribe2.php:90
108
msgid "subscribe"
109
msgstr ""
110
111
- #: subscribe2.php:92
112
msgid "unsubscribe"
113
msgstr ""
114
115
- #: subscribe2.php:95
116
msgid "Options saved!"
117
msgstr ""
118
119
- #: subscribe2.php:96
120
msgid "Options reset!"
121
msgstr ""
122
123
- #: subscribe2.php:104 subscribe2.php:1263
124
msgid "Subscribers"
125
msgstr ""
126
127
- #: subscribe2.php:107
128
msgid "Subscribe2 Options"
129
msgstr ""
130
131
- #: subscribe2.php:107 subscribe2.php:2216 subscribe2.php:2285
132
msgid "Subscribe2"
133
msgstr ""
134
135
- #: subscribe2.php:112
136
msgid "Your Subscriptions"
137
msgstr ""
138
139
- #: subscribe2.php:115
140
msgid "Mail Subscribers"
141
msgstr ""
142
143
- #: subscribe2.php:132
144
msgid "Once Weekly"
145
msgstr ""
146
147
- #: subscribe2.php:709
148
msgid "New subscriber"
149
msgstr ""
150
151
- #: subscribe2.php:710
152
msgid "subscribed to email notifications!"
153
msgstr ""
154
155
- #: subscribe2.php:1091
156
msgid "Address(es) subscribed!"
157
msgstr ""
158
159
- #: subscribe2.php:1097
160
msgid "Address(es) deleted!"
161
msgstr ""
162
163
- #: subscribe2.php:1102 subscribe2.php:1107
164
msgid "Status changed!"
165
msgstr ""
166
167
- #: subscribe2.php:1120
168
msgid "Reminder Email(s) Sent!"
169
msgstr ""
170
171
- #: subscribe2.php:1123
172
msgid "Registered Users Subscribed!"
173
msgstr ""
174
175
- #: subscribe2.php:1126
176
msgid "Registered Users Unsubscribed!"
177
msgstr ""
178
179
- #: subscribe2.php:1222
180
msgid "Previous Page"
181
msgstr ""
182
183
- #: subscribe2.php:1242
184
msgid "Next Page"
185
msgstr ""
186
187
- #: subscribe2.php:1253
188
msgid "Subscribe Addresses"
189
msgstr ""
190
191
- #: subscribe2.php:1257
192
msgid "Enter addresses, one per line or comma-separated"
193
msgstr ""
194
195
- #: subscribe2.php:1265
196
msgid "Filter"
197
msgstr ""
198
199
- #: subscribe2.php:1269
200
msgid ""
201
"Registered on the left, confirmed in the middle, unconfirmed on the right"
202
msgstr ""
203
204
- #: subscribe2.php:1273
205
msgid "Search Subscribers"
206
msgstr ""
207
208
- #: subscribe2.php:1275
209
msgid "Save Emails to CSV File"
210
msgstr ""
211
212
- #: subscribe2.php:1277 subscribe2.php:1336
213
msgid "Process"
214
msgstr ""
215
216
- #: subscribe2.php:1288 subscribe2.php:1315
217
msgid "Confirm this email address"
218
msgstr ""
219
220
- #: subscribe2.php:1290 subscribe2.php:1313
221
msgid "Unconfirm this email address"
222
msgstr ""
223
224
- #: subscribe2.php:1292 subscribe2.php:1320
225
msgid "Delete this email address"
226
msgstr ""
227
228
- #: subscribe2.php:1293 subscribe2.php:1934
229
msgid "Select / Unselect All"
230
msgstr ""
231
232
- #: subscribe2.php:1328
233
msgid "No matching subscribers found"
234
msgstr ""
235
236
- #: subscribe2.php:1330
237
msgid "NONE"
238
msgstr ""
239
240
- #: subscribe2.php:1341
241
- msgid "Send Reminder Email"
242
- msgstr ""
243
-
244
- #: subscribe2.php:1345
245
msgid "Categories"
246
msgstr ""
247
248
- #: subscribe2.php:1347
249
msgid ""
250
"Existing Registered Users can be automatically (un)subscribed to categories "
251
"using this section."
252
msgstr ""
253
254
- #: subscribe2.php:1348
255
msgid "Consider User Privacy as changes cannot be undone"
256
msgstr ""
257
258
- #: subscribe2.php:1350
259
msgid "Action to perform"
260
msgstr ""
261
262
- #: subscribe2.php:1355 subscribe2.php:1658
263
msgid "Submit"
264
msgstr ""
265
266
- #: subscribe2.php:1463
267
msgid "Delivery Options"
268
msgstr ""
269
270
- #: subscribe2.php:1468
271
msgid "Restrict the number of recpients per email to (0 for unlimited)"
272
msgstr ""
273
274
- #: subscribe2.php:1470 subscribe2.php:1478
275
msgid "Edit"
276
msgstr ""
277
278
- #: subscribe2.php:1473 subscribe2.php:1481
279
msgid "Update"
280
msgstr ""
281
282
- #: subscribe2.php:1474 subscribe2.php:1482
283
msgid "Revert"
284
msgstr ""
285
286
- #: subscribe2.php:1476
287
msgid "Set default Subscribe2 page as ID"
288
msgstr ""
289
290
- #: subscribe2.php:1484
291
msgid "Send Emails for Pages"
292
msgstr ""
293
294
- #: subscribe2.php:1489 subscribe2.php:1500 subscribe2.php:1511
295
- #: subscribe2.php:1615 subscribe2.php:1642 subscribe2.php:1786
296
- #: subscribe2.php:1806
297
msgid "Yes"
298
msgstr ""
299
300
- #: subscribe2.php:1494 subscribe2.php:1505 subscribe2.php:1516
301
- #: subscribe2.php:1609 subscribe2.php:1620 subscribe2.php:1647
302
- #: subscribe2.php:1791 subscribe2.php:1810
303
msgid "No"
304
msgstr ""
305
306
- #: subscribe2.php:1495
307
msgid "Send Emails for Password Protected Posts"
308
msgstr ""
309
310
- #: subscribe2.php:1506
311
msgid "Send Emails for Private Posts"
312
msgstr ""
313
314
- #: subscribe2.php:1517
315
msgid "Send Email From"
316
msgstr ""
317
318
- #: subscribe2.php:1522
319
msgid "Author of the post"
320
msgstr ""
321
322
- #: subscribe2.php:1527
323
msgid "Blog Admin"
324
msgstr ""
325
326
- #: subscribe2.php:1529
327
msgid "Send Email as Digest"
328
msgstr ""
329
330
- #: subscribe2.php:1533
331
msgid "Email Templates"
332
msgstr ""
333
334
- #: subscribe2.php:1537
335
msgid "New Post email (must not be empty)"
336
msgstr ""
337
338
- #: subscribe2.php:1541
339
msgid "Message substitions"
340
msgstr ""
341
342
- #: subscribe2.php:1545
343
msgid "the post's title<br />(<i>for per-post emails only</i>)"
344
msgstr ""
345
346
- #: subscribe2.php:1546
347
msgid ""
348
"the excerpt or the entire post<br />(<i>based on the subscriber's "
349
"preferences</i>)"
350
msgstr ""
351
352
- #: subscribe2.php:1547
353
msgid "a list of post titles<br />(<i>for digest emails only</i>)"
354
msgstr ""
355
356
- #: subscribe2.php:1548
357
msgid "the post's permalink<br />(<i>for per-post emails only</i>)"
358
msgstr ""
359
360
- #: subscribe2.php:1549
361
msgid "the admin or post author's name"
362
msgstr ""
363
364
- #: subscribe2.php:1550
365
msgid "the admin or post author's email"
366
msgstr ""
367
368
- #: subscribe2.php:1551
369
msgid "the post author's name"
370
msgstr ""
371
372
- #: subscribe2.php:1552
373
msgid ""
374
"the generated link to confirm a request<br />(<i>only used in the "
375
"confirmation email template</i>)"
376
msgstr ""
377
378
- #: subscribe2.php:1553
379
msgid ""
380
"Action performed by LINK in confirmation email<br />(<i>only used in the "
381
"confirmation email template</i>)"
382
msgstr ""
383
384
- #: subscribe2.php:1555
385
msgid "Subscribe / Unsubscribe confirmation email"
386
msgstr ""
387
388
- #: subscribe2.php:1558
389
msgid "Reminder email to Unconfirmed Subscribers"
390
msgstr ""
391
392
- #: subscribe2.php:1563
393
msgid "Excluded Categories"
394
msgstr ""
395
396
- #: subscribe2.php:1565
397
msgid ""
398
"Posts assigned to any Excluded Category do not generate notifications and "
399
"are not included in digest notifications"
400
msgstr ""
401
402
- #: subscribe2.php:1572
403
msgid "Allow registered users to subscribe to excluded categories?"
404
msgstr ""
405
406
- #: subscribe2.php:1575
407
msgid "Writing Options"
408
msgstr ""
409
410
- #: subscribe2.php:1581
411
msgid "Show the Subscribe2 button on the Write toolbar?"
412
msgstr ""
413
414
- #: subscribe2.php:1588
415
msgid "Enable Subscribe2 Widget?"
416
msgstr ""
417
418
- #: subscribe2.php:1592
419
msgid "Auto Subscribe"
420
msgstr ""
421
422
- #: subscribe2.php:1594
423
msgid "Subscribe new users registering with your blog"
424
msgstr ""
425
426
- #: subscribe2.php:1599
427
msgid "Automatically"
428
msgstr ""
429
430
- #: subscribe2.php:1604
431
msgid "Display option on Registration Form"
432
msgstr ""
433
434
- #: subscribe2.php:1610
435
msgid "Registration Form option is checked by default"
436
msgstr ""
437
438
- #: subscribe2.php:1621
439
msgid "Auto-subscribe users to receive email as"
440
msgstr ""
441
442
- #: subscribe2.php:1626 subscribe2.php:1764
443
msgid "HTML"
444
msgstr ""
445
446
- #: subscribe2.php:1631
447
msgid "Plain Text - Full"
448
msgstr ""
449
450
- #: subscribe2.php:1636
451
msgid "Plain Text - Excerpt"
452
msgstr ""
453
454
- #: subscribe2.php:1637
455
msgid "Auto Subscribe me to new categories is checked by default"
456
msgstr ""
457
458
- #: subscribe2.php:1651
459
msgid "Barred Domains"
460
msgstr ""
461
462
- #: subscribe2.php:1653
463
msgid ""
464
"Enter domains to bar from public subscriptions: <br /> (Use a new line for "
465
"each entry and omit the \"@\" symbol, for example email.com)"
466
msgstr ""
467
468
- #: subscribe2.php:1661
469
msgid "Reset Default"
470
msgstr ""
471
472
- #: subscribe2.php:1662
473
msgid ""
474
"Use this to reset all options to their defaults. This <strong><em>will not</"
475
"em></strong> modify your list of subscribers."
476
msgstr ""
477
478
- #: subscribe2.php:1664
479
msgid "RESET"
480
msgstr ""
481
482
- #: subscribe2.php:1690
483
msgid "Subscription preferences updated."
484
msgstr ""
485
486
- #: subscribe2.php:1751
487
msgid "Notification Settings"
488
msgstr ""
489
490
- #: subscribe2.php:1759
491
msgid "Receive email as"
492
msgstr ""
493
494
- #: subscribe2.php:1769
495
msgid "Plain Text"
496
msgstr ""
497
498
- #: subscribe2.php:1771
499
msgid "Email contains"
500
msgstr ""
501
502
- #: subscribe2.php:1772
503
msgid "Excerpt Only"
504
msgstr ""
505
506
- #: subscribe2.php:1772
507
msgid "Full Post"
508
msgstr ""
509
510
- #: subscribe2.php:1780
511
msgid "Note: HTML format will always deliver the full post"
512
msgstr ""
513
514
- #: subscribe2.php:1781
515
msgid "Automatically subscribe me to newly created categories"
516
msgstr ""
517
518
- #: subscribe2.php:1795
519
msgid "Subscribed Categories"
520
msgstr ""
521
522
- #: subscribe2.php:1800
523
msgid "Receive daily summary of new posts?"
524
msgstr ""
525
526
- #: subscribe2.php:1816
527
msgid "Update Preferences"
528
msgstr ""
529
530
- #: subscribe2.php:1862
531
msgid "Send email to all subscribers"
532
msgstr ""
533
534
- #: subscribe2.php:1868
535
msgid "Subject"
536
msgstr ""
537
538
- #: subscribe2.php:1868
539
msgid "A message from "
540
msgstr ""
541
542
- #: subscribe2.php:1871
543
msgid "Recipients: "
544
msgstr ""
545
546
- #: subscribe2.php:1952
547
msgid "All Subscribers"
548
msgstr ""
549
550
- #: subscribe2.php:1953
551
msgid "Public Subscribers"
552
msgstr ""
553
554
- #: subscribe2.php:1954
555
msgid "Confirmed"
556
msgstr ""
557
558
- #: subscribe2.php:1955
559
msgid "Unconfirmed"
560
msgstr ""
561
562
- #: subscribe2.php:1956
563
msgid "Registered Users"
564
msgstr ""
565
566
- #: subscribe2.php:2020
567
msgid "Per Post Email"
568
msgstr ""
569
570
- #: subscribe2.php:2035
571
msgid "Send Digest Notification at"
572
msgstr ""
573
574
- #: subscribe2.php:2047
575
msgid ""
576
"This option will work for digest notification sent daily or less frequently"
577
msgstr ""
578
579
- #: subscribe2.php:2050
580
msgid "Current UTC time is"
581
msgstr ""
582
583
- #: subscribe2.php:2052
584
msgid "Current blog time is"
585
msgstr ""
586
587
- #: subscribe2.php:2054
588
msgid "Next email notification will be sent when your blog time is after"
589
msgstr ""
590
591
- #: subscribe2.php:2067
592
msgid "Check here to Subscribe to email notifications for new posts"
593
msgstr ""
594
595
- #: subscribe2.php:2076
596
msgid ""
597
"By Registering with this blog you are also agreeing to recieve email "
598
- "notifications for new posts"
599
msgstr ""
600
601
- #: subscribe2.php:2202
602
msgid "Subscription Confirmation"
603
msgstr ""
604
605
- #: subscribe2.php:2239
606
msgid "Title:"
607
msgstr ""
608
609
- #: subscribe2.php:2259
610
msgid "Settings"
611
msgstr ""
612
613
- #: subscribe2.php:2437
614
msgid "Digest Email"
615
msgstr ""
616
8
msgstr ""
9
"Project-Id-Version: PACKAGE VERSION\n"
10
"Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2008-09-20 19:02+0100\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"
16
"Content-Type: text/plain; charset=CHARSET\n"
17
"Content-Transfer-Encoding: 8bit\n"
18
19
+ #: subscribe2.php:63
20
msgid "To manage your subscription options please "
21
msgstr ""
22
23
+ #: subscribe2.php:63
24
msgid "login"
25
msgstr ""
26
27
+ #: subscribe2.php:65 subscribe2.php:67
28
msgid "You may manage your subscription options from your "
29
msgstr ""
30
31
+ #: subscribe2.php:65 subscribe2.php:67
32
msgid "profile"
33
msgstr ""
34
35
+ #: subscribe2.php:69
36
msgid "A confirmation message is on its way!"
37
msgstr ""
38
39
+ #: subscribe2.php:71
40
msgid "That email address is already subscribed."
41
msgstr ""
42
43
+ #: subscribe2.php:73
44
msgid "That email address is not subscribed."
45
msgstr ""
46
47
+ #: subscribe2.php:75
48
msgid "Sorry, but that does not look like an email address to me."
49
msgstr ""
50
51
+ #: subscribe2.php:77
52
msgid ""
53
"Sorry, email addresses at that domain are currently barred due to spam, "
54
"please use an alternative email address."
55
msgstr ""
56
57
+ #: subscribe2.php:79
58
msgid ""
59
"Sorry, there seems to be an error on the server. Please try again later."
60
msgstr ""
61
62
+ #: subscribe2.php:81
63
msgid "Message sent!"
64
msgstr ""
65
66
+ #: subscribe2.php:83
67
msgid ""
68
"Message failed! Check your settings and check with your hosting provider"
69
msgstr ""
70
71
+ #: subscribe2.php:85
72
msgid "Your email:"
73
msgstr ""
74
75
+ #: subscribe2.php:85 subscribe2.php:1270 subscribe2.php:1362
76
msgid "Subscribe"
77
msgstr ""
78
79
+ #: subscribe2.php:85 subscribe2.php:1363
80
msgid "Unsubscribe"
81
msgstr ""
82
83
+ #: subscribe2.php:85 subscribe2.php:1887
84
msgid "Send"
85
msgstr ""
86
87
+ #: subscribe2.php:88
88
msgid "No such email address is registered."
89
msgstr ""
90
91
+ #: subscribe2.php:90
92
msgid "You have successfully subscribed!"
93
msgstr ""
94
95
+ #: subscribe2.php:92
96
msgid "You have successfully unsubscribed."
97
msgstr ""
98
99
+ #: subscribe2.php:94
100
msgid "Please confirm your request"
101
msgstr ""
102
103
+ #: subscribe2.php:96
104
msgid "Subscription Reminder"
105
msgstr ""
106
107
+ #: subscribe2.php:98
108
msgid "subscribe"
109
msgstr ""
110
111
+ #: subscribe2.php:100
112
msgid "unsubscribe"
113
msgstr ""
114
115
+ #: subscribe2.php:103
116
msgid "Options saved!"
117
msgstr ""
118
119
+ #: subscribe2.php:104
120
msgid "Options reset!"
121
msgstr ""
122
123
+ #: subscribe2.php:112 subscribe2.php:1273
124
msgid "Subscribers"
125
msgstr ""
126
127
+ #: subscribe2.php:115
128
msgid "Subscribe2 Options"
129
msgstr ""
130
131
+ #: subscribe2.php:115 subscribe2.php:2229 subscribe2.php:2298
132
msgid "Subscribe2"
133
msgstr ""
134
135
+ #: subscribe2.php:120
136
msgid "Your Subscriptions"
137
msgstr ""
138
139
+ #: subscribe2.php:123
140
msgid "Mail Subscribers"
141
msgstr ""
142
143
+ #: subscribe2.php:151
144
msgid "Once Weekly"
145
msgstr ""
146
147
+ #: subscribe2.php:728
148
msgid "New subscriber"
149
msgstr ""
150
151
+ #: subscribe2.php:729
152
msgid "subscribed to email notifications!"
153
msgstr ""
154
155
+ #: subscribe2.php:1100
156
msgid "Address(es) subscribed!"
157
msgstr ""
158
159
+ #: subscribe2.php:1106
160
msgid "Address(es) deleted!"
161
msgstr ""
162
163
+ #: subscribe2.php:1112 subscribe2.php:1118
164
msgid "Status changed!"
165
msgstr ""
166
167
+ #: subscribe2.php:1132
168
msgid "Reminder Email(s) Sent!"
169
msgstr ""
170
171
+ #: subscribe2.php:1135
172
msgid "Registered Users Subscribed!"
173
msgstr ""
174
175
+ #: subscribe2.php:1138
176
msgid "Registered Users Unsubscribed!"
177
msgstr ""
178
179
+ #: subscribe2.php:1236
180
msgid "Previous Page"
181
msgstr ""
182
183
+ #: subscribe2.php:1256
184
msgid "Next Page"
185
msgstr ""
186
187
+ #: subscribe2.php:1263
188
msgid "Subscribe Addresses"
189
msgstr ""
190
191
+ #: subscribe2.php:1267
192
msgid "Enter addresses, one per line or comma-separated"
193
msgstr ""
194
195
+ #: subscribe2.php:1275
196
msgid "Filter"
197
msgstr ""
198
199
+ #: subscribe2.php:1279
200
msgid ""
201
"Registered on the left, confirmed in the middle, unconfirmed on the right"
202
msgstr ""
203
204
+ #: subscribe2.php:1283
205
msgid "Search Subscribers"
206
msgstr ""
207
208
+ #: subscribe2.php:1285
209
msgid "Save Emails to CSV File"
210
msgstr ""
211
212
+ #: subscribe2.php:1288
213
+ msgid "Send Reminder Email"
214
+ msgstr ""
215
+
216
+ #: subscribe2.php:1291 subscribe2.php:1351
217
msgid "Process"
218
msgstr ""
219
220
+ #: subscribe2.php:1303 subscribe2.php:1330
221
msgid "Confirm this email address"
222
msgstr ""
223
224
+ #: subscribe2.php:1305 subscribe2.php:1328
225
msgid "Unconfirm this email address"
226
msgstr ""
227
228
+ #: subscribe2.php:1307 subscribe2.php:1335
229
msgid "Delete this email address"
230
msgstr ""
231
232
+ #: subscribe2.php:1308 subscribe2.php:1946
233
msgid "Select / Unselect All"
234
msgstr ""
235
236
+ #: subscribe2.php:1343
237
msgid "No matching subscribers found"
238
msgstr ""
239
240
+ #: subscribe2.php:1345
241
msgid "NONE"
242
msgstr ""
243
244
+ #: subscribe2.php:1356
245
msgid "Categories"
246
msgstr ""
247
248
+ #: subscribe2.php:1358
249
msgid ""
250
"Existing Registered Users can be automatically (un)subscribed to categories "
251
"using this section."
252
msgstr ""
253
254
+ #: subscribe2.php:1359
255
msgid "Consider User Privacy as changes cannot be undone"
256
msgstr ""
257
258
+ #: subscribe2.php:1361
259
msgid "Action to perform"
260
msgstr ""
261
262
+ #: subscribe2.php:1366 subscribe2.php:1670
263
msgid "Submit"
264
msgstr ""
265
266
+ #: subscribe2.php:1475
267
msgid "Delivery Options"
268
msgstr ""
269
270
+ #: subscribe2.php:1480
271
msgid "Restrict the number of recpients per email to (0 for unlimited)"
272
msgstr ""
273
274
+ #: subscribe2.php:1482 subscribe2.php:1490
275
msgid "Edit"
276
msgstr ""
277
278
+ #: subscribe2.php:1485 subscribe2.php:1493
279
msgid "Update"
280
msgstr ""
281
282
+ #: subscribe2.php:1486 subscribe2.php:1494
283
msgid "Revert"
284
msgstr ""
285
286
+ #: subscribe2.php:1488
287
msgid "Set default Subscribe2 page as ID"
288
msgstr ""
289
290
+ #: subscribe2.php:1496
291
msgid "Send Emails for Pages"
292
msgstr ""
293
294
+ #: subscribe2.php:1501 subscribe2.php:1512 subscribe2.php:1523
295
+ #: subscribe2.php:1627 subscribe2.php:1654 subscribe2.php:1798
296
+ #: subscribe2.php:1818
297
msgid "Yes"
298
msgstr ""
299
300
+ #: subscribe2.php:1506 subscribe2.php:1517 subscribe2.php:1528
301
+ #: subscribe2.php:1621 subscribe2.php:1632 subscribe2.php:1659
302
+ #: subscribe2.php:1803 subscribe2.php:1822
303
msgid "No"
304
msgstr ""
305
306
+ #: subscribe2.php:1507
307
msgid "Send Emails for Password Protected Posts"
308
msgstr ""
309
310
+ #: subscribe2.php:1518
311
msgid "Send Emails for Private Posts"
312
msgstr ""
313
314
+ #: subscribe2.php:1529
315
msgid "Send Email From"
316
msgstr ""
317
318
+ #: subscribe2.php:1534
319
msgid "Author of the post"
320
msgstr ""
321
322
+ #: subscribe2.php:1539
323
msgid "Blog Admin"
324
msgstr ""
325
326
+ #: subscribe2.php:1541
327
msgid "Send Email as Digest"
328
msgstr ""
329
330
+ #: subscribe2.php:1545
331
msgid "Email Templates"
332
msgstr ""
333
334
+ #: subscribe2.php:1549
335
msgid "New Post email (must not be empty)"
336
msgstr ""
337
338
+ #: subscribe2.php:1553
339
msgid "Message substitions"
340
msgstr ""
341
342
+ #: subscribe2.php:1557
343
msgid "the post's title<br />(<i>for per-post emails only</i>)"
344
msgstr ""
345
346
+ #: subscribe2.php:1558
347
msgid ""
348
"the excerpt or the entire post<br />(<i>based on the subscriber's "
349
"preferences</i>)"
350
msgstr ""
351
352
+ #: subscribe2.php:1559
353
msgid "a list of post titles<br />(<i>for digest emails only</i>)"
354
msgstr ""
355
356
+ #: subscribe2.php:1560
357
msgid "the post's permalink<br />(<i>for per-post emails only</i>)"
358
msgstr ""
359
360
+ #: subscribe2.php:1561
361
msgid "the admin or post author's name"
362
msgstr ""
363
364
+ #: subscribe2.php:1562
365
msgid "the admin or post author's email"
366
msgstr ""
367
368
+ #: subscribe2.php:1563
369
msgid "the post author's name"
370
msgstr ""
371
372
+ #: subscribe2.php:1564
373
msgid ""
374
"the generated link to confirm a request<br />(<i>only used in the "
375
"confirmation email template</i>)"
376
msgstr ""
377
378
+ #: subscribe2.php:1565
379
msgid ""
380
"Action performed by LINK in confirmation email<br />(<i>only used in the "
381
"confirmation email template</i>)"
382
msgstr ""
383
384
+ #: subscribe2.php:1567
385
msgid "Subscribe / Unsubscribe confirmation email"
386
msgstr ""
387
388
+ #: subscribe2.php:1570
389
msgid "Reminder email to Unconfirmed Subscribers"
390
msgstr ""
391
392
+ #: subscribe2.php:1575
393
msgid "Excluded Categories"
394
msgstr ""
395
396
+ #: subscribe2.php:1577
397
msgid ""
398
"Posts assigned to any Excluded Category do not generate notifications and "
399
"are not included in digest notifications"
400
msgstr ""
401
402
+ #: subscribe2.php:1584
403
msgid "Allow registered users to subscribe to excluded categories?"
404
msgstr ""
405
406
+ #: subscribe2.php:1587
407
msgid "Writing Options"
408
msgstr ""
409
410
+ #: subscribe2.php:1593
411
msgid "Show the Subscribe2 button on the Write toolbar?"
412
msgstr ""
413
414
+ #: subscribe2.php:1600
415
msgid "Enable Subscribe2 Widget?"
416
msgstr ""
417
418
+ #: subscribe2.php:1604
419
msgid "Auto Subscribe"
420
msgstr ""
421
422
+ #: subscribe2.php:1606
423
msgid "Subscribe new users registering with your blog"
424
msgstr ""
425
426
+ #: subscribe2.php:1611
427
msgid "Automatically"
428
msgstr ""
429
430
+ #: subscribe2.php:1616
431
msgid "Display option on Registration Form"
432
msgstr ""
433
434
+ #: subscribe2.php:1622
435
msgid "Registration Form option is checked by default"
436
msgstr ""
437
438
+ #: subscribe2.php:1633
439
msgid "Auto-subscribe users to receive email as"
440
msgstr ""
441
442
+ #: subscribe2.php:1638 subscribe2.php:1776
443
msgid "HTML"
444
msgstr ""
445
446
+ #: subscribe2.php:1643
447
msgid "Plain Text - Full"
448
msgstr ""
449
450
+ #: subscribe2.php:1648
451
msgid "Plain Text - Excerpt"
452
msgstr ""
453
454
+ #: subscribe2.php:1649
455
msgid "Auto Subscribe me to new categories is checked by default"
456
msgstr ""
457
458
+ #: subscribe2.php:1663
459
msgid "Barred Domains"
460
msgstr ""
461
462
+ #: subscribe2.php:1665
463
msgid ""
464
"Enter domains to bar from public subscriptions: <br /> (Use a new line for "
465
"each entry and omit the \"@\" symbol, for example email.com)"
466
msgstr ""
467
468
+ #: subscribe2.php:1673
469
msgid "Reset Default"
470
msgstr ""
471
472
+ #: subscribe2.php:1674
473
msgid ""
474
"Use this to reset all options to their defaults. This <strong><em>will not</"
475
"em></strong> modify your list of subscribers."
476
msgstr ""
477
478
+ #: subscribe2.php:1676
479
msgid "RESET"
480
msgstr ""
481
482
+ #: subscribe2.php:1702
483
msgid "Subscription preferences updated."
484
msgstr ""
485
486
+ #: subscribe2.php:1763
487
msgid "Notification Settings"
488
msgstr ""
489
490
+ #: subscribe2.php:1771
491
msgid "Receive email as"
492
msgstr ""
493
494
+ #: subscribe2.php:1781
495
msgid "Plain Text"
496
msgstr ""
497
498
+ #: subscribe2.php:1783
499
msgid "Email contains"
500
msgstr ""
501
502
+ #: subscribe2.php:1784
503
msgid "Excerpt Only"
504
msgstr ""
505
506
+ #: subscribe2.php:1784
507
msgid "Full Post"
508
msgstr ""
509
510
+ #: subscribe2.php:1792
511
msgid "Note: HTML format will always deliver the full post"
512
msgstr ""
513
514
+ #: subscribe2.php:1793
515
msgid "Automatically subscribe me to newly created categories"
516
msgstr ""
517
518
+ #: subscribe2.php:1807
519
msgid "Subscribed Categories"
520
msgstr ""
521
522
+ #: subscribe2.php:1812
523
msgid "Receive daily summary of new posts?"
524
msgstr ""
525
526
+ #: subscribe2.php:1828
527
msgid "Update Preferences"
528
msgstr ""
529
530
+ #: subscribe2.php:1874
531
msgid "Send email to all subscribers"
532
msgstr ""
533
534
+ #: subscribe2.php:1880
535
msgid "Subject"
536
msgstr ""
537
538
+ #: subscribe2.php:1880
539
msgid "A message from "
540
msgstr ""
541
542
+ #: subscribe2.php:1883
543
msgid "Recipients: "
544
msgstr ""
545
546
+ #: subscribe2.php:1964
547
msgid "All Subscribers"
548
msgstr ""
549
550
+ #: subscribe2.php:1965
551
msgid "Public Subscribers"
552
msgstr ""
553
554
+ #: subscribe2.php:1966
555
msgid "Confirmed"
556
msgstr ""
557
558
+ #: subscribe2.php:1967
559
msgid "Unconfirmed"
560
msgstr ""
561
562
+ #: subscribe2.php:1968
563
msgid "Registered Users"
564
msgstr ""
565
566
+ #: subscribe2.php:2032
567
msgid "Per Post Email"
568
msgstr ""
569
570
+ #: subscribe2.php:2047
571
msgid "Send Digest Notification at"
572
msgstr ""
573
574
+ #: subscribe2.php:2059
575
msgid ""
576
"This option will work for digest notification sent daily or less frequently"
577
msgstr ""
578
579
+ #: subscribe2.php:2062
580
msgid "Current UTC time is"
581
msgstr ""
582
583
+ #: subscribe2.php:2064
584
msgid "Current blog time is"
585
msgstr ""
586
587
+ #: subscribe2.php:2066
588
msgid "Next email notification will be sent when your blog time is after"
589
msgstr ""
590
591
+ #: subscribe2.php:2079
592
msgid "Check here to Subscribe to email notifications for new posts"
593
msgstr ""
594
595
+ #: subscribe2.php:2088
596
msgid ""
597
"By Registering with this blog you are also agreeing to recieve email "
598
+ "notifications for new posts but you can unsubscribe at anytime"
599
msgstr ""
600
601
+ #: subscribe2.php:2215
602
msgid "Subscription Confirmation"
603
msgstr ""
604
605
+ #: subscribe2.php:2252
606
msgid "Title:"
607
msgstr ""
608
609
+ #: subscribe2.php:2272
610
msgid "Settings"
611
msgstr ""
612
613
+ #: subscribe2.php:2410
614
+ msgid "Posted on"
615
+ msgstr ""
616
+
617
+ #: subscribe2.php:2452
618
msgid "Digest Email"
619
msgstr ""
620
subscribe2debug.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Subscribe2 Debug
4
Plugin URI: http://subscribe2.wordpress.com
5
Description: Produces Debug Information for the Subscribe2 plugin.
6
- Version: 4.9
7
Author: Matthew Robinson
8
Author URI: http://subscribe2.wordpress.com
9
*/
3
Plugin Name: Subscribe2 Debug
4
Plugin URI: http://subscribe2.wordpress.com
5
Description: Produces Debug Information for the Subscribe2 plugin.
6
+ Version: 4.10
7
Author: Matthew Robinson
8
Author URI: http://subscribe2.wordpress.com
9
*/
subscribe2uninstaller.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Subscribe2 Uninstaller
4
Plugin URI: http://subscribe2.wordpress.com
5
Description: Uninstalls the Subscribe2 plugin from Manage->S2 Uninstaller.
6
- Version: 4.9
7
Author: Matthew Robinson
8
Author URI: http://subscribe2.wordpress.com
9
*/
3
Plugin Name: Subscribe2 Uninstaller
4
Plugin URI: http://subscribe2.wordpress.com
5
Description: Uninstalls the Subscribe2 plugin from Manage->S2 Uninstaller.
6
+ Version: 4.10
7
Author: Matthew Robinson
8
Author URI: http://subscribe2.wordpress.com
9
*/