subscribe2 2.2.1 is now available!
This version fixes several problems from the last release:
- Notification emails are generated even if you first save the post as a draft.
- The Submit button on the Mail Subscribers screen is fixed for Internet Explorer users.
- Multiple confirmation emails should no longer be sent.
- You can now specify the page to use for subscription confirmations. Edit
subscribe2.phpand define the page ID on line 42.
-
In addition, subscribe2 2.2.1 should now send notification emails for future-dated posts! This requires the use of my WP-Cron plugin. If you have WP-Cron activated, subscribe2 2.2.1 will detect it, and automatically send notification emails to your subscribers roughly an hour after the post(s) become visible.
Better still, subscribe2 2.2.1 offers support for daily digests of all new posts from the previous day. Again, this feature requires WP-Cron. To enable this feature, simply edit line 46 in
subscribe2.php and change the FALSE to TRUE. At the start of each new day, your subscribers will receive a summary of new posts from the previous day, in the following format:
Post Title Post Link Post Summary <blank line>The POST token in the notification template will be replaced with the list of new posts. Important note: WordPress 2.0 has a minor problem with the default caching mechanism. In order for future-dated posts and daily digests to work properly, you must use WordPress 2.01 or later. Any support requests for these features from users of WordPress 2.0 will be completely ignored.
Hi Skippy,
You missed to increase the version number.
Skippy,
I just would like to let you know that the problems I had with previous version seems to be solved know.
Great work!
Pyttsen: I'm glad the problems are fixed. I'll update the version number in the zip. Thanks for pointing that out to me.
Skippy you're awesome!
This release solved my problem! The notifications are now being sent to my testsubscribers. I'll finish the translation to Norwegian that I started on last year and e-mail it to you.
Thank you for making such a great plugin.
kes
Hi,
I've re-installed / upgraded this new version. How can I get subscribe2 to re-install the tables in my database? Looks like s2 does this only when you install the plugin the very first time. I always receive errors that wp_subscribe2 table is not there:
WordPress database error: [Table 'usr_xxxxx_1.wp_subscribe2' doesn't exist]
SELECT COUNT(id) FROM wp_subscribe2 WHERE active='1'
Thanks for your help!
J
Sorry - me again. I really would love to use this great plug-in, but I don't know how to make s2 to create the table in my DB again. I used the Admin-page of s2, but no success... Anyone has a sql file for me or so? Thanks! J.
J: if you have phpMyAdmin, you can just create the table yourself, using the
CREATE TABLEcommand starting at line 141 in subscribe2.php. Another option (easier) option is to delete the s2_version line from your wp_options table:DELETE FROM wp_options WHERE option_name = 's2_version'subscribe2 will see that a prior version number isn't recorded, and kick off the installation process.
Skippy,
This new version is terrific! It fixes everything! You are the bomb!
how to show this on sidebar as form? - can u plz specify exact code.
and also after a user uses its key..
Subcription confirmed appears 3 times on page!
similar is unsubscription.
and then in email also i get 3 same mails user has subscribed.
Strange!!!
I am using wordpress 2.0
THANKS SKIPPY! That was the key to get S2 installing the DB table again! Great! I'm happy to use your script now. Have a very nice Sunday! J.
Awesome plugin, thanks for the update.
It is possible to always set the preference to Text Only / Excerpt Only?
I don't want to give option to visitors.
sunny: If you are using subscribe2 2.2.1, I'm suprised that your users are getting multiple confirmation emails. Do you have a link to your site, so that I can see it?
Frankie: the default for non-registered users is for plaintext excerpts.
Hello, your plugin is great and work with my wp2.0.1, but in de Options tab apears:
Categories to Exclude
Warning: Invalid argument supplied for foreach() in /home/lughdailh.com/public_html/wp2/wp-content/plugins/subscribe2.php on line 407
and can not submit the options.
Can you help me?
thank you... and sorry for my poor english
lughdailh: there is no foreach on line 407 in subscribe2 2.2.1. I suspect you're using an older version. Please upgrade.
the problem is it appear 3 times on the same page.
see have look try subcribe, when follw the key its generates, it shows it three times.
http://www.sunny-bajaj.com/subscribe-techno-freak/
Hi,
this morning I got a new subscriber. And I received the admin-notification-email three times... maybe same problem like sunny?
Have a nice day! J.
Yes, I can confirm, when you click on the link in the email-confirmation to confirm your subscription, than the Subscription Confirmation
You have successfully subscribed! appeard three times on the webpage... and I receive three emails...
HTH, Regards, J.
thanks god j. .. i thought only i was the one to have this strange problem..
I got a partner now.. :P
also my main query.. whats the code to make it appear in the sidebar as form?
J and sunny: I see where the problem lies. In J.'s case, he's using a post, rather than a static page. The code that generates the emails is called on a filter for the_content, so it's being triggered for every post in the Loop. sunny's form appears to be in a page, not a post, so I'm not sure why this problem is happening there.
I've updated the zip file, linked above. Download it again and please give it a try.
Thanks for this release! But there is still a problem with the version number. I have downloaded the zip (02:40pm GMT), and the version number is still "2.2.0". The timestamp of the included subscribe2.php is 2006-02-06 08:24am.
nopes it doesn't work.. only change,, is the next pages made in my site also appear 3 times.. with the title changed to Subscribe...
and yes the email doesn't come 3 times..
But still remaining pages appear. Try my link urself.. see subscribe and then un-subscribe..
Also how to place subscribe form on thr side.. will that fix the problem?
Plzzz... fix this man!
Excellent! Great update!!!
sunny: I'm not going to tell you how to place the link on your sidebar. There exist examples of that in the comments on the 2.2 release announcement. As I said there, I do not support that, so you're on your own.
Do you have any pages on your site? My guess is that you don't, so when the confirmation request comes in, subscribe2 tries to use a static page, fails, and then WordPress falls back to using your Loop. Simply create a static page for subscribe2, stick the token on that page, and your problems should go away.
I'm working on a fix in the code for situations like yours, even though step seven in the documentation provided in the zip file specifically states that you should create a page.
i have created that code in a page only..
see my homepage.. there are pages for contact , signature generator and then i did create a page for subcribe-techno-freak!
The link i gave is a page and not a post!
.. do help me plz..!
sunny: your permalinks don't make it clear what's a page, and what's a post. I tried manually loading "?page_id=1" to see if you have pages, but received a WordPress error. subscribe2 uses the following query to fetch a page:
SELECT ID FROM $wpdb->posts WHERE post_status='static' LIMIT 1So that should return one page. The fact that it's failing suggests that something else may be in effect on your site.
If you do in fact have pages (and not posts), feel free to download the zip file again and see if my fix works. If it does not work, edit susbcribe2.php, and define the page ID of your subscribe page at line 42.
Skippy! Thanks for the hard work. As always there are bugs but your attention to answering our posts and writing great plugins is much appreciated! Thanks very much!
thanks skippy u help us a lot.. Its fixed now!
I reliased that the page order for all was "0" and therefore maybe they were appearing together.. so i changed the order..
This now fixed.!
Thanks a lot!
Thanks Skippy. Your new code solved the problem! I've also added a static page. I did only announce the new Subscribe feature using a "post". This is great, that you offer so much time supporting us newbies! Thanks a lot for your efforts! Really appreciate it! Have a nice one! J.
ok skippy on more thing.. there is small thing you left in the code.
$this->use_profile = __('You may manage your subscription options from your profile.', 'subscribe2') . "Click here to manage your subscription settings..";
That extra ..
Which makes it appear:
You may manage your subscription options from your profile.
Click here to manage your subscription settings..
Incase of any problems/suggestions or feedback use the contact form.
not big error.. but worth telling!
Regards!
Great plugin! Thanks a LOT!
Some questions:
Do you have a TO DO text for this plugin?
Or a features request page?
I would like to know what are the features that you want to do on next versions of this plugin.
It will be great if the user can select between just a digest for the previous day or a per post email
Also is it posible for the admin not to receive all those mails?
One more time: Thanks for the plugin, it is wonderfull!
btw skippy.. html emails are not being generated.. i tried selecting HTML -fullposts.. but email received are in text form only!
tavo: at this stage, I don't have any plans for a new version. subscribe2 does everything I need it to do, so I have little reason to add additional features.
I'm not planning on adding per-user digest options. I don't feel like coding the interface or logic necessary to permit users to individually select this.
As for receiving all those emails, the easiest solution right now is probably to set a filter in your mail client to automatically discard messages from whichever acocunt sends the notifications whenever there exists a message header of "
List-Id: <your blog name>". I may investigate additional options in the future; but for the time being, I want to take a break from s2 development.Skippy, if I had any money, I'd donate some to you for this tremendous effort! As I don't - I'll just extend the offer of a cheap (but really yummy) dinner if you ever find yourself in the Cleveland area. (Hopefully I'll have enough to do that if you do make it up here!)
Just wanted to say thanks. :)
I`m having problems with the emails notifications, When I post a new item there is no email notification to suscribers..
What could be wrong??.
I had finished with the translation to spanish for 2.2.1.
But I don't know where do I have to copy the .mo file for the plugin to take effect
some help?
how do I send it to you?
tavo: the .mo file belongs in the
/wp-content/plugins/susbcrib2/directory. Feel free to email the file(s) to me. You can get my address from my About page linked above on the left.Victor: simply telling me that it's not working is extremely unlikely to produce meaningful results from me. Are you sure the emails aren't being filtered as spam? Have you contacted your host? Can you determine whether mails are being generated at all (your host can check the mail server logs)? How many subscribers do you have? Have you tested with just one subscriber?
Great work! Is there any way to disable the ability for people to subscribe when they're not a registered user? I'd like the SUBSCRIBE page to direct people to log in or register without the option to subscribe without doing so.
Sorry, I guess a better question would be:
If someone registers their email address as a GENERAL PUBLIC subscriber, and then registers as a user of my blog with the same email address, will they get two emails every time I post?
Jason: you could simply not publish the subscription form.
If a public subscriber signs up for an account on your blog, that user will be moved from the list of public subscribers to the list of registered subscribers. They will be subscribed to all categories by default.
When a new user registers for an account who was not previously a subscriber, they will not be subscribed to any categories. subscribe2 is strictly opt-in.
Perhaps it's helpfull for anyone:
I created German .mo/.po files for the recent version 2.2.1 and sent them to skippy. You can find them here.
Regarding this comment: This won't work with WP 2.0.1. You have to put the .mo/.po files directly under /wp-content/plugins/
Then it works like a charm.
Hi, everybody
Skippy, my congratulations for this beautful plugin.
I want to mention on problems i have with plugin.
1. Somethimes, the comfirmation letter doesn't arrived to the subscriber's inbox. The issue are noticed after sign-ins in IE6.
2. Also, for IE6, after clicking on the confirmation link, I got big crash: few posts are listed bellow sentence "You have successfully subscribed!"
I have wp2 and subscriber 2.2.1
Please, help
Ok, it's fault
I didn't noticed that I must create second page for subscription puposes.
Does the plugin also work when a new post is submitted via /xmlrpc.php?
I tested it and it does not, but maybe there is a trick, or it can be implemented very easy. :-)
Greg: subscribe2 is supposed to execute whenever you post a new item, regardless of how that item is posted. There has historically been a lot of problems making XMLRPC posting work just like regular posting. I suspect those bugs are unresolved (or have re-introduced), so your problem is more to do with WordPress itself rather than subscribe2. But I'll look into the matter, to see if I can identify any quick solutions.
Hi... I think I found a bug. I've been testing (with WP latest version 2.0.1), and use Dreamhost, so when I set Dreamhost to true in the config, I find I get an error on the subscription confirmation page (Fatal error: Function name must be a string in /home/..../plugins/subscribe2/subscribe2.php on line 236).
When I set it back to false for Dreamhost and retest, the error disappears on the subscription confirmation page and all is well...
I've said it before: you rock, Skippy! What's that tipjar?
I just upgraded one of my blogs to WP 2.0.1, and was happy to see you have a new version of subscribe2, a.k.a. my favorite plugin.
However, I seem to have lost some of the settings. Messages are being sent in plain text, and I can't find the option to make them HTML. Has that function been removed?
In fact, now that I am looking harder at the admin pages, Manage > Subscribers says something about stuff on the left and right, but I only see one list of subscriber. On Options > Subscribe2, I only have one option: "send e-mail from."
I am using Firefox 1.0.7 on a Mac.
I think I've fixed it now, but:
When I sent our first post annoucement (to ~1000 people) the BCC header was visable to each recipient! I think it was becuase the bcc lines where separated by \r\n, rather than just a comma. The \r\n comes just between the headers, yes; it marks the end of the header?
Anyway, just thought I'd mention it.
Ruby: please read the new documentation, and the release announcement for version 2.2 of subscribe2. The functionality has changed quite a bit.
Sam: according to RFC 2822, long header lines can be broken up by CRLFs (\r\n). Your's is the first report I've had of visible BCC headers, so I'm inclined to believe that the problem lies with your mail server (or relay; or perhaps just some recipients).
Thanks for the explanation. I has totally missed that.
If you are sending three versions (plaintext excerpt, plaintext full content, HTML full content) then is there a way to make three different e-mail templates? The HTML-formatted version looks like ass in plain text and vice versa.
Actually, my previous question is moot as I don't allow users to register onmy personal blog. So I now have less options than before. :(
But this is going to ROCK when I upgrade http://OrangePolitics.org to WP 2. :) Thanks!
Hi there!
I just upgraded to WP 2.01 and re-installed this version of your plugin. But I'm having a problem.
The token doesn't seem to work. I created a page (called "Subscribe") and used the Subscribe2 button to add the token. When I navigate to the page it just displays "subscribe2->".
I tried manually specifying the page id but that makes no difference. I have Textile 2.6 installed. Could this be the problem? I tried escaping the token, which makes it display in full on the page, but no form.
Thanks for your time!
I am using 2.2.1 and the confirmation web page that comes up after click on link in email lists "all" static pages along with confirmation page. Is there something that I have done wrong?
Other than that this is a great script.
Hi Skippy,
I would like to send daily digests at 19 pm, nor at 00:00.
Is it possible?
How can I do it?
smdani: edit wp-cron.php and adjust the code that sets the last daily action to occur at midnight.
THANKS A LOT!!
I changed this line $daily = mktime(0, 0, 1, $this_month, $this_day, $this_year);
into this:
$daily = mktime(19, 0, 0, $this_month, $this_day, $this_year);
is this correct?
Hi Skippy,
First of all let me thank you for creating this. I'm not much of a coder and I tend to have one heck of a time dealing with these type of things. I'm a graphic designer by trade and so it is inevitable that I'll have to get my hands dirty with code from time to time.
Everything was fine with the plugin until I changed over to version 2.2.2.
Let me give you the scenario of a problem I'm having.
I have the latest version of WordPress 2.0. I made sure I did before I even started. Last night I was so eager to get an email notifcation system on this new site that I downloaded and installed Subscibe2 version 2.2.1. Everything ran great. I signed up a dummy account and made a few test posts. Everything checked out.
Obviously, the only issue I ran in to was the admin editing options. I came back here and found that I needed Subscribe2 2.2.2 to correct the problem.
I downloaded and installed, made the page and some other visual tweaks to the page itself with no problems. However, I have attempted to subscribe two more dummy accounts for the purpose of testing 2.2.2 to make sure everything still checks out. I recieved the confirmation emails on both but when I clicked the link to confirm the address' it sent me to my archives page and did not confirm either address.
Even in the subscriber options I can select "unconfirmed" and both address' come up. The thing is my first dummy account that I signed up under version 2.2.1 still recieves every post update and my admin account still recieves emails as well except for new subscriber emails because obviously there is a confirmation issue.
Whats the issue here? I did not make any changes to php code or anything except the messages that show up on the subscription page during the subscription process. Nothing more. Because, quite frankly, I don't know enough about php and databases to make any changes. ;)
I appreciate any help you can offer.
Brandon
Is it possible to allow users with the role "editor" to manage the subscriptions?
Simon: edit subscribe2.php, and change lines 96, 97, and 99 to use whatever capability you want, instead of "manage_options".
Brandon: you can try to forcibly define the page to use for confirmations. Edit susbcribe2.php, and on line 42, change the "0" to "24" (the page ID displayed on your subscribe page.
Will do Skip. I'll keep you posted. Thanks.
Ok Skip. give it a go. I reinstalled from scratch just to get a clean slate. I think i'm set now. Give it a go and see if you get the proper confirmation screen.
skippy,
since I change the hour of daily digest, it doesnt work.
is there any log of sent messages?
Thks in advance
Ok, everything seems to be in order except for one thing... I want the subscription box and button centered. I've placed a tag around my image and the tag, then close the after the tag.
What happens to the subscribe info? My image is there but the info is not. If I remove the and put it before the tag it is viewable. If the is creating the problem how would you suggest centering the information in the tag?
In the prior version I was able to add a and it all worked out ok.
Gah! I hate code. ;)
I tinkered a bit and found a method to center it. I'm so excited that it's working. ;) Thank you Skip for this great plug-in.
Brandon
Hi again Skippy,
I dont have registered users, and I dont want. is it possible to send HTML digests to all my suscribers?
Thks
smdani: subscribe2 does not support HTML digests. You'll need to edit the code on your own in order to achieve that functionality.
Ok, thank you Skippy.
I keep having problems on sending digests.
May you help me?
I have WP 2.01 and Wp-Cron 1.4 installed.
When I activate wp-cron-reminder the sixty reminder is sent one each 6 seconds. Fifty seems to work fine.
And daily digests doesnt work at all.
Any help would be great.
Sorry for the inconvenience,
smdani
Is my problem really so insoluble? If I just misread something in the Readme please drop me a hint! It's been a great plugin up until now!
Anthony
Anthony: try placing carriage returns before and after the <!--subscribe2--> token.
No, that didn't do it. Could there be some plugin fighting it?
Anthony: this is what I see when I view the source of your subscribe page:
<p><!-<del>subscribe2</del>-></p>Try disabling the graphical editor (Users -> Profiles), edit your subscribe page, and fix the token.
Hmm, it's already disabled. I tried escaping Textile, but then it displays hashed. If I wrap it in code tags it displays on the page exactly as you saw it in the source. So it's happening as it's saved, not as it's displayed. I tried with the graphical editor on, and the same thing happens.
Thanks for taking the time. And I should say that everything else seems to be working fine! Is there something I could do with a page template? I think I saw another comment here that that wouldn't work, though.
Can one configure S2 to send full html posts to public subscribers?
Skippy, I get this, Dreamhost is set to true...
Fatal error: Call to undefined function: () in /home/.mahela/jmw07140/wordsoftestimony.com/wp-content/plugins/subscribe2/subscribe2.php on line 236
here is line 236:
if ( (defined('DREAMHOST') && TRUE === DREAMHOST) &&
($count($recipients) > 30) ) { //
I tried putting the S2 token on a page, and it just shows up blank, nothing on the page at all... any idea why?
Now that I have my token in a page, I'd like to disable the quicktag. It's just cluttering my post page.
I have WP-ContactForm installed and it has an option to disable the quicktag. I was hoping this would be possible for this plugin in the future.
Skippy,
Subscribe2 is crashing for Dreamhost users when Dreamhost is set to true...
Fatal error: Call to undefined function: () in /home/.mahela/jmw07140/wordsoftestimony.com/wp-content/plugins/subscribe2/subscribe2.php on line 236
Can you help us?
JMW: I see the problem. Edit line 236, and remove the dollar sign before the
count. That's a major mistake on my part, and I'll work to get a new version out soon.subscribe2 2.2.2 is now available. Comments are closed.