Subscribe2 4.14

Version 4.14 of the Plugin is now available for download.

If you use this plugin consider making a donation to support future development!

Version 4.14 is for 2.6.x and 2.7.x users. (Although it should work with WordPress 2.5 too!) This version has been tested on WordPress 2.7.1.

Users of WordPress 2.0.x should download Version 2.22 of Subscribe2. Users of WordPress 2.1.x and 2.2.x should download Version 3.8.


This version contains the following improvements:

  • Reordered some functions to improve grouping
  • Stop s2mail custom variable being added if empty
  • Localised ‘Send Digest Notification at’ string
  • Add support for template tags in Post->Mail Subscribers emails
  • Improve handling of translation files for more recent version of WordPress
  • Implemented tags in the admin pages so text descriptors are click enabled
  • Improved subscription preferences for WordPress MU (Huge thanks to Benedikt Forchhammer)
  • Added TINYLINK tag to allow TinyURL insertion in place of PERMALINK
  • Improved layout of Tools->Subscriber page (Thanks to Anne-Marie Redpath)
  • Enhancements to Subscription form layout (Thanks to Anne-Marie Redpath and Drew Steinmark)
  • Sender details now uses current user information from Write->Mail Subscribers
  • Introduced ‘s2_template_filter’ to allow other plugins to amend the email template on-the-fly

There are currently no known issues affecting this version😀

To install correctly use the WordPress Auto Upgrade feature or:

  1. Deactivate your exisiting Subscribe2 Plugin
  2. Use FTP software to delete the old plugin and upload the new version
  3. Ensure that the complete subscribe2 folder is uploaded
  4. Activate the new version of the plugin

