subscribe2 2.2

December 29, 2005 12:38am 188 comments

I'm pleased to announce the release of subscribe2 2.2!

This version has been written to work with WordPress 2.0 (indeed, it will only work with WordPress 2.0), and includes a number of significant changes. Most exciting of all is the elimination of the subscribe.php helper file. subscribe2 now uses a simple token, <!--subscribe2-->, inside the body of any WordPress Page to display the form and handle confirmation requests. This should (hopefully) put an end to the sidebar and theme issues!

Additionally, version 2.2 trims down the complexity of the Options screen, and presents a vastly improved Management page. You can review your subscriber list in a number of ways, based on public versus registered user, as well per-category. You can send an email to various combinations of your subscribers under the Write->Mail Subscribers menu.

This version also provides some compelling reasons for your readers to become registered users of your blog. First, registered users can subscribe to notifications on a per-category basis. Second, registered users can select between plaintext excerpts, plaintext full post, and HTML full post email delivery. Third, you, the admin, can allow your registered users to subscribe to categories excluded to the general public.

The general public -- that is, subscribers who are not registered users of the blog -- will now only receive plaintext excerpt deliveries.

Be advised that subscribe2 will now send at least one email for each combination of:

  • plaintext excerpt
  • plaintext full content
  • HTML full content

(with the notable exception that subscribe2 will not send an email if there are no subscribers for that specific combination)
Dreamhost users can expect to receive even more emails, as the Dreamhost batching is combined with the above.

Please be sure to read the README.TXT in the zip for instructions and frequently asked questions!

My sincere thanks to Dan, Laundro, and Matt for beta testing and providing invaluable feedback.


