WordPress Plugin: Update Notify

// May 24th, 2004 // Techie

I threw together a quick plugin for the new WordPress 1.2 that will email addresses when the site has a new or updated entry. I’ve put the newest version of this plugin here rather than pasting the whole thing in this post (and messing up formatting).

(I also recently found this site which has some hacks available for subscription lists)

Be sure to put this file in wp-content/plugins as update-notify.php

Latest version: 1.2

Changes since 1.1:

  • Only those posts that are ‘published’ will send mail (i.e., if you simply save the post when editing, it will not mail out to the list). Thanks to the edits listed in the new Subscriber plugin, which you may or may not like better than this one.

Changes since 1.0:

  • Only emails on new and published posts (i.e., no drafts or private posts)

Changes since 0.3:

    n now easily update the email list by instead creating a private post as the admin user (user ID#1) with a title of “updatenotify-list”. Each address must be on a seperate line.

  • Added a permalink to the post in the email body.

Check this link in the future for updates (if I make any).

56 Responses to “WordPress Plugin: Update Notify”

  1. jotrys says:

    Hello,

    Am looking for a WordPress plugin with this functionality but is “Update Notify” still supported? Since latest plugin update is from May 2004.

    Cheers

  2. Greg says:

    Sometimes the “get_permalink($post_ID)” will write the Post page (w/ comments) link, and sometimes it writes the Archive page link.

    I need it to always write the Post page link. Does anyone know what could be causing this?

    thanks

  3. JeniQ says:

    Hi Gudlyf,
    I think your plugin is just what I’m looking for. However, I can’t quite get it to work right.
    I have installed the update-notify.php file in wp-content/plugins and I created a private post with 2 email addresses called update-notify.

    When I attempt to publish a post, I get this error:
    Warning: Invalid argument supplied for foreach() in /opt/lampp/htdocs/wp-content/plugins/update-notify.php on line 45

    Warning: Cannot modify header information – headers already sent by (output started at /opt/lampp/htdocs/wp-content/plugins/update-notify.php:45) in /opt/lampp/htdocs/wp-includes/pluggable.php on line 331

    The only other plugins installed are two that came with WP – Akismet and Hello Dolly.

    I hope you don’t mind supporting this code still. Any help you could offer would be great. Thanks!

  4. will it work with the latest WP upgrade ?

  5. Paula says:

    The plugin works, I mean it sends eMail, but it doesn’t include a link to the new post or page at the blog.