56 thoughts on “Subscribe2 4.14

  1. here is the error:
    Parse error: syntax error, unexpected ‘(‘, expecting ‘}’ in /hermes/web01/b896/blu.passaicweb/ptinews/wp-content/plugins/subscribe2/subscribe2.php on line 918

  2. Alex / Virvit,

    We haven’t seen this in testing but I’ve sent amended code direct (off list). Let me know if it helps. If not revert to 4.13.

  3. Hello!
    After applying your patch:
    Parse error: syntax error, unexpected ‘(‘, expecting ‘}’ in docs/wps/wp-content/plugins/subscribe2/subscribe2.php on line 4486

  4. I’m happy to report that the new plugin version works great for me… Moreover: I love the new cosmetic touches! Very nice. Thanks for this great plugin!

  5. I get this error on the top of every page on my blog after upgrading to this version:

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of ksort(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/—-/fortelle/blogg.forteller.net/wp-content/plugins/subscribe2/subscribe2.php on line 2162

    And one more error just like it, but on line 2180.

    Help?

  6. Same as above!

    Still, the ‘funny’ thing is that on another website (and hosting) I’m not getting that error.

    On the one that I get the error I tried doing both upgradeing’ alternatives: automatically and via ftp.

  7. i get same borge error!
    Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of ksort(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in …..

  8. This text is apearing at the top of my site:

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of ksort(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/content/g/i/d/gidivigo/html/wp-content/plugins/subscribe2/subscribe2.php on line 2162

    but the plugin works. what should I do to fix it?

  9. I am getting the fatal error for the apply_filter().
    I tried deactivating/reactivating and manually reinstalling but ended up having to downgrade.

  10. Getting the same error

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of ksort(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/content/b/y/r/byronrogers/html/wp-content/plugins/subscribe2/subscribe2.php on line 2162

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of ksort(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/content/b/y/r/byronrogers/html/wp-content/plugins/subscribe2/subscribe2.php on line 2180

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/b/y/r/byronrogers/html/wp-content/plugins/subscribe2/subscribe2.php:2162) in /home/content/b/y/r/byronrogers/html/wp-includes/functions.php on line 698

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/b/y/r/byronrogers/html/wp-content/plugins/subscribe2/subscribe2.php:2162) in /home/content/b/y/r/byronrogers/html/wp-includes/functions.php on line 699

  11. Exact error

    Plugin failed to reactivate due to a fatal error.

    Parse error: syntax error, unexpected ‘(‘, expecting ‘}’ in /hermes/bosweb/web046/b465/sl.reproach/public_html/blog/wp-content/plugins/subscribe2/subscribe2.php on line 918

    Server Info:
    Debian
    MySQL Version 5.0.45
    PHP 4.4.7
    PHP Path: /usr/local/bin/php

  12. I’m also getting the unexpected ‘(‘ error, through the automatic update. Now, my plugin has been deactivated😦 I would LOVE to “roll back to my previous version”. How do I do this, without having to redo all of my settings AND re-add all of my subscribers? By the way, where is the subscriber list located in my blog files?

  13. I’m getting the same error as everyone else

    Parse error: syntax error, unexpected ‘(‘, expecting ‘}’ /plugins/subscribe2/subscribe2.php on line 918

    This is a great plugin. I’m looking forward to it getting resolved. Thank you for your work.

  14. No need to say that it produced an error…. ;-P

    I do like to know a bit more about using this excellent plugin in different languages (Dutch in my case). I have now handcoded the english text to Dutch inside the subscribe2.php file – but when upgrading… it all goes back to default, so it is not really a permanent solution.
    What am I missing or doing wrong?

    • Rmxnl,

      There are gettext translation files available for you to use or a POT file in the distribution archive to make your own. These won’t be as affected by upgrades. Read here for more.

  15. Line #498 in subscribe2.php file:

    $mailtext = apply_filter('s2_email_template', $this->subscribe2_options['mailtext']);

    There should be “apply_filters” instead of “apply_filter”.

  16. @Szymon

    That worked perfectly for me. Everything is working good now and no more apply_filters() errors.

    Thanks!

  17. Going to try the upgrade. I have a problem w/previous version: emails suddenly stopped for public subscribers. I have taken care of the BCC. The odd part is the info on time and send. If I set the time for subscribers to receive daily digest at 5:00 am, nothing is received. When I go to the interface, I see something like this:

    Current UTC time is: March 20, 2009 @ 11:00 am
    Current blog time is: March 20, 2009 @ 7:00 am
    Next email notification will be sent when your blog time is after: March 20, 2009 @ 5:00 am

    In other words, the next notification will be sent on current day, at 5:00 am, but 5:00 is already gone by…

    Any ideas? Maybe upgrade will help?

  18. the “Call-time pass-by-reference has been deprecated …” warning problem should be fixed by removing the reference sign (‘&’) and using

    line 2162: ksort($blogs_subscribed);

    line 2180: ksort($blogs_unsubscribed);

    instead. that worked for me.

  19. Pingback: Technische Probleme (Update) | Welt Hertha Linke - Hertha BSC Berlin Blog

  20. I applied the changes advised by

    Szymon Skulimowski:
    “Line #498 in subscribe2.php file:
    $mailtext = apply_filter(‘s2_email_template’, $this->subscribe2_options[‘mailtext’]);
    There should be “apply_filters” instead of “apply_filter”.”

    and by

    teflonmann:
    “the “Call-time pass-by-reference has been deprecated …” warning problem should be fixed by removing the reference sign (’&’) and using
    line 2162: ksort($blogs_subscribed);
    line 2180: ksort($blogs_unsubscribed);
    instead. that worked for me.”

    Everything seems to be working fine now.
    Thanks to the author for this great plugin!
    And thanks to all the users’ helpful feedback!

  21. 4.14 / 2.7.1 WordPress /

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of ksort(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /mnt/local/home/DOMAINNAME.COM/wp-content/plugins/subscribe2/subscribe2.php on line 2162

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of ksort(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /mnt/local/home/DOMAINNAME.COM/wp-content/plugins/subscribe2/subscribe2.php on line 2180

  22. Do what Dan Says:

    I applied the changes advised by

    Szymon Skulimowski:
    “Line #498 in subscribe2.php file:
    $mailtext = apply_filter(’s2_email_template’, $this->subscribe2_options[‘mailtext’]);
    There should be “apply_filters” instead of “apply_filter”.”

    and by

    teflonmann:
    “the “Call-time pass-by-reference has been deprecated …” warning problem should be fixed by removing the reference sign (’&’) and using
    line 2162: ksort($blogs_subscribed);
    line 2180: ksort($blogs_unsubscribed);
    instead. that worked for me.”

    Everything seems to be working fine now.
    Thanks to the author for this great plugin!
    And thanks to all the users’ helpful feedback!

    It worked for me too.

  23. Line #498 in subscribe2.php file:

    $mailtext = apply_filter(‘s2_email_template’, $this->subscribe2_options[‘mailtext’]);

    There should be “apply_filters” instead of “apply_filter”.

    This fixed my problem.

    Great plugin.

    Thanks.

  24. Same error here:
    Parse error: syntax error, unexpected ‘(‘, expecting ‘}’ in public_html/wp-content/plugins/subscribe2/subscribe2.php on line 918

  25. http://soulwashed.de

    Hi there,
    i have some graphical Issues with the Subscribe2 widget. The div container seems to have the wrong height. The background of the box or rather widget has only half the size it should have.
    If you use the widget in middle of other widgets the (un)subscribe buttons overlay the underneath widgets.
    I tried to fix this in the style.css but the div containers / classes (subscribe2/ s2class_widget_subscribe2widget) seems to be generated during runtime, and I couldn’t find a place to fix it.

    Hopefully you’ll have the time to take a short look.

    Thanks in advance

    bjoern

  26. Ehsan,

    Not cool man. No need to bring negativity to the table. The fact is that he doesn’t have to release anything. He’s providing a service, not to mention, a free service.

    Now, I am fully aware that sometimes people write things that are taken in a way which was not intended. If that be the case, then I apologize (which may very well be the case). However, we should all be grateful that he is willing to share his talents with us. As for myself, I know I don’t have to the ability to do what he does.

  27. I’m so happy that my IE cosmetic problems have been fixed. Upgrade installed with no problem.

    However no confirmation emails are being sent out. Am I missing a step somewhere? Thanks so much for such a great plugin.

  28. Diane,

    You aren’t missing anything. Check with your hosting provider and ask about email restrictions or limitations. It seems like they may be blocking your emails on the server.

  29. Hey Ehsan:

    Really. I agree with Kyle’s response above (and thank you Kyle). Chill out.

    I totally understand how exasperating it can be when there is either something you need and/or are counting on to work and it just doesn’t happen. And, if you don’t have the skill yourself to fix the problem, don’t have the funds to pay someone to do it….Well that’s a problem. And I totally understand your frustration. Makes sense.

    However, you gotta remember one thing: this is a FREE plugin (unless you of course, have been generous and made a donation to Matt–even a small donation–to express your support and appreciation for all the hard work he has done on the plugin). I find so many WP plugins are not supported–or if they are supported, not at the consistent quality that Matt does. And, it’s all free. He develops this plugin for his site only. He shares it with the WP community because he’s a generous person. He doesn’t owe any of us anything and he makes that perfectly clear that there are no promises, warranties, commitments, guarantees, or anything of any kind. If you read the information that comes with the plugin, you’ll see that. Matt provides the level of support that is usually found on software you pay for–and even then, sometimes the support falls short of what Matt is providing. It’s not fair to flame him.

    If you want something different–and that’s free as well–try using FeedBurner. Depending on your needs, it works just as great–and it also provides other services that Subscribe2 doesn’t.

    But, you won’t find the kind of support Matt provides.

  30. I’m sorry because my English is not good but I need some help.
    First, thanks for your plugin. I have installed it and it works perfectly.
    But i want modify one thing. Is it possible to bot autorize an author to send mail with the account and only autorize th administrator.
    Thanks for your help.

  31. Hello Romain!

    Are you asking to have emails only come from the Admin?
    If so, go to Admin > Settings > Subscribe2. Under the Notification Settings, you can select “Send Email From: Author of the post” or “Blog Admin.” If you select “Blog Admin” emails will only come from the Admin….Try it out if you have a test site and let me know if that works for you.

    Have a great day! 🙂

  32. Still having same issue with daily digest:

    Current UTC time is: March 21, 2009 @ 1:23 pm
    Current blog time is: March 21, 2009 @ 9:23 am
    Next email notification will be sent when your blog time is after: March 21, 2009 @ 12:00 am

    In other words, “will be sent” indicates time in the past…

    Anybody else seen this or have any ideas?

  33. Thanks Andy but I also tried that.

    In fact my problem is that I’m buiding a website where multiple authors can post but I don’t want that they could send an email directly from my website.

    If I choose to make them “contributor”, I will have to approve their post. But if I make them Authors, they have access to an option in their administration in the part “Article” where they can send a mail to all the subscribers.
    I would like that they can post without my authorisation, like an author, but without having access to the Subscriber adress mail. I don’t know if you understand my problem.
    Thanks and great day for you.

    • Romain,

      To achieve what you are after you need to edit the code. Look for the admin_menu() function and you’ll find this line:
      add_submenu_page('post-new.php', __('Mail Subscribers', 'subscribe2'), __('Mail Subscribers', 'subscribe2'), "publish_posts", __FILE__, array(&$this, 'write_menu'));

      Change it to:
      add_submenu_page('post-new.php', __('Mail Subscribers', 'subscribe2'), __('Mail Subscribers', 'subscribe2'), "manage_options", __FILE__, array(&$this, 'write_menu'));

  34. Bjoern,

    Sorry for the delay, your comment was tagged as spam.

    To fix your layout look in the subscribe2.php file for the following line:
    echo "<div class=\"search\">";
    And replace it with a straight forward div tag.

  35. Hi

    Is there any instructions on how to get this installed for the wordpress mu version? We want all the bloggers to receive a digest of every post from every blog 1 per day. Is this possible with subscribe 2?

    Cheers n

    • Nick,

      I don’t actually use WordPressMU myself but try my best to ensure it will work as well as possible. Unless someone who uses MU can provide you with directions I’d suggest you set up a test WPMU install and play about with the settings on the test site until you have it working as you’d like, then duplicate this onto your live site.

Comments are closed.