Version 4.8 of the Plugin is now available for download.
Version 4.8 is for 2.5.x users only! (Although it should work with WordPress 2.6 too!) This version has been tested on WordPress 2.5.1.
Users of WordPress 2.0.x should download Version 2.22 of Subscribe2. Users of WordPress 2.1.x and 2.2.x should download Version 3.8.
This version contains the following improvements:
- Removed unnecessary return statement at end of publish() function
- Ensured posts in digest are listed in date order
- Improved compatibility with other plugins by only inserting JavaScript code into Subscribe2’s own admin pages
- Added BCCLIMIT and S2PAGE to options page with AJAX editing
- Improved setting of CRON task base time
- Improved handling of option values in the options form
- Full XHTML compliance on all subscribe2 admin pages
- Decode HTML entity codes in notification email subjects
- Added Subscribe2 support for blogging via email
- Work-around fix implemented for WordPress the_title bug
There are currently no known issues affecting this version
If you use this plugin consider making a donation to support future development!
To install correctly use the WordPress Auto Upgrade feature or:
- Deactivate your exisiting Subscribe2 Plugin
- Use FTP software to delete the old plugin and upload the new version
- Ensure that the complete subscribe2 folder is uploaded
- Activate the new version of the plugin
July 4, 2008 at 6:14 pm
Hi, I have spanish translation for suscribe2 2.4.8 I will send you if you want to.
Thanks for the improvements!
July 8, 2008 at 1:49 pm
Dear,
This is truely a great plugin.
One question though, how can i get the digest (weekly) to have the (perma) links of the posts/pages that were created during the last week….it seems that it only puts the excerpts and does not have the permalink if it is a digest….it only does that in the per-post emails.
Thanks
July 8, 2008 at 8:01 pm
Nice plugin, thanks. Could someone fill me on what the Subcribe2 debug does? I have activated it on occasion and it creates a new item in the admin menu but clicking on it does nothing and I don’t see any sort of log or anything that it creates.
July 8, 2008 at 9:48 pm
Enalo,
The permalink should be in the digest email right after the title provided you have the POST keyword in your email template.
July 8, 2008 at 9:49 pm
Aasorg,
The debug plugin simply creates an Admin page that lists the database variables stored by Subscribe2. It is only required if you are having problems and need to feed back some information.
July 9, 2008 at 5:49 pm
hi all,
i’ve recently upgraded a very large site from an old WP install (2.1 i think?) to 2.5.1. one of the very important components of the site is a heavily modified version of Subscribe2 – and obviously its an older one.
the plugin seems to work nicely still, save one issue – its sending emails out on every post edit now, not just new posts. i suspect something has changed in how WP interprets an edit vs what S2 is looking for..
so basically this code no longer has an effect:
add_action(’edit_post’, array(&$this, ‘edit’));
and
/**
Prevents notifications from being sent when editing posts
*/
function edit($ID = 0) {
if (0 == $ID) { return; }
$this->private = TRUE;
return $ID;
}
anyone else see something like this, or perhaps know what happened here with the edit_post hook?
any help would be appeciated
.
pete
July 9, 2008 at 7:29 pm
I need to send the notifications weekly, but in a specified day of the week, and time. How could I get it?
Thank you!
July 9, 2008 at 8:05 pm
Pete,
A recent version of WordPress (2.2 I think) completely changed the hooks available for use when posts are published.
To stop posts for edits you need to upgrade to the latest version of Subscribe2.
July 9, 2008 at 8:06 pm
Taote,
The easiest way would be to reset the Weekly schedule at the exact time you want the weekly digest email to go out. The other way would be to figure out the timestamp for when your mail is due and manually edit this into the WordPress database – but do this at your own risk!
July 9, 2008 at 10:44 pm
Hi. Great plugin, as others have said. Thank you for it!
However, I think you need to say more about what to do if the page continues to say “You may manage your subscription options from your profile” instead of showing the form. Just saying “Try logging out and see if it appears” doesn’t cut it. I’ve logged out, cleared my cache, waved a dead chicken… Nothing is making the form appear instead of that silly message.
(*20 minutes pass*)
Found it. By code inspection,
I discovered that the form is only shown for not-logged-in users. This is ok. But I think your documentation (FAQ, or whatever) should make that clear(er).
Thanks!
July 10, 2008 at 9:54 am
Jdp,
I’m happy to make my documentation clearer but “Try logging out” is my polite way of saying “Log out of WordPress, become a non-logged-in user and the form will appear”
Which part of the documentation needs a reword and what would you write?
July 12, 2008 at 8:05 pm
Hey guys, I have a suggestion for your next version.
Problem: Many email hosts do not like Bcc. They tag incoming mail using Bcc as spam.
Solution: Subscribe2 plugin users will set “Restrict the number of recpients per email to” 1. In subscribe2.php’s mail function, add four lines of code in the “we’re not on a dreamhost section”. If bcclimit is 1 then there is no sense using Bcc at all — send a personal email using To instead:
if( $this->subscribe2_options['bcclimit'] == 1 ) { // added
$bcc = “To: $recipient”; // added; note To: instead of Bcc:
} else { // added
if ( (!empty($recipient)) && ($this->myemail != $recipient) ) { // original code
(” == $bcc) ? $bcc = “Bcc: $recipient” : $bcc .= “, $recipient”; // original code
// Bcc Headers now constructed by phpmailer class // original code
} // original code
} // added
July 12, 2008 at 8:49 pm
Hello,
Thank you for your plugin, that’s really great.
I have just one problem, I want to integrate the subscribe form on my template without widget, can you give me please the code to insert it on my template?
I see the form how it works but on the action I don’t find anything so when I do my <form method=”post” action=”????”…
Thanks in advance.
Cheers,
Jim
July 13, 2008 at 1:44 am
I like this plugin a lot, but am experiencing something weird with it (I’ve got 4.8 installed in 2.5.1). When I set it to send mails as soon as I post, it sends the e-mails. When I set it to Digest – oops, it refuses to send the e-mails. I am scratching my head at the weird behaviour right now. The mails are sent via my GMail address.
July 13, 2008 at 1:49 am
I forgot to mention something, Matthew. Not too sure if it affects the plugin, but I am using Registered Only (http://blog.carthik.net/) by Carthik Sharma. The plugin ensures that only registered readers can read my blog.
July 13, 2008 at 2:31 am
Follow up to my July 12, 2008 at 8:05 pm comment:
The changes I suggested only come into play when you use a digest option.
Thanks.
Mitch
July 13, 2008 at 11:10 am
Jim,
I only recommend using te Widget to put the form in the sidebar. I you want to code it in yourself I suggest you look at the code the Widget employs and go from there.
July 13, 2008 at 11:12 am
Sensei Michael,
There was a glitch in the Digest code in early downloads of version 4.7. Are you using 4.8 or 4.7? If the latter then upgrade.
July 13, 2008 at 11:13 am
Webmasterrothstein,
Nice suggestion, I’ve made some changes in the trunk based on your suggestion. Take a look and if you have time test out the new code – I may have ironed out some of the issues you were having. The dev version is updated now.
July 13, 2008 at 2:25 pm
Very sure it is 4.8 (checked again just to be triple sure!), Matt. I upgraded it using WordPress’s “auto-upgrade” facility. I’m now testing it by trying out restricting the numbers to 100 instead of the default 0. I’d let you know if that helps. I am really very puzzled.
July 13, 2008 at 10:54 pm
Thanks for considering my suggestion. Here is an error message from the error_log:
[client 209.30.154.113] PHP Fatal error: Cannot break/continue 1 level in /var/ www/vhosts/pdqweb.net/httpdocs/wp-content/plugins/subscribe2/subscribe2.php on l ine 278, referer: http://www.pdqweb.net/wp-admin/post-new.php
July 13, 2008 at 11:01 pm
I should add that this error occurred while in “Per Post Email” mode.
I also notice that the next time to send seems to flip back and forth between UTC and local time. I don’t have a handle on it yet.
Thank you for your efforts.
July 14, 2008 at 12:05 am
Same error occurs with the hourly digest.
The line numbers are off because of another mod I have. The error occurs on this line:
if (!is_email($this->myemail)) { continue; }
July 14, 2008 at 1:57 am
When I comment that line out and execute, I see that all addresses are appended together like this:
:
74.125.45.27 does not like recipient.
July 14, 2008 at 2:02 am
You can’t see what I pasted but it was just one address after another with no separators.
July 14, 2008 at 10:40 am
Webmasterrothstein,
Whoops, coding error on my part. $recipients is passed as an array containing all the addresses so I’ll need to make some revisions. I’ll try to get the changes checked in tonight.
July 14, 2008 at 5:57 pm
hey, how do i translate this plugin? theres a .pot file, do i just have to edit that ? and then? upload a .mo file and it uses that automatically? or how do i do it? thanks in advance!
July 15, 2008 at 12:45 am
Installed it on my site however when its active my administrator panel becomes really slow to react and quite unstable, any idea what causes this?
July 15, 2008 at 12:47 am
I forgot I’m running wordpress v2.5.1.
Is it possible that its slow becomes of the amount os subscribers on my blog?
July 15, 2008 at 1:24 am
@Alexander: We have over 10,000 subscribers and we do not experience the slow response time you describe.
July 15, 2008 at 2:31 am
My page is closing in on 20,000 webmastererrothstein, but if you don’t notice any type of slowness with 10k I don’t I should experience the slowness on mine, either way I think its a comptaiblity issue with another wordpress plug-in.
I’ll have to find a replacement because its to unstable when it is activated.
July 15, 2008 at 3:18 am
Is there an easy way to bulk remove email addresses?
July 15, 2008 at 4:29 pm
The save emails as CSV isn’t working in this version, looks to me like the form tags are missing. I tried copying the form elements from v4.6 but that still didn’t work. This was a really handy feature. WP 2.6.
July 16, 2008 at 12:02 am
When attempting to use this plugin only 1 notification email,currently set at 25 subscribers, is being sent. With the number of subscribers we have, we cannot set the number of subscribers to(all).
We are using WordPress version 2.5x, Subscribe2 version 4.8, and Yahoo Small Business as our web host.
Any thoughts? Thank you
July 16, 2008 at 8:40 am
I think I’ve given up. I’d just set Subscribe 2 for individual mails. Nothing I tried seem to work…and now WordPress is in 2.6!
July 16, 2008 at 5:52 pm
Creasey,
Rename the template (POT) file as *.po and then enter your translations using a text editor or an application like POEdit. Once you are done create an *.mo file using POEdit and upload this to see your translations.
July 16, 2008 at 5:54 pm
Alexander,
Given the number of subscribers it may slow down during the initial upgrade. You may be noticing this more because of lower server specs. It may also be worth deactivating all other plugins to see if this helps at all.
July 16, 2008 at 5:55 pm
Webmasterrothstein,
There isn’t a bulk remove feature in the plugin so the easiest way is currently direct in the database table.
July 16, 2008 at 9:23 pm
Mishka,
I’ve been made aware of a bug with IE6 & 7 already and I am looking into it. The plugin works fine in Firefox 2 and 3, Safari and Opera. I’ll see if we can get things working in IE again but I’s also recommend you start using a decent browser
July 17, 2008 at 11:13 am
JTelson,
If I’m understanding your comment correctly, you have many subscribers but only the first 25 get an email notification.
Have you contact Yahoo and ask about email restrictions?
July 17, 2008 at 11:15 am
Sensei Michael,
Sometimes there are no changes that can be made to get Subscribe2 working with hosting restrictions. That’s why my main site is on a VPS host – it’s the only way I can get notifications to send.
July 17, 2008 at 11:55 am
Hi,
I need a better widget form structure.
Please use label, for, class and id values for a better css forming.
Specially id values for email, radio and button.
Thanks.
July 17, 2008 at 12:49 pm
I am writing a small JavaScript/PHP application that is not a WP plugin. The application stores options tied to the WP user id (because it is connected to my blog and I want to work with the existing accounts).
It checks if a WP user is logged in by calling wp_validate_auth_cookie(). This works BUT it also generates a lot of SQL on each call: 7 selects on wp_options, 1 delete on wp_options, 1 gigantic insert on wp_options. The last query is “DESCRIBE wp_subscribe2″
I uninstalled all plugins and restarted Apache but still see the problem. I don’t think it has anything to do with Subscribe2 (since the plugins are all uninstalled) but I thought I’d ask all the same.
This is the PHP I’m testing with
“
Please email if you have any ideas what could be going on?
July 17, 2008 at 12:50 pm
That PHP didn’t post – here it is without the PHP declaration…
require_once getenv(”DOCUMENT_ROOT”).”/wp-config.php”;
$userId = wp_validate_auth_cookie();
echo “USER: “.($userId?$userId:”no user”);
July 17, 2008 at 1:59 pm
I did contact Yahoo and they do have a restriction on the number of recipients I can contact daily using this plugin (250), so I should have had 10 groups of 25 recipients sent before Yahoo cut us off rather than 1.
Since we have over 500 subs though it looks like I’m going to be searching for an alternate solution. Thank you for you assistance.
July 17, 2008 at 7:30 pm
hey there!
I just updated and posted on my blog, and i got a ton of emails back with the error: “Bad sender address syntax”
I don’t think this is a 2.8 specific issue, but how do i edit the sender syntax ?
July 17, 2008 at 7:49 pm
okay, i think i see where the problem is. This is the header of the mail in question:
Received: from VS1139236 ([127.0.0.1]) by home with MailEnable ESMTP; Thu, 17 Jul 2008 20:07:09 +0200
Subject: [BLACKBOARD] alte und neue news
To: mail@carlosfleischer.com
Date: Thu, 17 Jul 2008 20:07:09 +0200
Return-Path: <carlos
From: carlos
Message-ID:
X-Priority: 3
Return-Path: <carlos
Reply-To: “carlos”
X-Mailer: PHP5.2.1
Precedence: list
List-Id: BLACKBOARD
MIME-Version: 1.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset=”UTF-8″
any idea how that could happen?
July 17, 2008 at 9:01 pm
oh. sorry to flood you. i just saw that html eats most of the header. just delete my comments
July 17, 2008 at 9:20 pm
Andy,
A DESCRIBE statement is made as part in the install or upgrade functions of Subscribe2. I think it could only be being called if Subscribe2 was installed and active. If you’ve deactivated all the plugins try moving the folder or deleting it and see if the query is still made.
July 17, 2008 at 9:23 pm
JTelson,
If Yahoo have these restrictions in place they may be enforcing them hourly which would explain the limit you are running into. Nothing I can do to help – sorry but it’s a Yahoo problem. Upgrade your hosting or move providers.
July 17, 2008 at 9:24 pm
Carlos,
Are you using an edited version of Subscribe2 or off-the-peg? Have you resolved your issue?
July 17, 2008 at 9:46 pm
hey matt.
off-the-peg!
and i have not yet resolved the issue.
what i have found is that the Reply-to and Return-path that end up in the email does not come from subscribe2.php. instead, the adress that subscribe2.php returns in the “From:” column is dubbed to Reply and Return . somewhat difficult to understand? okay wait i’ll give you that with line numbers..
July 17, 2008 at 9:56 pm
here it is:
Line 245 does seem to end up in the actual header of the sent email.
Line 246 and 247 do not seem to be considered. Instead the email adress returned in line 245 is dubbed to the Reply-to: and Return-Path: columns in the final email.
i found that by simply adding a char (”a”) to line 245 where it says “this->myemail”.
the adress returned was then amail@ instead of mail@.
July 17, 2008 at 9:57 pm
how can i post plain text? wp always messes up my comments! there was not meant to be a smiley!
July 17, 2008 at 10:04 pm
sorry again to flood you!
i have uploaded a textfile for better comprehension. you can get it at:
http://carlosfleischer.com/public/subscribe2debug.txt
thx in advance
July 18, 2008 at 4:02 pm
Carlos,
It looks like your server side mail application is altering the headers before sending the email. Try bypassing the server application by pushing the emails through an SMTP server by using this plugin.
July 18, 2008 at 11:27 pm
Hey Matt.
PHPMailer does not help at all. I get an “Cannot modify Header…” Error.
Instead, i tried to simply ban MailEnable off my server and to replace it with hMailServer. Unfortunately that, too, does not help: emails do not get send anymore, at all!
Somehow SwiftSmtp did the job fine until WP2.6, but now i think i will be forced to send my mails over an external domain. wich is the worst of all cases..
July 20, 2008 at 5:15 am
By the way, it looks like there are some minor teething problems with WP 2.6. Although overall functionality seems to be fine, the new “[caption]” tags inserted by WP’s image handling do not seem to be getting filtered out from the generated emails. The text of a recently-generated email looked like this:
===
San Francisco Dad has posted a new item, ‘SFBaby is cut off!’
[caption id="attachment_164" align="alignnone" width="100" caption="(caption text)"][/caption][caption id="attachment_165" align="alignnone"width="150" caption="Know when to stop before you start."][/caption]While entertaining our Dutch friends earlier this week, we stopped by the
famous Buena Vista cafe at the bottom of Russian Hill to get some [...]
==
It seems like something (I guess either WP or Subscribe2?) should be filtering out the contents of the [caption] from the plaintext email.
July 20, 2008 at 6:33 am
I still having problem to send mail using 2.4.8 version. I change from wp_mail to mail, still cannot. It is not related to BCCLimit since I only have 4 subscribers.
Any idea on how to fix this problem.
July 20, 2008 at 9:59 am
Hey again, it seems all subscribers (I subscribed with 3 test accounts) get all the emails twice. Is there a fix for that? (I know I get the mail myself more than one time, but also the subscribers get it twice)
July 20, 2008 at 11:02 am
Hey Again!
Well I resolved the Problem by simply kicking out MailEnable (wich seems to be crap, although it worked fine for everything else) and replacing it by hMailServer, in combination with the “WP-Mail-SMTP” Plugin by Callum Macdonald. No faulty headers anymore AND i now have IMAP supported on my server!
Thanks, dear Admin for being so helpful!
July 20, 2008 at 4:16 pm
and one more question.
is there a possibility, to add the url to images in posts when sending the mails?
usually if i add a picture to my post it doesn’t have the full url obviously (since not needed), just something like “/images/picture.php”. But when the post is sended by mail (html) it would need the url for the picture.. thanks!
July 20, 2008 at 5:38 pm
Hi!
how do i edit the subscribe2.php file to show always the same email title? and not with the post title… that’s because i have a multylanguage site and the plugin is sending a email like:
[blogname] – ][lang_br] portuguese text[/lang_br] [lang_en]english text[/lang_en]
and i want something like:
[blogname] static text
thanks,
Morgan
July 20, 2008 at 7:24 pm
SFDad,
I’ll take a look at that and try fixing it for the next release.
July 20, 2008 at 7:24 pm
Ang Chew,
Have you spoken to your host about email limitations? Have you tried the SMTP plugin on here?
July 20, 2008 at 7:25 pm
Creasy,
Are you using per-post or digest emails? Has this happened more than once?
As for your second query, do you mean you want the URL of the image in the post too?
July 20, 2008 at 7:27 pm
Morgan,
Look through the source in the subscribe2.php file and hard code any $subject variables.
July 21, 2008 at 1:51 pm
It is not the BCCLimit since I only have 4 subscribers. The subscribe2 works for me for 4.6, and it does not work for me for 4.7 and 4.8. But I hope to use the latest subscribe2 version.
I have tried the SMTP plugin before. It does not work. Any advise?
July 21, 2008 at 5:07 pm
Ang,
Since 4.7 the BCC headers are constructed using phpMailer which is built into WordPress. What version of WordPress are you using?
July 21, 2008 at 6:22 pm
“Are you using per-post or digest emails? Has this happened more than once?”
It hapened more than once, yes, and with per post and digest mails.
“As for your second query, do you mean you want the URL of the image in the post too?”
Well, not just for images I just realized.
Also for links.
When I post a post… with a internal link for example.
“Link”
Now, when I get the mail, the link obviously doesn’t take me anywhere (same for images), since it would need the URL (http://www.domain.net/sub/link.html). Since you usually don’t add your url to links and images, it would be cool if there was an option to automatically add this to emails sent.
July 21, 2008 at 6:23 pm
The above “Link” was meant to look like “/ sub / link . html”
July 22, 2008 at 10:14 am
I am using the latest WordPress version 2.6. Are you suspecting that it has something to do with the new BCC headers?
July 22, 2008 at 3:25 pm
Creasy,
Try deactivating the plugin and then re-activate it, it is possible it may have hooked into the WordPress API twice.
As for you links, I can only suggest that you put internal links into your posts including the base URL.
July 22, 2008 at 3:27 pm
Ang,
The only thing that changed with the release of 4.7 was the BCC header handling was handed off to the WordPress core files. I suspect this is the problem. You can test this out by reverting the mail() function in Subscribe2 to the same as the 4.6 version on your install to see if that fixes your problem.
July 23, 2008 at 10:27 am
thanks for the answer. when i deactivate then active it again, does anything happen to the preferences of the users or does everything stay the same?
what exactly do you mean by including the base url (sorry, im no expert)?
July 23, 2008 at 11:40 am
Creasy,
Settings will only be removed if you use the Uninstall plugin, deactivating won’t remove any settings.
By including the base URL I mean enter you links as the full URL link, so use:
http://mydomain.com/images/myimage.png
Instead of a relational link like:
./images/myimage.png
July 24, 2008 at 12:50 pm
Hi!
you said to hard code any $subject variables in subscribe2.php, but i don´t have a deep knowleadge about php… aren´t you planning to add this feature in the newx release?
thanks,
Morgan
July 24, 2008 at 2:33 pm
Hello,
Thank you for the plugin; it was exactly what I needed! However, I’m having trouble unsubscribing people…
Subscribe2 is the only plugin I’m using–v4.8 on WP 2.5.1–and when I click the ‘X’ icon next to a subscriber’s email address nothing happens.
Am I missing something?
July 24, 2008 at 7:18 pm
Morgan,
Looking at you comment again and having quickly viewed your site I think the issue is between Subscribe2 and your translation plugin. I wonder if the translation plugin is adding language data to each of your posts to indicate the language used?
July 24, 2008 at 7:20 pm
i-Vie Entertainment,
I bet you are using MSIE or Opera. This is a recently identified bug that is caused by these browser not passing the same information to php as Firefox and Safari does.
I’ve fixed it in the trunk code so adopt the dev version if this is a big problem for you.
July 25, 2008 at 7:03 am
Argh. Subscribe2 has just stopped working for me and I’m at a complete loss to figure out why.
Details: I have ~110 subscribers (including myself, just for testing), am on Dreamhost, have set the BCC limit to 25, and I’m using S2 version 4.8 and WP version 2.6.
I’ve been using S2 for about four months on this site and it was working fine until a week or two ago (possibly related to WP 2.6 and PHP 5 upgrades?).
The current situation is ugly: Nothing appears in the error log file for this site. No error message anywhere. And no e-mail getting through (at least to me — and nobody is complaining about spamming from test posts).
Any advice on what it might take to get up and running again?
My wife and I are having a baby Any Day Now, and I was counting on S2 to send out the announcement. I’m hoping I don’t have to go scramble to find another solution!
July 25, 2008 at 7:04 am
Oh … and just to make the thing even more puzzling: I set up another test blog on the same Dreamhost account. With one subscriber (me), and exactly the same software profile otherwise, I immediately received the e-mail for a test post on that blog.
It’s only failing where it counts.
July 25, 2008 at 3:55 pm
Escouten,
There is a very strong whiff of blocked emails on your host here. You are probably running into an email limit issue on you main site account. Contact DreamHost and see if they can confirm this from their error logs.
July 25, 2008 at 5:39 pm
Yeah, I think it’s DH acting weird with them. It appears the messages weren’t blocked, but just badly delayed (in some cases, by several days). All of them appear to have been delivered overnight last night with no intervention on my part.
So my loyal readers got lots of “testing, testing…” e-mails. Argh.
July 27, 2008 at 3:13 am
Hi,
I just recently upgraded to WordPress 2.6. For some reason, the Subscribe2 widget is still listed on the left side, even though it has been added to the side bar and appears on my blog, and there is now “Add” link so I can get it on the right side and modify the title of it.
I tried uninstalling it with the installer, deleting it from the server, uploading it again to the server, and the activating it, but that did not work.
I just want to be able to have it be listed on the right side of the DESIGN>WIDGETS section of the WP admin where the active widgets are listed so I can modify the title of it.
Thanks.
July 27, 2008 at 8:24 am
dear,
The plugin works great. I need a small modification that you might be able to direct me into solving.
I need Authors to be able to mail subscibers if they need to (Through WRITE>MAIL SUBSCIBERS). Right now, it seems that only the Administrator role is allowed this functionality
Is that possible?
(btw, I still do not want anyone but the Admin to have view to the MANAGE SUBSCRIBERS tab or to have view to the emails subscribed.)
July 27, 2008 at 10:48 am
Ian,
I’m not sure why this is happening for you. Can you drag the widget from the left to the right? Is it appearing on both sides of the Design page?
July 27, 2008 at 10:48 am
Enal,
I’ve fixed this for the next release already – look out for it!
July 27, 2008 at 8:07 pm
Thanks for this plugin! I love it. I did have two questions:
1) All my emails are being sent as ‘plain text’ even with the HTML email enabled to registered users.
2) Is there a way to add a logo or custom header to the html email being sent?
Thanks again!
July 28, 2008 at 12:38 am
I have been testing the 4.9 dev version. It is working but I am still running into load problems with our qmail server. We have approximately 8,000 subscribers. When we were using bcclimit=0, we found we could send about 4000 emails successfully. When we set bcclimit=1 with version 4.9, we still found that we could only send about 4000 emails.
To help debug the nature of the problem, I added “natcasesort( $recipients );” at about the third line of the mail function. This will force the emails to be sent out alphabetically. On our next run, we should be able to see how soon the problem starts and how consistent it is.
What do you think about checking the return value of the wp_mail function and possibly pausing, logging, and/or requeuing failures?
I added sleep(2); after the @wp_mail function call to distribute the load over time so as to lighten the load on the server. (If this work, the delay could be added as an option.)
I have another idea for the next release: Add hooks to place a Subscribe2 Subscribe/Unsubscribe link in the MiniMeta plugin.
Thanks.
Mitch
July 28, 2008 at 10:01 am
MS,
Does your post have rich text formatting (bold, italic etc) if the post is plain text then the emails will be plain text too – Subscribe2 only sends HTML emails with your formatting.
To add a graphic enter the HTML code linking to your graphic into the template in Options->Sibscribe2.
July 28, 2008 at 10:41 am
Mitch,
wp_mail only returns success or fail so it won’t be overly helpful if only half of the emails fail and BCCLIMIT isn’t 1.
Adding a sleep will cause a delay in the return of the WordPress post page which may eventually throw a PHP non-response error in the browser. An option would be to add a server side mail queuing solution.
I’ll look at MiniMeta and see what it’s all about.
July 28, 2008 at 9:03 pm
Hi!
replying your post from july,24… the translate plugin use a [lang_xx] to specify the language text… like:
[lang_en]english text[/lang_en][lang_br]portuguese text[/lang_br] so the email title become:
[my website] – [lang_en]english text[/lang_en][lang_br]portuguese text[/lang_br]
July 29, 2008 at 12:10 pm
Morgan,
Where are these language codes added to your post details? Which field?
This may be fixed in the next release if these codes are officially declared shortcodes. Try the dev version and see if that helps.
July 29, 2008 at 2:54 pm
I’m guessing the following patch will fix a typo in include/options.php.
— subscribe2-unpatched/include/options.php 2008-07-09 20:22:58.000000000 -0400
+++ subscribe2/include/options.php 2008-07-29 09:58:19.000000000 -0400
@@ -27,7 +27,7 @@
} // option for default WordPress page for Subscribe2 to use
if (!isset($this->subscribe2_options['pages'])) {
- $this->subscribe2_options['bcclimit'] = “0″;
+ $this->subscribe2_options['pages'] = “0″;
} // option for restricting the number of recipients per email notification
if (!isset($this->subscribe2_options['pages'])) {
July 30, 2008 at 11:10 am
I’m looking into throttling qmail, but the prospects are not good. Can we check the wp_mail return code when bcclimit == 1?
July 30, 2008 at 2:42 pm
Hi! I just found a possible clash with http://invite-friends.dev.rain.hu/ Invite Friends plugin. It seems that in get_registered function you are selecting all the user ids. Some of them can be still in mid of registration, so I have added “AND user_activation_key = ” ” to your “SELECT user_email FROM $wpdb->users WHERE ID IN ($ids)”, to not send post updates to users, who got to the DB w/o knowing about it (still have access key in db).
July 30, 2008 at 7:51 pm
Thanks Eric, in fact that entire section is duplicate so I’ve pulled it all out.
July 30, 2008 at 7:52 pm
Webmasterrothstein,
The wp_mail() return could be checked if bcclimit == 1 but it would most likely bring your server to a grinding halt waiting for each response when you make a post. Server side solutions are the only feasible way here.
July 30, 2008 at 8:06 pm
Guciu,
Thanks for spotting that – I’ll get it into the next release.
July 31, 2008 at 6:37 am
Hi,
Great plug-in and seems to work on my site. I have one problem. Someone has mentioned it before above but no solution has been provided. I currently use Gmail as my mail server and I installed the shift-This SMTP plug-in, which works well too. Only problem is when it runs together with Subscribe2, it doesn’t allow a user to subscribe from the sidebar (widget). It just says server is unavailable. Anyone found a solution as yet?
Also when I did uninstall Shift-This it sends the emails without a problem, but it’s using my hosting server and doesn’t put the correct domain name in the email field. This is why I have setup SMTP..
Thanks and would appreciate a solution.
Tyrone.
July 31, 2008 at 10:49 am
Tyrone,
This is probably because swift-SMTP doesn’t return a value when emails are sent. You could try my SMTP Mailer or edit the subscribe2 code to not check for a mail() function response.
July 31, 2008 at 6:12 pm
Hi!
from your post on july,29… I tryed the dev version… just deactivate the old plugin, upload these new files and activate the plugin… but it not solves the problem… do i have to set any config?
thanks,
Morgan
July 31, 2008 at 7:25 pm
Morgan,
Where are these shortcodes being added by the other plugin? Are they added to all aspects of your blog (blogname, titles, links, posts etc)
July 31, 2008 at 11:47 pm
Thanks Admin! YOU ARE THE BEST! It worked.
August 1, 2008 at 12:12 am
Hi,
I have read through your SMTP mailer and I don’t know how to implement it? Do I just copy this to a file maybe called wp_mail_smtp.php and then upload and load into as a plugin?
Thanks.
August 1, 2008 at 4:14 am
Yes Admin…
i need to put these shortcodes to specify different languages content… these shortcodes goes in post titles, categories, sidebars, links, tags, almost everything… that’s how the plugin recognize wich content to show acording the language the reader choose…
thanks again in adverce for your efforts….
August 1, 2008 at 3:02 pm
Tyrone,
Yep – that it. The code is a plugin so turn it into a file, name it and upload it. Then activate it. Just make sure you enter the variables you need to for your SMTP server account.
August 1, 2008 at 3:20 pm
Morgan,
Due to the widespread use of the shortcodes throughout the SQL content of your blog it’s going to be a struggle to fix subscribe2.php for you without messing it up for other users.
I’ll need to review the qTranslate code more closely and see if you could configure your way out of this.
August 1, 2008 at 5:17 pm
it´s not possible to set something like… choose between static title or dinamic title…if a person selec static title there is a field to specify the title, otherwise the code runs as it run now?
August 1, 2008 at 7:59 pm
Morgan,
Yes it is possible but there are already far too many options within Subscribe2.
You really need to get to grips with some simple PHP. Open subscribe2.php in a text editor and search for $subject. You can then set it to whatever you like.
The other way would be to look right at the end of the code for a line as follows:
var $s2_subject = '[BLOGNAME] TITLE';
And change this to:
var $s2_subject = '[BLOGNAME] ';
August 1, 2008 at 10:05 pm
Hi;
I use Hostgatos servers.The mail sending limits are 500 in an hour.I have 650 recorded members.I need to know if you can organize the sending options like 300 mails in the first hour and 300 mails in the following hour.It doesn’t necessary to be 300,may be we can decide the number
I don’t know if you can do it or not,but it would be wonderful,thanks,
Muammer
August 2, 2008 at 1:40 am
Hey, Matt.
I modified subscribe2.php to add a bulk “Inactivate” function to Manage / Subscribers. I could have just used the delete function instead of a new inactivate function but I wanted to try it out for awhile. It works so please consider this as a suggestion for a future release.
Thanks.
Mods:
1. Added a function named inactivate (based on the toggle function but only inactivates)
2. In the manage_menu function’s subscibers form, I added a button with value=’inactivate’
3. Also in the manage_menu function, I added an elseif clause for _POST ‘inactivate’
} elseif ($_POST['inactivate']) {
foreach (preg_split (”/[\s,]+/”, $_POST['addresses']) as $email) {
if (is_email($email)) {
$this->inactivate($email);
}
}
echo “” . __(’Address(es) inactivated!’, ’subscribe2′) . ““;
August 2, 2008 at 7:01 am
Hello,
Now that posts are actually being made in larger quantities, I got around using the tip you gave me on the comments page for version 4.7 about my question for notifications to include posts with a future timestamp:
You could add this yourself by adding a few lines to the code, look for this line:
add_action(’future_to_publish’, array(&$this, ‘publish’));
And add something like:
add_action(’new_to_future’, array(&$this, ‘publish’));
add_action(’draft_to_future’, array(&$this, ‘publish’));
These 2 lines will hook the Subscribe2 publish function (the one that produces your emails) to post events when you transition a post from new or draft status to a future publish status. You users will get email again when the post goes from future to published.
I’m a bit puzzled by your advice and options given, because all the posts (older or newer than todays timestamp) are published. So events in the future are also immediateley published and never set to a ‘future post’ status. I did this so I could use a query to display all posts newer than today and seperately a list of posts older than today.
What line shouild I add so people will receive notifications of ALL published posts, no matter what the timestamp is?
August 2, 2008 at 12:30 pm
eylultoprak,
There is no way to choke sending of emails in Subscribe2. You need to ask your host about a server side solution or maybe look at PEAR and Mail_Queue.
August 2, 2008 at 12:32 pm
Webmasterrothstein,
I’ve already covered this angle in a different way for the net release. There is now the ability to bulk confirm, unconfirm and delete public users.
August 2, 2008 at 12:34 pm
Jack,
Are you saying you can SEE posts on your site with a future timestamp? I can’t on my site. As soon as I put a timestamp beyond current the status of the post is set as future and the publish actions are called by a cron event built into WordPress.
August 2, 2008 at 3:34 pm
Excellent, Matt.
August 2, 2008 at 4:03 pm
Matt:
I wrote an external cron job in Perl to mirror the Send Mail as Digest: Daily option. In it, I am able to pause between sendmail calls. All 8,000 + of the emails actually go out now. Whereas before, if you will recall, our qmail process would only queue about half. The pause made the difference.
So, here’s another idea/request: Allow an option for a “Never” option so that the external cron can leverage Subscribe2:
Send Email as Digest:
Per Post Email
Once Hourly
Once Daily
Once Weekly
Never (for External Cron)
Thanks for your consideration and support. I consider your plugin very valuable.
Mitch
August 2, 2008 at 9:34 pm
Matt,
Subscribe2 4.8 has suddenly decided that its settings (Settings->Subscribe2) will remain only at their defaults. I can’t exclude categories, and the widget is disabled, so users can’t subscribe (my wife’s site was using the widget for that). I can make changes and hit “Submit” and they appear to have been accepted, but if I leave the Subscribe2 settings page and return to it, none of the changes I made are reflected. It’s all at the default.
Oddly, looking through my recent email, I see that the site has had new subscribers as recently as Monday, July 28th, so the widget appeared then. That’s obviously well after 4.8 was released, and it’s well after I upgraded my wife’s site to WordPress 2.6 (I upgraded within a couple days of its release), so this wasn’t triggered by an update to either item.
Do you have any clue what could have caused this? I can list all of my other plugins, but none of them appear to be anything that could even possibly affect this (the only one that comes to mind is WP SuperCache, which certainly shouldn’t do it, but if it screwed up and started caching admin options or something… anyhow, I disabled it and the problem persisted).
Incidentally, I expect it’s unrelated, but over the last few months, I’ve occasionally noticed that WordPress is not on the list of enabled plugins, and I have to re-enable it. My wife isn’t terribly computer literate (or interested in learning), so her actions are basically limited to the “Write” and “Manage” tabs. I know she didn’t disable the plugin, and I didn’t either. I think this has happened two or three times in the last few months. I’ve never seen it happen with any other plugins.
August 3, 2008 at 11:01 pm
Hi!
that worked as i want… thanks very much for your help and paciance…
Morgan
August 4, 2008 at 12:51 pm
Last Friday I successfully had the subscriptions working exactly how I wanted them. ie: I only want my subscribers to be notified of the occasional feature post so I excluded all categories except one. (named Newsletter) so when I wrote a post and assigned it to that category (including a few others) it sent out the notification. For some reason, the newsletter still works (Write > Mail Subscribers) but the former method doesn’t – I’m sure I didn’t touch over the weekend! I had some initial issues with my host last week which were fixed. I asked if anything had been touched over the weekend and they said no.
I’m running out of ideas why it would all of a sudden stop working.
Do you have any ideas?
(Awesome plugin btw!)
August 4, 2008 at 3:04 pm
Erik,
I’ve only had this reported once before and despite hours spent debugging we could never find the reason for the problem.
In the end we found the changing the contents of the options.php file in the include directory to match those that were customised by the user solved the problem so give that a try.
August 4, 2008 at 3:23 pm
Brad,
If your post has been categorised in Newsletter AND other categories it won’t generate a notification if these other categories are excluded.
Your best workaround without editing the code is to make your post initially to the Newsletter category and then edit the post adding in the other categories you want the post to be tagged under.
August 4, 2008 at 3:26 pm
Dear,
For the digest mail that sends out. How can I modify the code to only show the title of the posts (and the link to the post) without having the summary?
Thanks
August 4, 2008 at 7:27 pm
Enal,
You could use the TABLE keyword which will list the post titles but not the link. Otherwise look at the subscribe2_cron() function and add permalinks to the $table variable in the fashion you’d like.
August 4, 2008 at 8:31 pm
Trying to get access to the list of emails that have subscribed and can not find them on the Options: Subscribe2 page. I am using WP 2.3.3 and can not find it. Any suggestions?
I would also love to modify the content of the email that is sent in terms of setting the template to be a certain way. Any suggestion on which procedure in the codebase I should modify?
Thanks.
August 5, 2008 at 1:18 am
oh, ok. Thanks for that.
I have a question. I’m adding over 500 emails via admin to send out a newsletter. (Write > Mail Subscribers) obviously I don’t want to be blacklisted. My host suggested about 80 emails per hour.
In Settings, at the top, where I choose number of emails – what does that do exactly?
Thanks again.
August 5, 2008 at 5:52 am
Sounds like I need to learn some terminology. I haven’t sent my emails yet.
Further…
upon closer investigation I see above you said “There is no way to choke sending of emails in Subscribe2′. I also found where you suggested editing the subscribe2.php to set the BCC LIMIT. Then theres the setting I mentioned above. How are these different? Do you mean if I set the BCC limit to say 30 -only 30 out of my 580 subscribers will only get the email? Why would someone want to do that?
As you suggested above I’ll ask my host about a server side solution.
August 5, 2008 at 6:53 am
Sorry, don’t mean to choke up your page but…
How do I bulk delete emails?
I just imported 580 all at once seemlessly but say if I were to manually stagger them by: import 100 >send > delete>import another 100…
Do I need to use phpmyadmin? If so what do I look for when I get in there?
I will most likely only use the newsletter funationality in the initial stages. Later, I’ll assign the occasional post to the newsletter category (only
) so they can be notified.
August 5, 2008 at 9:31 am
Brad,
lol….the problem ur talking about is what most of the comments above are regards….hosts do not allow you to send that many emails at once… no way in subscribe2 to define how many to send in each hour….
I havent figured out a solution yet for my 1500 emails per day…. im trying to find an smtp server that would allow me to use it to send that many emails.
If anyone found a solution, please let us know!
August 5, 2008 at 9:33 am
just to add my 2 cents…its a shame that such a great plugin (actually, it was the reason i used WP to begin with) cannot be used due to the abuse spammers do…
August 5, 2008 at 10:24 am
Well my host (who are excellent) has suggested I give the smtp option a go. I’ve asked how that is different but it looks like they’ve gone home for the day. Looks s bit scary for a non programmer such as myself but here goes…
(is it… Matt? be great to have ’subscribe to comments’ here)
August 5, 2008 at 1:48 pm
Sanford,
The list of Subscribers is as Manage->Subscribers and you can alter the templates within Options->Subscribe2.
August 5, 2008 at 2:16 pm
Brad,
I hope I answer all your questions here, forgive me if I miss some
BCCLIMIT is the same as the first setting in Options->Subscribe2, I moved it from a hard coded setting in a recent release to make life easier.
Basically, when Subscribe2 sends a notification it sends it to the blog admin and puts each subscribers address into the BCC header space. Some hosts restrict the number of BCC recipients allowed per email so the BCCLIMIT setting limits the number of subscribers per email generated by Subscribe2.
As Enal has said this plugin often falls victim to antispam policies used by hosting providers. Some hosts restrict the BCC header, others restrict the number of emails per hour. If you push the emails through an authorised SMTP server for which you can supply login credentials you may be able to significantly up or even bypass the limit completely.
If you want to manage users in bulk you’ll need to use phpMyAdmin or you could try the development version of the plugin.
August 5, 2008 at 5:10 pm
This plug-in (current and previous versions) only delivers mail to local users on my server. Any ideas what’s up?
WordPress (proper) delivers various other emails to non-local users, so I don’t think it’s a problem with my server.
August 5, 2008 at 5:35 pm
Help Please – Its working great but my email is sending from “me” and I can’t find out where to change that. It shouldn’t be sending from a generic “me” account it has an actual name and email address. Any ideas?
I’m also having trouble deleting a subscriber from the management consol. I see the arrow and “x” icon but nothing happens when I click either of them.
Thanks in advance
August 6, 2008 at 10:34 am
John Pannell,
Sorry to disagree but I do think it’s your server. Emails are being sent as confirmed by the fact that local server address are being delivered. This points to a mis-configuration on your server that is blocking off-domain email addresses when using the BCC header rather than the TO header (this is why WordPress emails are working).
Contact your hosting provider to investigate or try using the SMTP plugin to push the mails through an SMTP server.
August 6, 2008 at 10:38 am
Scott,
Have you set Subscribe2 to use Admin or Author details in Options->Subscribe2? Are all of the details complete in the Users section of WordPress for your users?
As for the “X” not deleting I’ll bet you are using MSIE. Either switch to Firefox or use the dev version, I’ve fixed this problem for the next release.
August 6, 2008 at 12:25 pm
Quick question,
When should we expect the new release where registered users with Editor authority can write emails that are sent immediatly to the subscribers (through write-mail subsribers)
thanks
btw, i am going to try authsmtp.com to send 1000+ emails at once, Ill lte you know how it will work
August 6, 2008 at 3:53 pm
Enal,
Maybe by the end of this month. It’s very stable as far as I can tell so you could deploy the dev version and do some testing for me!?!
August 6, 2008 at 4:34 pm
I am trying to use the Subscribe2 plugin, but I get a 500 error every time I post a new article. When I deactivate the plugin, it’s fine. When I reactivate it, another 500 error.
Is it because my default page ID is set to 0 for my subscribers page? Or, is it because it is conflicting with another plug in?
Are there known plug ins that conflict with Subscribe2.
This issue has been driving me crazy. I’ve been trying to use Subscribe2 for some time now, but this 500 server error is causing me so much frustration.
Any help would be appreciated.
Thanks.
Tony Zeoli
August 6, 2008 at 6:13 pm
By the way, the post still goes through, even though the server displays the 500 Internal Server Error warning.
August 6, 2008 at 6:19 pm
Here is my debug info:
Current Server time is: 8/6/2008 @ 5:18 pm
Current Blog time is: 8/6/2008 @ 12:18 pm
Current Blog offset is: -5
Anytime after 8/6/2008 @ 5:18 pm do_pings will execute
Anytime after 8/6/2008 @ 5:36 pm polls_cron will execute
Anytime after 8/6/2008 @ 6:11 pm recalculate_all_scores_hook will execute
Current Subscribe 2 Options are:
Array
(
[autosub] => yes
[wpregdef] => no
[autoformat] => text
[autosub_def] => yes
[pages] => no
[password] => no
[private] => no
[email_freq] => never
[exclude] =>
[sender] => author
[reg_override] => 1
[show_button] => 1
[widget] => 1
[barred] => op.pl
[mailtext] => BLOGNAME has posted a new item, \’TITLE\’
POST
You may view the latest post at
PERMALINK
You received this e-mail because you asked to be notified when new updates are posted.
Best regards,
MYNAME
EMAIL
[confirm_email] => BLOGNAME has received a request to ACTION for this email address. To complete your request please click on the link below:
LINK
If you did not request this, please feel free to disregard this notice!
Thank you,
MYNAME.
[remind_email] => This email address was subscribed for notifications at BLOGNAME (BLOGLINK) but the subscription remains incomplete.
If you wish to complete your subscription please click on the link below:
LINK
If you do not wish to complete your subscription please ignore this email and your address will be removed from our database.
Regards,
MYNAME
[version] => 4.8
[bcclimit] => 0
[s2page] => 0
)
August 6, 2008 at 7:56 pm
Anthony Zeoli,
I can’t see any problems in your configuration. Having the S2page as 0 shouldn’t be causing any issues.
Internal Error Servers are pretty useless when it comes to debugging. Can your host provide any more details about the error? There are no conflicts that I know of that would cause an error like this)
August 6, 2008 at 9:35 pm
I didn’t see this mentioned in the commentary above.. But what about the CAN-SPAM Act of 2003 which states that there must be an unsubscribe feature. Does the plugin provide such a method? Is this plugin-in (regarding it’s sending of emals) in complience with the law???
August 7, 2008 at 1:42 am
I will check with the host about the error logs and see if they can tell me anything. Will report back. It’s working fine on my other blog on Go Daddy, but for this specific blog on 1and1 Internet, I’m having a problem.
I guess I’ll also have to go through all the plug ins and see which ones are conflicting. Someone really needs to build a “conflict catcher” for WordPress plugins. I wonder if that’s possible?
August 7, 2008 at 2:27 am
Okay…so I figured out which plug-ins conflict with Subscribe2, and the list is long:
WP-CC
WP-AJAX Edit Comments
WP-Spam Free
WP-Contact Form
WP-Affiliate
WP-reCaptcha
I know you work really hard on this and I’m not an expert, but I unfortunately can’t use the plug in since it does not work with WP-Spam Free and WP-reCaptcha.
Those are my lines of defenses for my blog.
Now, I have yet to get the server error logs, but will look into it asap.
Tony
August 7, 2008 at 2:31 am
They tell me that they don’t offer Apache error logs on shared hosting, but gave me these instructions. I’m not much of a php guy.
Can you direct me on creating a php file (file.php) with the “include” they mention here:
Please insert the following code in your PHP script (or create separate file and
and add the code in it. Include the file using “include()”)
error_reporting(0);
$old_error_handler = set_error_handler(”userErrorHandler”);
function userErrorHandler ($errno, $errmsg, $filename, $linenum, $vars)
{
$time=date(”d M Y H:i:s”);
// Get the error type from the error number
$errortype = array (1 => “Error”,
2 => “Warning”,
4 => “Parsing Error”,
8 => “Notice”,
16 => “Core Error”,
32 => “Core Warning”,
64 => “Compile Error”,
128 => “Compile Warning”,
256 => “User Error”,
512 => “User Warning”,
1024 => “User Notice”);
$errlevel=$errortype[$errno];
//Write error to log file (CSV format)
$errfile=fopen(”errors.csv”,”a”);
fputs($errfile,”\”$time\”,\”$filename:
$linenum\”,\”($errlevel) $errmsg\”\r\n”);
fclose($errfile);
if($errno!=2 && $errno!=8) {
//Terminate script if fatal error
die(”A fatal error has occurred. Script execution has been aborted”);
}
}
Once I’ve done this, I can get the error log and figure out what’s going on.
Thanks.
Tony
August 7, 2008 at 6:06 am
I have a quick question. Is it possible to add form fields such as Name, birthday, location, etc to the subscription form and then also have that information show up under the backend admin subscriber list?? This is the only piece I am missing. I don’t seem to be savvy enough to implement this idea myself. ANY help greatly appreciated. awesome plugin by the way. I will gladly compensate the amount it costs to purchase a similar “for sale” plugin if anyone can help me out.
August 7, 2008 at 6:17 am
I’m having trouble with some of my registered users not seeing their email. Looking at the DB, I can’t tell if these users aren’t getting found, but from what I can tell it’s not getting caught in spam filters. I know my server’s okay, because most of the mail is getting out fine.
FEATURE REQUEST: Can you put the BCC list into a separate email going to the admin? Or put this in the debug section somehow? I’m trying to make sure that these things are going out, and other than trying to re-create the queries by hand it’s not easy to tell.
BUG REPORT: When you manually add subscribers to the categories on the “Manage Subscribers” screen, it doesn’t necessarily wipe out the previous categories correctly. If you manually unsubscribe ppl to all categories, and then re-subscribe them, you’ll see something like “s2_subscribed” = “-1,2,3,1″. It should remove the -1, but it’s not. Also, if you add categories more than once, you’ll see s2_subscribed with multiple values like “1,2,3,1,2,3,1,2,3″ instead of merging them. I’ve manually cleaned up this, and I can’t tell if it’s affecting my problem direction, but I thought you should now. I’m thinking array_merge isn’t working fully.
If there’s a better way to submit these, let me know. I couldn’t find a bug submission form. Thanks!
August 7, 2008 at 9:10 am
Ill depoly the dev version and let u know…well. of course ill be using it with smtp mailer and seeing how that would work…
August 7, 2008 at 12:40 pm
Hi there,
this plugin is amazing! i would like to know how to change the “user level who can send email” by the Mail Subscribers function.
I’d like to let authors mail subscribers. What should i change in the php file?
Thank you very much!
August 7, 2008 at 2:08 pm
Joel,
This plugin does provide an Unsubscribe function for all users. The CAN-SPAM act only seems to apply to commercial emails whose primary function is advertising – so it would be the blog admin using this plugin and authoring the content who would need to ensure compliance (if based in America).
August 7, 2008 at 2:18 pm
Al,
Try changing the header to CC: rather than BCC: as a temporary measure. You’ll be able to see all recipients in your header (but so will alll your recipients so remember to change it back!)
August 7, 2008 at 2:20 pm
Leland,
Do you just want to collect this data? Will is need to be compulsory on the form? What do you need it for (i.e. customising email)?
August 7, 2008 at 2:22 pm
Tony,
I’ll contact you direct later on when I get time. Bear with me if you can.
August 7, 2008 at 2:23 pm
Fabrizio,
This is sorted for the next release.
August 7, 2008 at 4:22 pm
Okay…thanks!
August 8, 2008 at 1:26 am
Admin – thanks for the fast response. I would need an option in the admin area to specify addition input fields for the form such as an input for “full name” “birthday” etc.
My client would like to be able to send birthday notifications addressed by name. So admin area would then display resulting addition field info next to subscriber email address. Hope this makes sense. Let me know if that is unclear. This feature has been implemented on the “shiftthis newsletter” if you can view it on the admin panel screenshot on that site. Or I can take screenshots of it for you. Let me know.
August 8, 2008 at 5:55 am
Thanks, yeah I could change the BCC to a CC, but that seems like a little bit of a security risk to me. Wouldn’t it be easier for you to debug people’s issues if this type of data was shown in the debug menu somehow? Seems like a lot of problems in these threads surround missing email…
August 8, 2008 at 2:34 pm
Hey folks
I have been redesigning our football website, and I just came across subscribe2. I tried searching the archives, but could anyone help me out understanding a couple of options. I want to use subscribe2 just to collect email addresses for a newsletter, not really wanting to email out evertime there is a post, but I don’t know how to configure it to do that. I don’t really even know what it means by a Digest email. Any advice or links to a set of instructions would be handy.
Bob
August 8, 2008 at 3:06 pm
bob,
there are other plugins on wordpress that owuld allow you to collect any information you want from users who register on your website.
for subscribe2, it only collects the email address (no name, no phone, no nothing!)
Digest means an email with a summary of all posts that were made on the website during the last day/week/hour, etc
August 9, 2008 at 12:37 pm
Hello,
A new version of the translation for Subscribe2 into French is available on
http://liseweb.fr/BLOG/wordpress/plugins/les-plugins-que-jai-traduits-en-francais (I corrected a little error!)
August 9, 2008 at 7:27 pm
In the plugin page at the top there is this error when is activated:
Parse error: syntax error, unexpected $end in /usr/home/dedalos/public_html/nosmeanylosdiariosdicenllueve/wp-content/plugins/subscribe2/subscribe2.php on line 1103
August 9, 2008 at 7:28 pm
Leland,
I think using Subscribe2 to send Birthday greetings os over-complicating the plugin somewhat. Why doesn’t you client simply hold these details in a free calendar app like Google Calendar. He’ll get reminder to send the emails from the diary.
August 9, 2008 at 7:30 pm
Al,
I agree it is a security risk. I’d also like to point out I’m not here to debug other users errors. I simply write this plugin and make it available for free. If I was aksing for large amounts of money then I’d be able to quit my day job and start debugging as a career
August 9, 2008 at 7:32 pm
Bob,
You could use Subscribe2 if you wanted to and simply exclude all your categories from generating and email and make sure registered users can’t over-ride this. Other options may be easier though as Enal has pointed out.
August 9, 2008 at 7:32 pm
Roy,
That’ll be due to corruption of the file, grab a fresh copy and try again.
August 9, 2008 at 7:34 pm
Sorry, now is correctly installed, no error.
Thanks for the Job!
August 10, 2008 at 4:03 am
Admin,
I think you believe I am requesting too much added function. I would simply want the option in the admin panel to add additional input fields which would then show up associated with the user email account entered on the user list in the admin. I am not looking for any functionality for the newsletter associated with these extra fields. So when a user subscribes they would have the option to fill in these additional information fields (such as a birthday or name). Again, sorry if I am requesting for too much – I do really like this plugin and good job so far.
My client would still have to manually manage all account information of subscribed users
Thanks.
August 11, 2008 at 5:31 am
Admin -
yes that would be very helpful for now until I can figure out something else. If you could add name a birthday text input fields that would be very helpful to me. Thank you so much for your help. Sorry for the trouble
August 11, 2008 at 1:42 pm
Leland,
If you really want to keep it that simple I can help you out. When do you need it by (be realistic as this is not my day job) and what sort of price range are you looking at?
August 11, 2008 at 8:13 pm
Hello,
I am really interested in making your plugin work for my site but I have a really weird error. I’m getting desperate now and I don’t know what else to try. I wouldn’t be bothering you if I hadn’t tried every other thing but anyway here’s my problem.
I cannot even manage to get the subscribe form work. The token is replaced with the form, everything seems to be fine, but when I fill the form and click submit, nothing happens. Checking your code I found the problem is the $_POST array is null when entering to the “filter” function. The weirdest thing is when trying to print the array with print_r or var_dump inside the filter function it prints an empty array, but when debugging with firebug I can see the parameters are being sent, it’s just they seem to disappear somewhere in the process.
I really don’t know what else to try. Any kind of suggestion will be really appreciated. Thanks in advance
August 11, 2008 at 8:35 pm
Albert,
Can you tell me what version of WordPress and Subscribe2?
What browser or browsers have you tried this on?
Have you checked your .htaccess file for unusual rewrite rules?
Are you using regular http or https?
Have you disabled ALL other plugins?
August 11, 2008 at 10:25 pm
Hello,
Both versions are the latest ones. 2.6 and 4.8 but I don’t think there should be compatibility problems as it says on wordpress’ plugins site it has been tested with 2.6
I’ve tried it on Mozilla Firefox 3.0 and IE 7
I haven’t checked .htaccess and I really don’t know where to start searching inside that file so any input on that would be great
I am using regular http
And yes, I’ve disabled all other plugins.
Thanks for your help, I hope you have some idea of what could be happening.
August 12, 2008 at 7:53 pm
Albert,
Can you post your .htaccess file here then? Also, have you ask your host about their PHP security settings and if these will impact on $_POST.
August 12, 2008 at 8:09 pm
Thanks for the awesome plugin. Just noticed one typo… under Manage –> Subscribers, “comma-seperated” should be “comma-separated.” I believe it’s line 1230 in subscribe2.php (but I’ve changed a few things). If you do add Name & other fields as Leland requested, could you please email me or post the addition? Thanks again.
August 12, 2008 at 8:28 pm
Michael,
Thanks for spotting the typo. If Leland responds and supports the coding effort with hard cash I’ll make sure to ask if he minds me sharing the efforts with you
August 12, 2008 at 8:50 pm
Hello again,
I am actually trying your plugin locally before doing it for real, so just tell me which settings could be a problem and I’ll change, but I didn’t have other problems with this.
Also, the .htaccess is quite large, I can mail it to you, but the form is in the page http://localhost/subscribe and I cannot see a redirect rule for that address (as it didn’t exist before trying your plugin). I don’t know if that is what you were trying to know, but anyway I’ll send the .htaccess to you.
Thanks again.
August 13, 2008 at 9:27 am
Albert,
Reply sent direct to you.
August 13, 2008 at 9:42 am
Hi,
I’ve been using your plugin for a while now, it’s great plugin! But I’ve ran into a problem where a subscriber has emailed me to ask me to unsubscribe them but I cannot find any of their emails (or user-names) in my db (or at least any of the ones they have reported).
Is there any way the recipient user name/email be added to the outgoing email template or some way to add an unsubscribe link specifically for that receiver of the email? Or is there some other way to debug it?
Thanks in advance!
August 13, 2008 at 10:59 am
Thanks a lot for your great plugin
only a answer to notify that i had the same problem as somebody :
daily or weekly digest does not work but single article notification works.
In fact, planification seems ok, but no mail is sent..
August 13, 2008 at 11:02 am
only to add some info :
i’m using all lastest stable versions of everything
August 13, 2008 at 11:11 am
Mark,
As the subscriber in question to forward you the next notification they get and then you’ll stand a better chance of finding the email.
August 13, 2008 at 11:12 am
Zorglub2000,
Thanks for the information, I’ll review the code again and see if I can find a problem.
August 13, 2008 at 11:40 am
Here I am again… couldn’t respond sooner…
A reply to your reply:
Are you saying you can SEE posts on your site with a future timestamp? I can’t on my site. As soon as I put a timestamp beyond current the status of the post is set as future and the publish actions are called by a cron event built into WordPress.
Yes, I can see any future post I make, but by using this plugin: http://birdhouse.org/software/futurepost
You can see it in action on the site I’m referring to: http://www.kwartiermakersfestival-mb.nl/
As you can see in the sidebar on the right under ‘Verwacht’ and every post under the categories ‘Activiteiten’ and ‘Festivalplaatsen’ on the left, these are all future posts/events. The dates are the published dates and correspond to the date of the event itself. This way I was able to use queries to show future and past events by checking the current date.
I really need all those future posts to be used as notifications like I said earlier, so that people are aware of upcoming events.
I would really appreciate some help here
.
Jack
August 13, 2008 at 11:46 am
No problem.
I could be easier if you add something like a subscribe to comment function,
in order to follow your answers
Great work anyway
August 13, 2008 at 1:06 pm
Hi,
I have a website at http://www.stopbrixworthwindfarm.co.uk. WordPress lives in the /sbwfwp/ directory, but the blog homepage is set to the site root.
I found your plugin after reading many recommendations on http://wordpress.org/support/ and installed it very easily.
However, I test-subscribed (having logged out first), received the email confirmation request and clicked on the link (http://www.stopbrixworthwindfarm.co.uk/?s2=1af8215be05f2930e5895c9871b7b97451). This takes me to a page with a header, sidebar and footer and nothing in the content.
I tried inserting /sbwfwp/ into the confirmation URL but that gave me a 404.
The link to the mailing list form is in the header bar. If you would have a look and tell me what I’ve done wrong, I’d appreciate it. If you test it, I promise to remove your email address from the db (I’m sure you don’t care about windfarms in Brixworth
August 13, 2008 at 2:07 pm
Jack,
The plugin you are using removed the future post hook and pushes future posts through wp_publish_post() instead.
This is a core WordPress function that changes the status of the post to ‘publish’ and calls the transition function wp_transition_post_status().
This function in turn should call the transition function future_to_publish which means that Subscribe2 should work!
The only thing I can figure it may be is in the wp_publish_post() function. There are two lines as follows:
$wpdb->update( $wpdb->posts, array( 'post_status' => 'publish' ), array( 'ID' => $post_id ) );
$old_status = $post->post_status;
I think these need to be swapped around and it may then work. If it does please let me know and I’ll submit a trac ticket.
August 13, 2008 at 2:09 pm
Zorglub2000,
Since this is a WordPress.com site I have no control of the plugins.
August 13, 2008 at 2:18 pm
Kalessin,
In General->Settings what are your settings for WordPress Address and Blog Address?
Should be:
http://www.stopbrixworthwindfarm.co.uk/sbwfwp
and
http://www.stopbrixworthwindfarm.co.uk/
Also, what are you ReWriteRules in .htaccess? (Especially since the former of these links results in a 404!)
August 13, 2008 at 3:42 pm
Does this work for protected blogs? I’m having an issue getting an email alert system implemented on my site b/c it’s protected.
August 13, 2008 at 7:33 pm
Ryeates,
Depends on what you mean by ‘protected’. Subscribe2 can send notifications for password protected posts and also for posts marked as private (i.e. you need to be registered and logged in to view them).
If you’ve put some other form of protection in place the honest answer is I don’t know – try it and see.
August 13, 2008 at 11:29 pm
And one word about xhtml validity.
Fresh install of your 4.8 plugin give me 6 errors.
One addition of a [code]...[/code] in the form line 75 give good results !
Here is an updated file
http://www.2shared.com/file/3759113/333ddf34/subscribe2.html
August 14, 2008 at 8:01 am
My WordPress address is http://www.stopbrixworthwindfarm.co.uk/sbwfwp
My Blog address is http://www.stopbrixworthwindfarm.co.uk
My /.htaccess file reads:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /sbwfwp/index.php [L]
# END WordPress
and the edited line in /index.php is
require(’./sbwfwp/wp-blog-header.php’);
The file /sbwfwp/.htaccess reads
# BEGIN WordPress
RewriteEngine On
RewriteBase /sbwfwp
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
and /sbwfwp/index.php is unchanged.
I assume the WordPress-generated 404 is a result of WordPress looking for a page whose slug is /sbwfwp, which doesn’t exist, as WordPress knows it is being run as though from the site root.
It’s a mystery to me.
August 14, 2008 at 5:58 pm
Recent posts coming up as page id #s when subscription confirmation link is clicked. Any idea how to fix this?
August 14, 2008 at 7:11 pm
Kalessin,
The issue is in the second .htaccess file. The plugin creates a link to domain/sbwfwp/?s2=something. In your case this URL is being Rewritten as /index.php. I’m not sure how you fix that since I’m not an expert in .htaccess but I hope that’s helped.
August 14, 2008 at 7:15 pm
Tony,
This isn’t happening for me with WordPress 2.6 and Subscribe2 4.8. Have you checked out your other plugins for a conflict?
August 14, 2008 at 10:20 pm
Checked plugins. They’re fine. I’m sticking with WordPress 2.51 for now. If anyone else has a remedy for recent post appearing as page id#s (on subscription confirmation), I’ll send you a box of Cracker Jacks.
August 14, 2008 at 10:22 pm
. . .and yes I’m using Subscribe2 version 4.8. . .
August 15, 2008 at 1:11 am
Per your suggestion for a similar issue, I commented out line 2183 in Subscribe2.php, and that seemed to do the trick. Thanks
August 16, 2008 at 9:01 am
hey there, where exactly is the user data stored for this plugin?
Meaning where is it stored if a user gets a html or a plain text mail?
i couldn’t find anything in the mysql databank (wp_subscribe2)??
thanks!
August 16, 2008 at 9:11 am
ps: i just saw, it doesn’t matter what you select for a user (if html or plain text).
as soon as you change it at one user, it changes for all??
August 16, 2008 at 11:44 am
Creasey,
Public subscriber details are in the subscribe2 table, for registered users the data are stored in the usermeta table.
I’m not sure what you mean by your second comment – there is no function to change individual users html or plain text preferences, only the default setting and your own setting.
August 16, 2008 at 4:01 pm
Hey, thanks,
Well, every user can change their settings, if they want to receive as html or plain.
And when I’m an admin and click on the users, I can select also html or plain text.
But as soon as I change it for one of them, it stays the exact same for all users?
The problem is, I think at the beginning I had “plain text” as default when people were registering.
I want to have all the users to receive as html though, so I wanted to change their settings manually (the visitors to the site are internet beginners who don’t even know the difference).
So, now I have changed to “html” at “Auto-subscribe users to receive email as: “, but in the wp_usermeta table it still says for most users “s2_format = text”. How do I change that in the wp admin interface?
Thanks again.
August 16, 2008 at 8:21 pm
Creasy,
Individual users who are logged on can set their own preferences. As an Admin you can set the default settings in Options->Subscribe2 and you can set YOUR OWN subscriptions settings, but not those of other users.
You can’t change existing settings of other users using the Admin pages. You’d have to edit individual database values using phpMyAdmin to do what your are asking.
August 17, 2008 at 6:55 pm
Thanks a lot, just changed it in phpmyadmin.
August 18, 2008 at 9:03 pm
Hi from FRANCE !!
Thanks for this plugin !
I have a problem. All the users receive the message without the excerpt/post, without title and without permalink…
There is only my customized text.
How can I make to resolve that ?
August 19, 2008 at 1:22 pm
Job,
Are you using per-post or digest email and what does your current template look like? What other plugins have you got installed and what have you tried so far?
August 20, 2008 at 8:02 am
Hello again,
I tried to swap those two lines youi mentioned in
http://subscribe2.wordpress.com/2008/07/02/subscribe2-48/#comment-9259
but this had no effect. Only posts from the news category were sent to subscribers and not future posts.
I swapped those two lines in post.php in the wp-includes folder. Was that correct?
Any new ideas?
August 20, 2008 at 11:46 am
Jack,
That was my best shot. I don’t have any other ideas. I suggest you submit a trac ticket and see what you get back.
September 8, 2008 at 5:28 am
I’m trying to see where S2PAGE is defined in subcribe2.php, but for me line 43 is this:
$mysubscribe2->s2init();
I don’t see where to change the code to put the ID of the page that I created
September 8, 2008 at 9:50 am
Len,
I think you are reading the old install instructions. BCCLIMIT has been taken out of the hard coding variables and put into the Settings->Subscribe2 screen, it’s the first setting on the page.
September 24, 2008 at 6:30 am
[...] – bookmarked by 2 members originally found by SpitFirejutsu on 2008-08-31 Subscribe2 4.8 http://subscribe2.wordpress.com/2008/07/02/subscribe2-48/ – bookmarked by 1 members originally [...]