Comments so far: Atom feed of the comments for this post

  1. Ozh 2005-12-29 06:44:18

    Sounds exciting Skippeh !
    Two questions :
    - does it still modify core table wp_posts ? (adding a field or something)
    - will it work on blogs that used to use old versions of Subscribe plugins (assuming they modified wp_posts as well)

  2. skippy 2005-12-29 06:52:11

    subscribe2 does not modify any core tables. Rather, it creates a new table for public subscribers. And yes, this version works just fine for people who used older versions. Upgradability was an important design consideration.

  3. Ozh 2005-12-29 07:35:10

    Skippy, you're such a man.

  4. Caroline 2005-12-29 08:26:38

    Thanks for this Skippy!

    I think I got to work, allthough I'm not sure as I only tested myself hehe
    Funny thing is that I added 2 of my emailaddresses to see if it worked, and all the emails I got for the testpost I did were directed to my admin email. Only in the source I could see they actually were emaild to the correct addresses...

  5. skippy 2005-12-29 08:40:50

    That's correct Caroline: subscribe2 will send the emails to the admin or post author, and blind carbon copy all the subscribers. In this way, we allow the mail server to do the heavy lifting of bulk mail delivery, and we also protect the identity of individual subscibers from one another.

  6. Caroline 2005-12-29 09:30:17

    Very very good thinking *S*
    Thanks for explaining!

  7. James 2005-12-29 11:55:37

    Subsribe2 menu isn't showing up for me under admin/options.

    I tried calling it by the page and I get this error:

    Fatal error: Cannot redeclare class subscribe2 in /home/virtual/site294/fst/var/www/business/wp-content/plugins/subscribe2/subscribe2.php on line 42

    Any ideas?

  8. skippy 2005-12-29 12:50:39

    James: I see you're still using WordPress 1.5.2. I should've mentioned that subscribe2 only works with WordPress 2.0. Sorry for the confusion -- I'll update the post to indicate this.

  9. Laundro 2005-12-29 12:57:47

    Excellent. Glad I could be of assistance. Thanks again for this great plugin!

  10. James 2005-12-29 13:14:16

    Right on, man. I installed on another blog that uses 2.0 and everything is rolling now.

    It sure does seem to send a lot of notifications to admin about subscribers. I got 3 emails for one subscriber. No big deal really, though.

    Thanks for the update.

  11. Kaushal Sheth » Blog Archive » Subscribe me option 2005-12-29 14:25:06

    [...] Finally plugins for wordpress 2.0 have started coming. I added a new plugin today named as Subscribe 2 which let you all to subscribe to my posts via E-mail. So all of you new visitors who come here to download themes I suggest you subscribe yourself to this feature to keep yourself updated with latest themes , new releases or fixes if any. [...]

  12. subscribe2 2.2 at WordPress Station 2005-12-29 15:14:28

    [...] skippy dot net Updated for WP 2.0, with some of Skippy’s added love and goodness. If you aren’t familiar with the plugin, it allows for you to provide email notices to your not so RSS savvy readers when new content is added to your site. [...]

  13. Ozh 2005-12-29 15:14:29

    Skippy, FYI and better compatibility with crappy servers : I was unable to load things without editing line 32, frominclude('buttonsnap.php');toinclude(dirname(__FILE__).'/buttonsnap.php');

    Also, sending readers to blogroot?s2=stuff is certain to fail on (the numerous) Apache servers with a lame virtual host config suffering from the trailing slash problem (requests to /directory not resolving to /directory/ but to a 404 instead)
    I'm not sure how to deal with it, probably just sending to blogroot/index.php?s2=stuff

    Apart from this, very very good work and featured plugin.

  14. skippy 2005-12-29 15:39:55

    Dammit, Ozh, where were you during the beta test?! ;)

    Thanks for the heads-up. I'll evaluate the need for an updated release based on user feedback over the next day or so; and I'll certainly include your suggestions for the next release. For many (most?) users, subscribe2 should perform out of the box.

  15. AJay17 2005-12-29 16:31:46

    Hey skippy. I before the upgrade I had a textbox where people could subscribe on my sidebar. How do I put it back there. I tried using but I can't get it to work.

  16. skippy 2005-12-29 16:36:30

    AJay17: did you read the FAQ section at the end of the README.TXT file?

  17. AJay17 2005-12-29 16:38:22

    I read it but I didn't understand it. But I think I do now. Let me give it a try.

  18. AJay17 2005-12-29 16:51:27

    Well I gave it a shot. Heres what I did. I just used the HTML that you gave me in the WordPress forum a while back for the form in the sidebar and under action i replaced ".../subscriper.php" with the page that i added to. Now when the user enters their email address and clicks submit all it does is take them to that page. Any idea what I am doing wrong?

    heres the code if you need it ....

    Mailing List

  19. Brian 2005-12-29 20:48:27

    Need some help. I have the WPG2 plugin installed. (http://wpg2.ozgreg.com/) I created a page and added the subscribe tag. When I load the page, an error page comes up for WPG2..it is best to see the page itself (http://www.kathiandbrian.com/blog/subscribe). I think there is some sort of conflict, but I'm not sure where it resides. I assume it has to do with the .htaccess file and the url rewrites. Any help would be great.

  20. Brian 2005-12-29 21:06:33

    Nevermod, it as the .htaccess file. I have corrected it now.

  21. Blogging Pro China » Blog Archive » WordPress Plugin: subscribe2 2.2 2005-12-29 21:50:42

    [...]   subscribe2 2.2,让访问者通过邮件订阅你的Blog,新版的subscribe2易用性增加,但是只能应用于wp2.0。 [...]

  22. Kaushal Sheth 2005-12-30 00:06:14

    Hi Skippy . I am using your plugin on my site but am getting one minor problem. When people subscribe to posts instead a single email to my account regarding subscription i get many duplicate emails.

  23. skippy 2005-12-30 07:32:29

    Kaushal: how many duplicate emails are you receiving? Who's your host? What version of PHP are they using, and on what operating system?

    You might try using wpPHPmailer, to see if that fixes the problem. If that doesn't fix the problem, then we can investigate where in subscribe2 this problem is occuring.

  24. Jo 2005-12-30 23:55:55

    Any possibility for an option to send a digest of the last %X% posts, when that many are posted, or say, a weekly digest? I post WAY too frequently (5-6 posts a day, I run a major news site) to send one for every post. :)

  25. Snoopy’s Home » WordPress 2.0 Stable 发布了! 2005-12-31 01:28:37

    [...]     这个版本的改动好像很大。比如,支持wp2.0的subscribe2 2.2结构完全被改写,使用了类结构。插件的处理被写进constructor。然后在最后一行初始化一个实例完成调用。感觉上还是不错的,重新hack应该也不难。     不少new features,比如内置所见即所得编辑器,不再需要第三方插件支持。 [...]

  26. Norm Gregory 2005-12-31 03:39:48

    I have no complaints, no cries for help . . . just a big thank you. V2.2 works flawlessly.

    Happy New Year!!!

  27. skippy 2005-12-31 09:15:38

    Norm: Great! Thanks for the positive feedback -- I love to hear it.

    Jo: at this time, I will not be adding any kind of daily digest. I may add that in the future, but there's no guarantee. I believe Bloglet provides the funcitonality you desire.

  28. Kaushal Sheth 2005-12-31 10:11:23

    Skippy my host is www.dreamhost.com and its linux os

  29. Kaushal Sheth 2005-12-31 10:27:05

    Sorry i did not answer to all your queries , I get 3 duplicate of email and I think dreamhost support php 4.3.0 or little higher.

    I will try using wpphpmailer and will let you know of the results.

  30. Kahil 2005-12-31 12:45:22

    i followed the instructions and upgraded, but no one is getting emails...

  31. Greg 2005-12-31 12:47:08

    Great Plugin, Thanks! Installed perfectly.

  32. Kahil 2005-12-31 12:55:14

    just had a friend subscribe, and once he confirmed himself, i got three identical emails...

  33. pashmina 2005-12-31 14:42:53

    Okay so I'm a little slow, what IS the HTML code you would put in the sidebar to call the subscribed feature?

  34. Julian 2005-12-31 16:53:29

    Skippy,

    Thanks for the update.

    A minor suggestion for the next release: The bright yellow S2 button in the WYSIWYG editor seems awfully prominent for a button that will only get pressed once, ever! Perhaps it could be toned done.

    I don't know if it is possible, but a tool-tip would help too - if I don't use if often, it won't be long until I forget what it is.

    Thanks again

  35. skippy 2005-12-31 17:55:34

    pashmina: try this:

    <form method='post' action=''>
    <p>Your email:
    <input type='text' name='email' value='' size='20' />
    <br />
    <input type='radio' name='s2_action' value='subscribe' checked='checked' /> subscribe
    <input type='radio' name='s2_action' value='unsubscribe' /> unsubscribe
    <input type='submit' value='Send' />
    </p>
    </form>

    Julian: I'm not an artist by any stretch of the imagination. If anyone wants to submit a better button, or a better image, do please feel free to submit one! As for the tooltip, I see one in Firefox. I don't use Microsoft Internet Explorer, so I can't test it there.

  36. Kahil 2006-01-01 02:25:14

    has anyone figured out the problems with the email situation? the subscribers from my previous version do not recieve emails ever since I updated the plugin. and new subscribers, when they do, I get three identical emails... I've had to disable the plugin for now, I'd like to get it all up and running again...

    thank you

  37. WordPress Italy » Blog Archive » Plugin WordPress: subscribe2 2.2 2006-01-01 15:36:53

    [...] subscribe2 2.2 è stato aggiornato con il supporto alla versione 2.0 di WordPress. [...]

  38. John Mordhorst 2006-01-01 17:21:53

    I ran into a problem were my email server which is Merak/Visnetic on Windows XP does not allow multiple lines of BCC: $recipient fields.

    The sendmail standard allows that, but I believe the RFC2822 internet message format does not.

    With multiple lines of BCC only the first one receives the message. For this purpose I changed the lines of the $headers to contain all BCC receipients as a comma separated list.

    Any comments/suggestions and have you found anybody else that had this problem?

  39. Playpen 2006-01-02 03:16:49

    Subscribe to Playpen with e-mail...

    If you’re fed up with visiting my site (boo hoo!) but still enjoy the content (yay!) then you can now subscribe via e-mail. Click on this link here or that link down there in the sidebar. I think it works, and will test it, but by all means give ...

  40. docdic 2006-01-02 12:45:20

    Hello Skippy,
    I contacted you previously about the problems I had with the subscribe2 v.2.1.5. The problem was that I (ad admin) got as many notifcations about new post as there were subscribers, but none of the subscribers got anything.
    I asked the bluehost.com about it, specific about Bcc, but they replied that everything was o.k.
    I upgraded to Wordpress 2 and Subcribe 2.2.2, but the problem persists.
    My host is Bluehost.com.
    Op. system: Linux
    Kernel v. 2.69-22.0.1.Elsmp
    Apache v. 1.3.34 (Unix)
    PHP v. 4.4.1
    Thanks for your help

  41. skippy 2006-01-02 13:37:39

    John: thanks for the heads-up! RFC822 doesn't specifically make any claim about the number of permissible instances of a BCC header. RFC2822, however, specifically states that the BCC header may appear zero or one time. Section 2.2.3 of RFC2822 also specifies "folding" to work around the 998 character line length specified in section 2.1.1.

    I will be revising subscribe2 to conform to RFC2822, by using only a single instance of the BCC header name and folded recipients.

  42. pashmina 2006-01-02 13:38:08

    okay, truly sorry for being the novice and asking beginner questions but still can't get the subscribe to work from the side bar just right. I have the this text in the sidebar:

    And this page for the template:

    And this text in the subscribe page;

    What am I doing wrong?

  43. Complete Neophyte 2006-01-02 20:59:45

    I'm brand new to WP and I have a site being built right now by a developer. Previously, I had a newsletter Website with 5000 names subscribed.

    1) With this plug-in will it be possible to upload all of these addresses at once?

    2) Will it be possible to separate and create different lists?

    3) Is there any limit to the number of e-mail addresses I can have?

    4) A dumb question (but, I am a Neophyte...), will the addresses be stored in a database on my own site, or somewhere else?

    Thank you, Skippy!

  44. skippy 2006-01-02 21:06:16

    Neophyte: 1) yes, subscribe2 provides a bulk address import field.
    2) No. Subscribers you add will be considered "the general public", and as such receive a new notification for all new posts.
    3) Probably. This varies wildly by hosting provider.
    4) The addresses are all stored in your database.

    Five thousand subscribers is probably well beyond the normal capabilities of subscribe2. If you've got that many subscribers, you probably need a real mailing list solution. You can use my cat2email plugin to send new posts to a real mailing list.

  45. Kahil 2006-01-03 21:53:54

    Is there any progress or update on the problem with emails? Cause no one that was subscribed to my blog under the previous version are getting a single email and new people and myself are getting three of the same email...

  46. Ian 2006-01-04 04:27:41

    I added the code you supplied above Skippy but when testing I put in an email address and it does not add. Everythign else works as advertised and I can manualy add subcribers and view them. On my site send looks more like a field than a button. I am guessing it is something to do with the current theme. I would like the button to look like a button. Any help apreciated and remember I only know enough to be dangerous.

  47. skippy 2006-01-04 08:28:57

    Kahil: subscribe2, as described in the README, will send one email for each combination of:
    * plaintext excerpt
    * plaintext full post
    * HTML full post
    So, if you have one public subscriber, one registered user subscribing to plaintext full post notifications, and one registered user subcribing to HTML notifications, you will receive three emails every time you post a new item.

    If you're getting three emails from the subscription confirmations, I've no idea what's causing that. Your's is the first report of such a thing.

    Have you tried using the wpPHPmailer plugin? Many people find that to be a real solution to many mail delivery problems.

    Are you posting your items from drafts? If so, I've recently been made aware of a bug that prevents delivery when publishing a draft. I have a fix, and hope to release a new version soon.

  48. skippy 2006-01-04 08:56:25

    Ian: You need to make sure that the form posts to the Page in which you have inserted the <!--subscribe2--> token. As it stands, your form is posting to whichever page is currently being dislpayed, so the subscribe2 handler never sees the submission.

    Change your form to use this:<form method='post' action='http://www.iansbrainstorm.com/subscribe/'>using the correct permalink for your page.

    As for the styling of the submit button, you're on your own. I don't provide template or CSS support at all.

  49. Shaun Lloyd 2006-01-04 15:33:34

    Hi there, great work on the plugin. I'm having an issue however and would appreciate any advise you could give.

    When installed on localhost l get the following error under the Categories to Exclude panel in admin section, my remote host is no problem however:

    Warning: Invalid argument supplied for foreach() in E:\www\wordpress\wp-content\plugins\subscribe2.php on line 407

    Feedback:
    Only runs when posts are created thru write posts not by publishing thru any other means - firefox plugin/email to post etc.

    My feedback is all positive with only one feature request - to actual email the post itself like http://watershedstudio.com/portfolio/software/wp-email-notification.html#download

    keep up the good work,

    lloydie

  50. Kahil 2006-01-04 19:44:26

    well, the first part is still a mystery because all the subscribers I had under the previous version are not getting any emails, nor am I... And when a new person signed up, I recieved three identical emails all at once.

    Some of mine were from drafts, but only two.

    Why would we get three emails if there are different typs of subscribers getting noifications in different ways? Is there a way to prevent that? It can get confusing and a lil annonying when you get several emails each day...

    Thanks...

  51. skippy 2006-01-04 20:09:06

    Kahil: subscribe2 sends email to the blog admin or post author, and attaches all the subscribers as blind carbon copy recipients. This is for two reasons, as I described above: it protects the identity of subscribers from one another, and it allows the mail server to do the heavy lifting.

    Since subscribe2 2.2 permits different kinds of emails to be recieved (plaintext, HTML), it needs to send separate messages to the admin, with separate sets of BCC recipients. So one message to you will have a BCC list of plaintext excerpt recipients; one email will have a BCC list of plaintext full post recipients; and one email will have a BCC list of HTML fullpost recipients. If you're using batching, each of the previous will occur for the number of batches necessary.

  52. Richard W 2006-01-04 20:31:44

    Hey Skippy!

    Just downloaded a copy of subscribe2 for the testing Im doing on WP2 and I have a little problem mate?!

    I create a page called "subscribe" and click the button to insert the subscribe doova-lackie (thats an Aussie term of course!) and I get a message on the page like this:

    -----
    You may manage your subscription options from your profile.
    http://localhost/wp2/wp-admin/profile.php?page=subscribe2/subscribe2.php.
    -----

    ...and if you click the link - it goes into the admin but I get a redeclare error, thusly:

    -----
    Fatal error: Cannot redeclare class subscribe2 in C:\xampplite\htdocs\wp2\wp-content\plugins\subscribe2\subscribe2.php on line 42
    -----

    As you can see its a localhost (test) install - am I missing something mate?

    Cheers, Richard

  53. Kahil 2006-01-05 02:03:10

    OK, that makes more sense on that part...

    the only thing that i am still having trouble with is the fact that non of my previous subscribers under the old version are getting emails whatsoever... the only thing that seemed to work was me completely taking them off, going into my database and removing any and all lingering info of theirs and then the only way that they would again recieve notices of updates is when either I re-add them via the subscribe page (via the admin panel did not work) or I ask them to subscribe again.

  54. Tommix 2006-01-05 06:34:25

    Hi Skippy,
    thanks for your plug-in it works fine! I have only one problem: when a subscribed user confirm his subscription by cliccking the link provided in the email he go to an arbitrary page of my site. I would like to redirect him to the "Subscription Page" and not to a random page where for instance you'll find the confirmation message mixed with the page content.

  55. skippy 2006-01-05 08:20:07

    Richard: I'm not sure what's causing that redeclare error. I've not seen that yet. Does the error occur if you click the "Users" menu item from within the WordPress administration section?

    Kahil: the mail delivery mechanism isn't really different between the old version and the new version. I do not know what's causing your problem. There are very few ways for me to diagnose it.

    Tommix: subscribe2 grabs the first published page in your database, and overrides the_content(). It should also override any custom template that page might be using. If you prefer, you can edit line 1309 of subscribe2.php, and have it select the page ID of the page you want. You're on your own if you do this.

  56. J. 2006-01-05 12:27:03

    Hi,
    I like that tool much. However, I've installed another tool WP-Contact-Form at WP2.0. It seems that since I've installed subscribe 2.2.2, the directory for the button in the wysiwys editor changes some variable. The button for my previous installed wp-contact-form is now tried to be located in the "subscribe2" folder on the server. Hope that makes sense. I have copied the .png file from "wp-contact-form" to the "subscribe2" folder. And it works better now :-)
    Thanks for this really great plugin!!
    J.

  57. J 2006-01-05 12:41:14

    Oh, it looks like, that the "send mail to all subscribers" function is not working either... Maybe as I'm using the localized version of WP2.0 (de_DE) ???
    Sorry ...
    J.

  58. James 2006-01-05 21:11:17

    Hi Skippy, I have a different version of the problem Tommix refers to. The subscribe link in the email in my case brings me to the 'Links page' but it shows just the Links template, no subscription confirmation message visible. And more importantly, the subscriber does not get subscribed. The subscribed email address remains 'unconfirmed' after clicking the emailed subscription link.

  59. pashmina 2006-01-05 21:11:20

    Finally figured out how to get this to work!

    But the email confirmation messages are delayed by 4-5 hours. Any idea why this might be happening?

    Thanks!

  60. skippy 2006-01-05 22:05:03

    James: I suspected that a few problems might arise from my little page trick. I'll add an option in the code of the next release to specify the page ID. By default, it'll still use the first published page returned by the database; but if a specific page ID is provided, subscribe2 will use that instead.

  61. Tommix 2006-01-06 05:01:52

    Thanks Skippy now it do exactly what I want!

  62. James 2006-01-06 07:22:56

    Cheers for the quick reply, Skippy, looking forward to the next release. And many thanks for all the effort you're putting into this great plugin!

  63. Shaun 2006-01-06 08:50:14

    Hi

    I think I'm so close to getting this working but I have had a similar problem to Richard W in that
    When I create a page called "subscribe" and click the button to insert the subscribe I get a message on the page like this:

    You may manage your subscription options from your profile.
    http://localhost/wp2/wp-admin/profile.php?page=subscribe2/subscribe2.php.

    And when I had it on my local machine I recieved this

    Fatal error: Cannot redeclare class subscribe2 in C:\xampplite\htdocs\wp2\wp-content\plugins\subscribe2\subscribe2.php on line 42

    but when I put it online then I still had no subscribe form, just still the 'You may manage your subscriptions from...' but this time the fatal error wasn't produced and it did take me to Write>subscriptions, BUT still no subscription form on my page. Do you have any idea what would be going on to cause this?

    Thank you very much for your time.

  64. skippy 2006-01-06 13:14:06

    Shaun: if you're a registered user, and you are currently logged in, there is no reason for the form to be displayed to you. Even if it were displayed, submitting your name would not work because subscribe2 would recognize you as a registered user, and not bother trying to subscribe you. Registered users manager their subscription options through their profile page.

    If you want to see the form, log out, then view your subscribe page.

  65. Richard W 2006-01-06 17:21:43

    Yeah Skippy! The last comment was the reason I was getting errors...

    ...log out of my admin account, look at the website and it seems to work fine - but when I log back in the errors appear again.

    Problems solved mate!

    EXCELLENT PLUG-IN - cant wait until the site goes live! :-)

    --Richard!

  66. Shaun 2006-01-06 20:32:25

    Wow-
    Thanks v.much for the swift reply. So now it's up and running and it seems great except...

    ... that I have a form in the sidebar and set up the method, post, action correctly (I think) but when someone enters there e-mail address in the sidebar then presses 'send' they are simply taken to the Subscribe page and the e-mail address they entered in the side bar is not there... here's my form code:

    -->

    It is definitely the right link address. I have have been struggling for days with this and I wouldn't ask you otherwise.

    Thank you again

  67. Shaun 2006-01-06 20:38:52

    Opps...making lots of mistakes today. There's not the code and I have no idea how to post it here.
    Anyway just to let you know that I followed your form code, and then looked at other peoples and can't any differences.

    Thanks again and sorry (again)

  68. Shaun 2006-01-06 22:14:48

    Ha... got it, I'm so dumb. You have to include the radio buttons. Then if you don't want these to show in your sidebar then just display:none them is your stylesheet. The subscribe radio btn is checked by default so this works out when you click the 'send' button.

    So happy for me and so thankful to you Skippy

  69. Jason 2006-01-07 07:33:30

    Great plugin. Just one question / problem: When people subscribe or unsubscribe the plugin sends 7 copies of the same email. I have read all your documentation and tired to diagnose the code myself but no luck.

    Any ideas as to why 7 copies would be sent for one subscribe / unsubscribe action?

    FYI - I did not create a page for the plugin but I use the sidebar code your provided above. There is nothing special about my installation and I have not hacked anything.

  70. skippy 2006-01-07 15:07:08

    Jason: I have no idea why multiple emails are being sent. It's certainly nothing specific in the plugin's code.

    You don't need a page specifically for subscribe2, as long as you have at least one WordPress page.

  71. Brooke 2006-01-08 06:03:45

    Hi Skippy,

    I tried to avoid bothering you with what is surely my own ignorance, but I'm so tantalizingly close to getting Subscribe2 to work!!! (I hope.) I am trying to get it to work in my sidebar. I DID read the ReadMe FAQ, as well as the code advice you gave Pashmina and Ian. The problem is that I don't really know what I'm doing. Here's the message I get when I test it:

    WordPress database error: [Unknown column 'date' in 'field list']
    INSERT INTO wp_subscribe2 (email, active, date) VALUES ('babercrombie@mindminutes.com', '0', NOW())

    ... so that seems like bad news ... but then I get a friendly "A confirmation message is on its way!" on my Subscribe page, so I'm very confused.

    Any advice you could give me would be much appreciated!

    Thanks,

    Brooke

  72. skippy 2006-01-08 10:33:20

    Brooke: the error you're getting tells you that the date column in the table is not present. Try visiting Option->Subscribe2, which should cause the plugin to check whether it needs to update the database.

  73. Brooke 2006-01-08 11:29:35

    thanks for the fast response, Skippy. I visited Subscrbe2 and re-submited the standard options, then tried to submit another email address. Unfortunately, I got the same error message again:

    WordPress database error: [Unknown column 'date' in 'field list']
    INSERT INTO wp_subscribe2 (email, active, date) VALUES ('gframe40@aol.com', '0', NOW())

    Anything else I could try?

    Thanks!!

  74. skippy 2006-01-08 13:41:46

    Brooke: fire up phpMyAdmin, select your database, then navigate to the SQL tab. Enter this:ALTER TABLE `wp_subscribe2` ADD `date` DATE DEFAULT '2006-01-08' NOT NULL AFTER `active`;Submit that. It should alter your database and add the missing column.

  75. Brooke 2006-01-08 14:31:28

    thank you!!!!
    Everything is working now.
    Thanks for creating such an amazing tool.

  76. Complete Neophyte 2006-01-08 15:54:06

    Thank you for the previous responses to my questions, Skippy!

  77. Scasquiov 2006-01-08 16:43:00

    Hi!

    Great plugin! not enough to replace the mailling list script I've been using, but still.. it's definitly going in the right direction.
    Some (not fully thought) feature suggestions I would like to make, for future releases:

    * Let subscribers leave both their email address and their names. It can be usefull if one needs to contact a particular subscriber.
    * Add a configuration option to always "send the full post to all subscribers", and yet, allow a user to change how each post will be sent (excerpt, plaintext, HTML) before publishing it.
    * Allow subscribers to choose a prefered format when subscribing (plaintext vs HTML, excerpt vs fullpost)

    Cheers!

  78. Asia! 2006-01-08 21:08:23

    Thank you Skippy, for this plugin. It works quite well. I am looking forward to the update which will allow one to control the page id although I have changed it manually. Anyway, I'd like to suggest that there be some way to differentiate between subscription and unsubscription emails. It may prove useful. Thanks again!

  79. Lance Brown 2006-01-08 21:12:09

    Skippy,

    Thanks for all the improvements to Subscribe2 - and thanks for being so quick and courteous with your support on these threads. It's pretty impressive!

    There's just one problem -

    I'm just kidding. No problems. You rock!

    Thanks again!

  80. Viper007Bond 2006-01-09 00:13:42

    Awesome!

    However, I found a bug. The text "You may manage your subscription options from your profile. [link]" is wrong. The link uses your blog URL as a base, not your WordPress URL. I have my WordPress files in a sub-directory. Looks like the login links are bad as well.

    You need to be using "get_settings('siteurl')" rather than "get_settings('home')". ;)

  81. Carlos 2006-01-09 05:51:01

    Sorry for this question, but I do not found where to put the language files subscribe2.mo and subscribe2.po, so they will work for my language

  82. skippy 2006-01-09 10:02:06

    Scasquiov: the entire point of this plugin is that members of the general public should get a "teaser" of the post, to encourage them to come visit your site to read the entire post. If users wants to receive the entire post in their Inbox, they need to register as a user on the blog.

    Asia: can you qualify what you mean by "differentiate"? In what way should subscribe and unsubscribe emails be different?

    Lance Brown: Thanks for the positive feedback!

    Viper007Bond: thanks. I always goof that. The fix will be included in the next release.

    Carlos: the .mo and .po files should go in the /subscribe2/ directory, alongside the plugin.

  83. Andrés Ingi 2006-01-09 21:04:55

    I have to agree with Scasquiov -- forcing users to register to get full HTML-emails is something I'd rather not do. Apart from that small thing, however, you've made a beautiful plugin -- simple and functional!

  84. Chris 2006-01-09 23:25:05

    Skippy, great plug-in! Just one very minor bug I am experiencing. When I receive an HTML email the permalink is not clickable. How can I change this? (very new to php)

    Thanks!

  85. skippy 2006-01-10 11:47:28

    Chris: to make the permalink clickable in the notification email, you need to use proper HTML:<a href="LINK">LINK</a>

  86. Chris 2006-01-10 22:09:48

    Sorry, for being so ignorant, but I can not figure out where to put the HTML code. Is it somewhere in the subscribe2.php file? Sorry, for the dumb questions, I know this is not your day job.

  87. Chris 2006-01-10 22:27:15

    Skippy, I figured it out. Sometimes you can't see the forest for the trees. I always try to make things more difficult than they should be. I would write terrible code!

    Anyway I just added the HTML code PERMALINK to the email template under options. I was expecting something a little more difficult. Thanks for making things easy. I really appreciate the plugin. It gives me another tool for building an online community.

  88. Olivier 2006-01-13 03:17:20

    Amazing plugin! I appreciate the various subsections in the admin section. Really slick and well thought. Thanks a lot!!

  89. tommix 2006-01-13 12:04:33

    Skippy,
    just a question: I immagined that all my registered user automatically received the mail update. But none of the receive nothing. Where I'm wrong?

  90. skippy 2006-01-13 12:46:24

    Tommix: without more details, I can't provide many answers. Were any emails generated on your server? Did they make it out? Were they filtered as spam on the recipient end?

  91. Paul 2006-01-13 14:49:27

    Love this plugin; Thanks Skippy.

    Two comments:

    First, I had a similar question as above (but you answered it, so now I know) -- but it was why I couldn't see the subscription form. I just got a link to the profile page. Now I realize that you can only see the form if you aren't logged in. That makes sense. However,...

    Second, Can you make it so that if they ARE logged in that the link they follow is shorter? Maybe text like "Click here to manage your subscription options." The URL is running into (and taking over) my sidebar!

    Thanks a bunch!!! Again, I LOVE this plugin!

  92. skippy 2006-01-13 14:55:36

    Paul: I've been wrestling with an elegant way to do that while simultaneously supporting translations. Ideally just the word "profile" should be linked, but that's not particularly easy to do with the current translation process.

    I suppose I could make the whole sentence the link to the profile.

  93. Paul 2006-01-13 15:04:06

    Oh! Wait! I figured it out!!

    Replace line 53 with the following:

    $this-<use_profile = __('You may manage your subscription options from your profile.', 'subscribe2') . "<br /><a href='" . get_settings('home') . "/wp-admin/profile.php?page=subscribe2/subscribe2.php'> Click here to manage your subscription settings</a>.";

  94. Paul 2006-01-13 15:50:26

    So let's say a registed user wants to unsubscribe from getting e-mail from the system. But they don't want to cancel their account on my blog.

    How do they do that?

  95. skippy 2006-01-13 16:03:21

    Paul: the user should uncheck all of the categories. Unfortunately, this may be broken in version 2.2. :( I've fixed it in the forth-coming 2.2.1.

  96. Frankie 2006-01-13 18:22:01

    How do I add "" to a template page?

    I'm familiar with templates but not having any luck. I'm guessing the plug-in only recognizes the token from a page rather than the page's template?

  97. skippy 2006-01-13 18:27:33

    Frankie: that's correct -- subscribe2 parses the_content() of the page, and does not read the page template.

  98. tommix 2006-01-13 19:31:40

    The strange think is that it sends mail ongly to explicit subscribed users, not to the simply registered ones. I have to mannualy ad their email on some db table?

  99. bernabauer 2006-01-15 07:35:44

    Hi there Skippy! Love your plugin! It works flawlessly and there is only one tiny little thing I would ask to consider in your next release: Instead of sending email after each new post, it would be great if it could send emails on a daily basis or weekly, with the new posts for that period. It could be like a "The day in review" with the titles and links to the post of that day or week.
    I tried to mod your plugin just for my blog, but I am not that good with PHP and Wordpress programming... Can i keep my hopes up for these feature in the next release? Thanx a lot for the excelent plugins!

  100. skippy 2006-01-15 12:07:21

    bernabauer: your request will be included in the forthcoming 2.2.1 release of subscribe2. It will rely on my WP-Cron plugin. Unfortunately, there's a small hiccup with WordPress 2.0 that causes problems with this new feature, so it won't be ready until WordPress 2.01 is released.

  101. Mel 2006-01-16 06:11:25

    Once again, love this plugin.

    One small thing I noticed - Line 59 has a typo: $this->not_subscribed = __('That email address is not subscribed.', 'subscrieb2');

    Should be subscribe2, right? ;)

    And then a problem:

    I tried using your code for the sidebar setup, but if someone uses the sidebar form to subscribe, the confirmation email is sent out 10 times (exact same email). This doesn't happen if using the drop in on a page...

    Any clue why that might be? I'm stumped.

  102. skippy 2006-01-16 07:14:27

    Mel: thanks for catching that typo. Fixed. I don't have any idea why ten emails are being generated. If I had to guess, it might be some quirk resulting from the new built-in cache in WordPress 2.0. I have not used the sidebar sign-up mechanism, so I've not tested it at all. As such, it should be considered an unsupported feature.

  103. Mel 2006-01-16 09:25:20

    Totally understood... I know that's not part of the regular stuff. I just thought you might have some idea as to what might be causing it. It's bumming me out.

    Thanks again for this plugin, and thanks for answering... might be a consideration for later versions if you're not totally burnt out on this one yet. Seems like a lot of us would like to be able to place it on the sidebar.

  104. Rich 2006-01-16 17:05:40

    Is there any way for this plug-in to work with "Postie" when I "e-mail" my blog? So far, it will e-mail the subscribers if I make an entry directly in WP but not if I send an e-mail to it. Any fix for that? Thanks!

  105. skippy 2006-01-16 17:34:20

    Rich: posting via XMLRPC or by email is supposed to trigger the same plugin hooks as when posting via the web interface. I don't use anything but the web interface, though, so I can't confirm. I know prior versions of WordPress were known to have some troubles with this, but it was my understanding that it's been resolved. I'll look into it, and see what I can do.

  106. Matt 2006-01-17 03:21:48

    Hey Tommix,

    I think I've figured out what your problem is. Subscribe2 adds a preferences page to a Registered Users window that allows _them_ to subscribe to emails (from specific categories) if they wish.

    Newly registered users are not subscribed to emails by default - and I for one am glad of that as it would break my sites privacy rules. Put a page or post on your site telling users to register, then login in and manage their subscriptions. You _could_ do it by entering lines in the right database (wp_usermeta I think) but I would recommend you let your users manage their own email subscriptions.

  107. Paul 2006-01-17 13:02:18

    Skippy,

    My users are also getting 8-10 e-mails when they subscribe to my blog.

    I'm not using a sidebar implementation. I'm just using the subscribe2 token in the body of a WP post.

    You can check out my implementation at blog.paulpehrson.com if you want.

    Any suggestions on how to cut down on the multiple e-mails being generated for new subscribers?

    I'm hosted with TotalChoiceHosting. Here is the server setup info (if it helps:)

    Operating system Linux
    Kernel version 2.6.9-22.0.1.ELsmp
    Machine Type i686
    Apache version 1.3.34 (Unix)
    Path to sendmail /usr/sbin/sendmail
    PHP version 4.4.1
    MySQL version 4.0.25-standard

  108. artgeek 2006-01-18 02:25:15

    Well, wow. I had just filled out this comment box with details about my issue, when inspiration struck, and I managed to solve it on my own. Hoorah!

    Instead, I'll just take this opportunity to thank you for a great li'l plugin. :)

    Consider me one more pesky person who insists on having subscribe2 in her sidebar--but one who was able to solve those issues on her own. ;)

    Cheers again!

  109. Angela 2006-01-18 21:20:55

    SKippy,

    scrolled through all the above problems, but no one seems to have the same one as me. I see the below error in the manage>subsribers area. please advise

    manage subscribers, WordPress database error: [Table 'blursoto_wp_1.wp_subscribe2' doesn't exist]
    SELECT email FROM wp_subscribe2 WHERE active='1'

    WordPress database error: [Table 'blursoto_wp_1.wp_subscribe2' doesn't exist]
    SELECT email FROM wp_subscribe2 WHERE active='0'

  110. Todd 2006-01-19 11:22:03

    I've been trying to get your plugin running... and I did... although it was version 2.1 running on wp2, and the submit button was not updating the preferences I would set. I then discovered that I was running and older version of your plugin, upgraded to 2.2 and everything seems to be working as I expected.

    Thanks for an awesome plugin!

    One question though.. Is there any way that I can hack it to make all the emails sent out from the admin (manually sending) go through as HTML? I tried hacking the content-type lines in the code, which worked, but the HTML in my email comes through escaped, with slashes in front of every apostrophe.

    The reason that I am attempting to do this, is that I have all categories turned off by default, and I am tring to use your plugin as a newsletter tool, sending out HTML formatted emails to a list of emails that I manually insert into the database.

    Any help on me accomplishing this feat would be splendid!

    Again, awesome plugin - it's one of the slicked around, for sure!

    -- Todd

  111. Matt 2006-01-19 16:16:47

    Angela,

    Something strange going on here! I tried subscribing to your blog and got a blank email.

    What version of WordPress are you using? This version of subscribe2 only works with WP2.0.

    Given that the email I got was blank something funny is happening in constructing the entry for my email in the database - possibly that fact that the table isn't there or the name called is not correct.

    Can you check for the existence of the database using PHPmyadmin?

  112. Tri Nguyen 2006-01-19 23:07:30

    Skippy, I installed subscribe2 on my friend's site. The index.php is at the root, but their Wordpress files are under /wordpress/. This caused an error when I went to "... manage [my] subscription options from [my] profile." I had to add /wordpress/ to line 53 of subscribe2.php to fix it. Additionally, the link text there is exceptionally long and pokes into the sidebar. I changed the link text to say "Manage email subscribers."

    Thanks for another great plugin!

  113. Andreas 2006-01-20 06:31:45

    Hi there!
    I was just through with installation, customization, translation and all the rest when I fount out that the full posts are not shown anymore when the plugin is installed.

    I checked twice: Without the plugin everything is just fine. With the plugin activated, a click on a headline of a post just returns a blank page.

    Any idea how that could happen?

  114. Richard 2006-01-20 13:11:33

    Hi,

    When I insert !--subscribe2-- (with the brackets, of course) in a page, it's not having any effect. The tag is there in the page source so it appears that it's not being recognised and substituted as the page is processed. This is on a very standard WP2 local test installation.

    Any ideas would be much appreciated!

    Cheers

  115. skippy 2006-01-20 13:46:27

    Todd: I missed a stripslashes() or two, which caused some problems with apostrophes. That should be resolved in the forthcoming 2.2.1 release. You'd have to edit the code, though, to make admin messages to subscribers go as HTML: it's hard coded to send plaintext emails.

    Tri: both of these issues should be resolved in the next release.

    Andreas: a blank page almost always signifies a PHP error. What does your webserver's error log say?

  116. skippy 2006-01-20 13:48:16

    Richard: do you have a link to the page you're using, so that I can look at the rendered HTML? Are there any errors in your error log?

  117. Matt 2006-01-20 14:34:37

    Richard,

    Just on the off-chance that what you entered abouve wasn't a type you should be using:

    Ok, I know you said you missed off the brackets, but it's a double '-' at each end of 'subscribe2', not a single '-'.

  118. kes 2006-01-20 20:07:43

    Hi Skippy,

    I've used some hours trying to get your plugin playing, and felt very close, except one little detail. It does not send any mails when I publish a new post. (Yes, I've checked, and double checked for spam ;)

    I get the subscribe mails, and other WP mails, but after a new post have been published my test-subscribers get nothing. Nor do they get anything when I try to send something from "Write - Mail Subscribers" manually.

    I'm on a FreeBSD system with SSMTP rather than Sendmail, so I have tried the wpPHPMailer too. Got it working for WP, but without luck for the subscribe issues.

    Do you have any clues?

    Or can you point me towards any debugging or some logs? The php_error.log are quite quiet except for this: PHP Warning: array_merge() [function.array-merge]: Argument #2 is not an array in subscribe2.php on line 371

    kes

  119. skippy 2006-01-20 20:13:31

    Line 371 is merging the confirmed public subscribers and those registered users who elected for plaintext summaries of new posts. It would seem that you have no registered users receiving plaintext summaries. This error has been resolved in the next version.

  120. Andreas 2006-01-21 04:53:41

    Hi everybody,

    I solved my problem somehow. subscribe2 seems to produce a conflict to Subscribe-to-Comments.
    These to plugins are not working together.

  121. conor 2006-01-21 13:37:12

    I like the users ability to choose the email format and categories, but I want new registered users to have the default category checked after registering so they get emails unless they uncheck it later. Is that possible? Cheers.

  122. skippy 2006-01-22 19:24:15

    conor: It's possible to do what you want, but it will not be a default configuration. People should explicitly choose to receive email notifications, in my mind.

  123. Yorick 2006-01-23 06:15:59

    Hi!

    Great plugin. Just started using it yesterday. Does anything I want it to do. With one exception...

    At work 'they' decided not to upgrade the InternetExporer, so we're still using the 5.5 version. Trying to send an e-mail to all subscribers wouldn't work, because the submit-button had disappeared. Looking for an explanation I found a little error in your code. The span class="submit" tag wasn't closed with a >:

    <span class="submit"<input type="submit" name="submit" value="Send" /></span>

    I am not at home in the code, so I 'don't know how to fix it. Can you help me out?

  124. skippy 2006-01-23 08:24:23

    Yorick: this bug has been presented to me a number of times. It's fixed in the yet-to-be-released 2.2.1 version. For now, you can edit subscribe2.php, navigate to line 1122, and add the closing angle bracket after class="submit".

  125. MilleSabords 2006-01-24 10:24:45

    Hi. Thank you for this plugin.
    This version 2 2.2 seems to be no more compatible with localized files .mo
    Do you plan to correct this ?

  126. skippy 2006-01-24 10:30:57

    MilleSabords: the translations have changed, so the old .mo and .po files will no longer work. The new .pot file is available here. As new translations are provided to me, I'll add them to the repository.

  127. Mel 2006-01-25 00:04:12

    Ok, now that I've had the new version installed for a bit... it doesn't appear to be sending emails. I'm using Dreamhost - so I've changed line 37 to TRUE. The only other changes I've got in the current subscribe2.php are the closing bracket on 1122 and the typo on line 59.

    I am not using the sidebar implementation at all (since I wasn't able to solve the multiple confirmation email issue), so everything's standard.

    None of my subscribers are registered users (I don't require registration at my site, and don't want to) and they were subscribed via a previous version of Subscribe2.

    Would either of these conditions be a problem? (Though I'm thinking that's not it, since I'm not getting the email either...)

    Any help would be greatly appreciated.
    (BTW - thanks for being so awesome and supporting this plugin... I'm sure you have plenty to do otherwise too. :) )

  128. Ken Ng 2006-01-25 01:10:14

    Hi, I'm new to Wordpress and all, so forgive me if I'm asking stupid questions.

    I'm using the latest release of Wordpress and Subscribe2. But I'm getting this error when I click on the link to manage my subscription. http://www.placidthoughts.com/wp-admin/profile.php?page=subscribe2/subscribe2.php

    "Fatal error: Cannot redeclare class subscribe2 in D:\PlacidThoughts\wp-content\plugins\subscribe2\subscribe2.php on line 42"

    Any idea what's wrong on my end?

  129. skippy 2006-01-25 10:49:56

    Mel: we know that email works on your server, because the confirmation messages were sent (albeit too many of them were sent!).

    First, are you saving your posts as drafts before publishing them? There is an identified bug that prevent notifications from being emailed if you first save the post as a draft.

    How many subscribers do you have? If you set all but one subscriber to "unconfirmed", does an email get generated for the single remaining confirmed subscriber? Keep adding subscribers until you find that notifications are not being sent. What's the cut off?

    Ken: that error seems to crop up occassionally on Windows hosts. I've not yet found the cause. It shouldn't be affecting your site in any substantial way: you should still be able to navigate to Users->Subscriptions to control your options.

  130. Mel 2006-01-25 12:26:35

    Ahhh... the draft bit would be the problem. I always save a draft first.

    I guess I'll just hold tight till that's fixed.

    Thanks again! :)

  131. Xander 2006-01-25 19:34:40

    Hi there, and thanks for the work on the plugin. I had an old version installed and it seemed much easier to effectively kill the notification portion of the plugin. All I'm using it for is to build a mailing list, which would only occasionally get an email update. It's perfectly safe if I simply tick all categories to be excluded, correct? The thing I'm wondering is if it would be easy to add an option in future versions to simply tick one place and never send notifications, or even attach the notification function to the posting interface... under discussion for example - allow comments? allow pings? and then send notification? It's a thought. Thanks for the quality code!

  132. skippy 2006-01-25 20:09:37

    Xander: you can check every category to suppress generating emails. I'm not keen on adding more options -- especially options to disable core functionality. It might be that subscribe2 is not the best tool for you to use, and a mailing list like PHPlist is a better choice. Or, if you've got the ability, feel free to hack away the subscribe2 code to make it do exactly what you want. Viva la open source! ;)

  133. Andreas 2006-01-26 03:37:43

    Hi there, is there any chance of getting the multiple confirmation mail issue fixed? Testing the thing as unregistered subscriber I just received 12 (in words: TWELVE) confimation mails.
    Any fixing idea would be greatly appreciated.

  134. Steffen 2006-01-26 06:54:03

    Hi, the software looks great, but I need help. How can i install the language files? Where do I put them?

    Thanks in advance
    Steffen

  135. skippy 2006-01-26 07:19:52

    Andreas: I've not seen this problem, so it's extremely challenging for me to diagnose your problem. Have you contacted your hosting provider for assistance?

  136. Andreas 2006-01-26 07:29:33

    skippy: I did (on several thngs). They just have one answer to all questions: "Please consult the manual." Needless to say that the manual doesn't give any clue on the mail handling custums of their server.

  137. Andreas 2006-01-26 07:49:03

    I've another problem, a minor one:
    The form element of the subscribe field doesn't validate in XHTML transitional.
    Error Line 164 column 32: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag.

    Ihre E-Mail: 

    I tried to envelope the thing with object, but then it stops working altogether.
    I don't really want to be a bother. Just posting this, chancing somebody found a work-around or something.

  138. skippy 2006-01-26 09:01:30

    Andreas: thanks for pointing out the XHTML problem. I'll include the fix in the next version. If you want to fix it on your site, edit subscribe2.php. Change the regular expression on line 1297 to this:'|<p>(\n)*<!--subscribe2-->(\n)*</p>|'

    And make sure that the <!--subscribe2--> token is on a line all by itself, separated from other content by at least one blank line above and below.

  139. skippy 2006-01-26 09:38:50

    Steffen: the .mo and .po files belong in the /subscribe2/ directory.

  140. Andreas 2006-01-26 10:01:20

    Wow, that was quick. Thanks skippy! Now, it validates.

    The other issue seems to be getting worse. A new public subscriber just got FOURTEEN confimation mails.

    Options are set to blog admin sending the mail. The relevant mail address is the only one with a POP 3 account in my mail settings.

    I wonder how Mel and other commentors solved that problem.

  141. Richard 2006-01-26 13:25:26

    Sorry for the delay in replying.

    You can see my "Subscribe" page here: http://83.67.206.172/ronnie/?page_id=6

    I've also inserted it into my index.php which you'll see if you view the source of the front page.

    As you can see from the source, I've been using -- but thanks for the suggestion!

  142. Andreas 2006-01-26 13:54:16

    Perhaps it helps with the new version:
    That multiple mail issue with confirmation mail seems to occur only if the thing sits in a post.

    I tried it with a sticky post and thus produced a small mail bomb. On a stativ page it works fine.
    Best regards

  143. DhammaSeeker 2006-01-26 15:33:27

    Just upgraded to WordPress 2.0, and I just had to get the update for Subscribe2! Thanks for maintaining this excellent plugin.

  144. conor 2006-01-26 18:39:37

    Could you tell me the parameters to change? Just for a quick mod?

  145. skippy 2006-01-26 21:17:39

    Richard: I'm afraid I can't help you any more -- I'm a Babylon 5 fan, and I see that you're not interested in our lot. ;)

    I clearly see the <!--subscribe2--> in the source of your page. I haven't the foggiest idea why it's not being parsed correctly. Do you have access to your server logs? If so, does the error log contain anything that might shed some light on this?

  146. skippy 2006-01-26 21:26:40

    Andreas: okay, I placed the subscribe2 form inside a post, as you did, and my test account received 8 copies of the confirmation email. The reason is that the function that sends the confirmation email is getting called multiple times inside the Loop when you place the form in a post.

    For now, please use a WordPress Page. I have corrected this problem in the forthcoming 2.2.1 release. Thanks!

  147. David Abutbul 2006-01-27 03:40:57

    Skippy, I know you are a busy man, and I do appriciate you for all your deleopment you invest in your plugins but I encouterd a serious faliure with you subscribe2 plugin which I thought you might be able to help me with.

    for starters, everything work, it adds and removes email subscribers with no errors. (at least no-not handled errors) but when I post a new story/page, None of my e-mail subscribers get a notification mail. I've re-added and re-downloaded the plugin numarous times. Would you know what is going wrong?

    thanks in advance, David.

  148. skippy 2006-01-27 09:14:11

    David: I'll need more information than that, if I'm going to provide any help. First, have you read all the comments on this post, to see if any of the solutions I've listed address your problem? Most notably: are you first saving your posts as drafts?

    If not, I'll need to know your hosting provider, what server operating system you're using, what version of PHP is in use, and whether your hosting provide enforces any restrictions on email (you may need to ask them).

  149. Matt 2006-01-27 12:59:28

    Skippy / David,

    I think this could be the "Save as Draft" issue again that is fixed in the next revision.

    I bet David is saving the post several times before hitting Pulish. This is a known issue and has been fixed ready for the next release.

    Tempory fix is to check spelling, content and everything else in a word processor, paste this into WP and hit Publish.

  150. jason 2006-01-27 22:51:34

    sorry for this question but how do you install the new translations? i didn't see anything on the installation files about how to do this or in the translation file either. thank you for any help

  151. David Abutbul 2006-01-28 08:53:58

    Skippy / Matt
    Oic, I definitly save as draft several times before I publish any post since I've need to see how it looks before i send it off to public.

    I tried to post a test post without saving as draft and it really worked,
    will be waiting for the next version.

    thanks alot!

  152. Howard 2006-01-28 13:51:50

    Skippy,
    I hate to post "off topic" but couldn't find another comment string that fits.
    I'm having the following error for cat2mail with wordpress 2.0
    Invalid argument supplied for foreach() in /home/.../plugins/cat2email.php on line 98
    Any ideas on how to fix it?

  153. Irfan R. Toor 2006-01-28 17:34:49

    line 371 is:
    $this->mail(array_merge($this->get_public(), $this->get_registered("cats=$post_cats&format=text&amount=excerpt")), $subject, $body);

    where as it should be:
    $this->mail($public, $this->get_registered("cats=$post_cats&format=text&amount=excerpt")), $subject, $body);

    because otherwise the test made at line 314 is useless.

  154. Irfan R. Toor 2006-01-28 17:40:38

    sorry for the typo in the last comment. the proposed line should be read as:

    $this->mail(array_merge($public , $this->get_registered("cats=$post_cats&format=text&amount=excerpt")), $subject, $body);

  155. neosense.com » SubMan v1.0 2006-01-28 19:51:57

    [...] This version has been written to work with WordPress 2.0. This is actually a wrapper arround Subscribe2. The following bugs have been removed with this wrapping plugin. [...]

  156. Henri 2006-01-28 21:48:52

    Can I make a quick suggestion that would really be nice to see?

    It would be *great* to have the ability to specify a "from" email/name for the subscription confirmation emails.

    This is because we have many authors on our blog, and I can't seem to figure out how to get it so that a "non-specific" email/name is used for the subscription confirmation emails. We don't want these emails to be from a specific user.

    Thanks!

  157. skippy 2006-01-28 22:13:25

    Howard: I need to release an updated version of cat2email. Stay tuned for a new post about that.

    Irfan: thanks!

    Henri: at this time, I'm not going to add that feature. Do feel free to add it on your own site, though.

  158. jason 2006-01-28 22:52:09

    I figured out the translation thing, all I had to do was put the .po file in the plugins folder... For those of you that do not know how this work.. It was simple but if the installation file does not say so it is hard to figured it out for someone new doing this.

  159. Jim 2006-01-29 13:47:34

    Made chages as per Irfan's post and that cleared the error (array merge argument #2 not array - same error that kes had above) for that line, but now get same error for line 791
    (I tried changing 789 to $public as irfan had done but still got error)

    This error occurs with one confirmed user and 1 registered user (webmaster) on Manage Subscribers page when I select All Subscribers (2) and click FILTER.

    Thanks for your help

  160. Pizzaman 2006-01-30 15:53:32

    Skippy,

    Great plugin. It worked perfect with WP 1.5.x and after I upgraded to WP 2.0 but for some strange reason, all of a sudden, I'm having the same problem that's mentioned above. The emails aren't going out.

    Has the bug that's been identified been fixed?

    Thanks for your help.

  161. smdani 2006-01-30 16:54:08

    A suggestion,
    it would be nice user could select frequency of mails:
    - one per post
    - week
    - each 7 posts

  162. skippy 2006-01-30 18:44:28

    Pizzaman: I need more than "it stopped working". Does anything work? Do some people get notifications? Are you first saving to draft?

    smdani: 2.2.1 will offer daily digests, but not weekly. I don't currently have plans to support "X number of posts" digests.

  163. Pizzaman 2006-01-30 22:42:07

    It seems it's just when I publish from a draft.

    I see from previous comments here that this is a known bug. Have you fixed it?

    Suggestion. If I remember correctly, the earlier version that worked with WP 1.5 used the "radio button" form for users to unsubscribe themselves. The current version sends users into the admin but there is no unsubscribe option that I can see. Make it so users can unsubscribe the "old" way.

  164. skippy 2006-01-30 23:19:29

    Pizzaman: yes, the bug preventing notifications for posts previously saved as drafts has been fixed. The fix has not yet been released.

    As for unsubscribing: registered users of the blog need only uncheck every category. If they are not subscribed to any categories, then they won't get any notifications.

  165. Pizzaman 2006-01-31 07:48:52

    Thank you! Looking forward to the fix.

  166. torgeir 2006-01-31 16:36:54

    i've run into what might be a bug, or might be by design.

    i've set up a test blog with 3 categories :

    cat1
    cat2
    cat3

    cat1 & cat2 are exluded from subscribe2 and posts made to cat3 are sent out just fine.

    post made to both cat1 (or cat2) and cat3 are not sent out - in my thinking they should be sent out because cat3 is not exluded.

    :torgeir

  167. skippy 2006-01-31 19:47:43

    torgeir: what you describe is by design. Assigning a post to any exluded category suppresses notification, even if the post is also assigned to other categories.

  168. torgeir 2006-02-01 01:34:23

    ok, thanks for your quick reply.

    i hope you'll consider making that an option for the worpress admin in a future release.

    my use case is that i have several categroies and a dedicated mailing list category that is only used for the mailing list. being able to send out a post made to both this and an excluded category will make it possible to occasionally send out a post from a regular to the mailing list without also "double-posting" it to the dedicated mailing list category.

    thanks for a great script!

  169. skippy 2006-02-01 07:52:32

    torgeir: I don't plan on adding a feature for this. So few people would use it that it would be clutter. You can post the item to the non-excluded categories in order to generate the mail, then edit the post and assign it to the excluded category. Or, you can edit the subscribe2.php source as you see fit to satisfy your needs. It should be commented enough to figure out what to remove.

  170. David Currin 2006-02-01 15:20:01

    Hi,

    Great plugin, exactly what I was looking for for my blog. Thanks. Having trouble receiveing emails though. I've resorted to adding a post here after trying to get it working on my own for the last day or so.

    I'm hosting on a windows server so have wpPHP Mailer installed. This is working fine, notifies me when I have new comments etc.

    When I first installed Subscribe2 I recieved an email after making a subsequent post so assumed that it was working correctly. However, since then I've added a few more subscribers (public confirmed) and added a couple more posts and received nothing. I've played around with all of the options in the control panel but can't see why it shouldn't be mailing. I even tried e-mailing myself using the mail subscribers option and still receive nothing.

    Does this sound strange or am I missing something really simple?

  171. skippy 2006-02-01 15:23:26

    David: do you have access to the mail server logs? If so, is there anything noteworthy there?

  172. David Currin 2006-02-01 15:35:40

    Wow, thanks for the fast reply,

    I'm afraid I don't have access to the mail logs so I'm a bit in the dark there

  173. skippy 2006-02-01 15:52:44

    David: without access to the mail logs, it's harder to diagnose the problem. You might ask your upstream mail provider for help looking into the problem. You might also ask them about any restrictions they impose on outgoing mail -- it seems many providers enforce limits without always explaining them to their clients.

  174. David Currin 2006-02-01 15:53:31

    ...however I do have control over my servers spam settings. It is set up to only edit the subject line of the message - high, medium or low. It is my email program that then handles the spam so I'm fairly sure that the problem isn't to do with the server mistaking the subscribe2 mail for spam.

  175. David Currin 2006-02-01 15:54:47

    sorry I didn't see that post.

    ok, i'll get in touch with my host

    thanks

    d.

  176. David Currin 2006-02-01 16:32:38

    Hi there,

    My host tells me that there's no limit on the number of mails that I can send out from my webspace. They also say that they can get the logs if I need them but that it will take time.

    I've noticed that when I choose 'mail subscribers' the options that I have in the drop-down menu are:

    registered users (1) - me
    confirmed users (12)
    category1 (1)
    category2 (1)

    Does this imply that only registered users can recieve mail when I add a post. Could this be the problem? I have both categories selected under 'users subscribed categories' and I don't have any excluded categories so I thought that confirmed users would recieve notification for posts for both categories.

  177. skippy 2006-02-01 16:52:26

    The general public cannot subscribe on a per-category basis. I'm fairly sure this is explained in the documentation. The single registered subscriber is subscribed to both categories.

    New posts will be delivered to all confirmed public subscribers, provided the post is not assigned to an excluded category.

    Using "Write->Mail Subscribers", can you send a message just to the registered user (you)?

    Your hosts says there's no limit to the number of emails you send -- but do they perhaps enforce a limit on the number of recipients per message? Some hosts (Dreamhost) do this, so it's worth checking. The value of the mail logs is that we can determine authoritatively whether your server is actually handing messages off to the mail server. If it is, then you deal with the host to resolve the issue. If mail isn't even making it that far, than some other thing is at fault, and I'll work with you as best I can to resolve it.

  178. artgeek 2006-02-01 19:24:28

    If anyone is able to implement a tweak or hack to fulfill torgeir's request, I would also be interested. Ideally, I'd like to have a category titled "list" and have only those posts go out to subscribers. The gent I'm designing the page for is a little concerned that having each single post go out via e-mail might be a bit much.

    Cheers :)

  179. Pyttsen 2006-02-03 02:46:35

    Hi,

    I'm having problems getting it to work. No emails are sent out when I'm posting.

    I have tried it on two different blogs (on the same machine), with different combinations of registered and confirmed subscribers, everything resulting in the same error in the log:[02-Feb-2006 23:51:40] PHP Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /storage/sys/tom/blog/wp-content/plugins/subscribe2/subscribe2.php on line 371

    The "Write->Mail Subscribers" function works fine though.

    Any suggestions?

  180. Anonymous 2006-02-03 06:30:23

    When somebody subscribes he gets 2 confirmation messages at once! Suggestions?

  181. skippy 2006-02-03 13:55:14

    Anonymous: are you using the subscribe2 token on a regular post, or the sidebar, as opposed to a static page?

    Pyttsen: that error is complaining that you don't have any registered users electing to receive plaintext excerpt notifications. That should be resolved in the next release (which I really need to publish now...)

  182. AnotherWin95 2006-02-03 20:42:38

    Terrific plug in - thank you very much!

  183. Mads 2006-02-03 21:31:39

    Thanks for the plugin....very nice work!

    A question: a cannot see any .po files....is translation dropped and I have to do it in the .php files ?

    A problem: as other people already have mentioned, when u sign up u get 5 or more confirmation mails

    ex:
    http://www.skippy.net/blog/2005/12/29/subscribe2-22/#comment-7065

    and

    http://www.skippy.net/blog/2005/12/29/subscribe2-22/#comment-6913

    I had to go back to an earlier version because of all the confirmations mails it send out.....spam filters eat them, sadly :-/

  184. Jason 2006-02-04 05:43:00

    Skippy,

    I scanned the posts so I apologize if I missed this ...

    I am on 2.0.1 and if I use the "publish" first, the site sends the email to my subscriber list without problem. If I use the "save and continue editing" button and then the "publish" button, the email is never sent to the list.

    Is this suppose to work this way? Please advise.

    Jason

  185. subscription @ fanatyk.org 2006-02-04 06:01:10

    [...]     Właśnie dodałem kolejną wtyczkę: subscribe 2.2.2. Ta jednak widoczna jest dla Was ;) [...]

  186. skippy 2006-02-04 08:31:39

    Mads: have you placed the subscription form in a post, as opposed to a static page? Localization files are available here, but not all translations have been updated for 2.2 yet.

    Jason: if you read the comments on this post, you'll discovered that this is an identified bug, and will be fixed in the next version of subscribe2.

    I hope to release the next version today or tomorrow.

  187. skippy 2006-02-04 13:00:26

    Version 2.2.1 has been released. Go get it. Comments are now closed here.

  188. Smarking 2006-04-27 22:36:16

    skippy dot net » subscribe2 2.2...

    Someone at Smarking has bookmarked your post....

Leave a comment