WordPress.org

Support

Support » Plugins and Hacks » New subscription plugin

New subscription plugin

  • I have just completed my first plugin for WordPress.
    It is called ‘Subscriber’ and it allows for people to subscribe to your weblog. It uses a flat-file to store the email addresses and allows people to subscribe/unsubscribe themselves as well as letting you send them an email independant of WP.
    It is currently version 1.0 and has been tested only on WP1.2
    More information and the download can be found at this link.
    I realise there are similar other mailing-list/subscriber type plugins out there, but neither did exactly what I wanted so I designed my own. Hope it is of use to somebody 🙂

Viewing 15 replies - 16 through 30 (of 54 total)
  • Hi,
    I get this error, but the mail is sent.
    ==========
    Warning: mail(): SMTP server response: 503 No recipient(s). in c:\archivos de programa\instantservers\miniportal\apache\htdocs\mailer.php on line 194
    The following email has been sent!
    From: “El Cantabro Perplejo” Content-Type: text/html; charset=iso-8859-1
    Subject: prueba 2
    Message: mensaje
    =============
    Thanks

    The plugin is cool so far… but it seems to send out an email everytime something is edited… Which can be evil if you publish something and realize you just made a mistake and do a quick edit…
    Is it possible to only have emailings when new posts are published?

    It doesn’t send an email when I update…

    khackett, this normally means the plugin can’t find the file that holds the email addresses. Does the email work when you use the subscription manager?
    Check the path to the list file is correct. If you are still having issues, then let me know. However I will be away for the weekend…

    Ok, I just installed this plugin & when I activate the plugin I get this error when I view my index file.
    Parse error: parse error, unexpected T_VARIABLE in /home/crazyra/public_html/wp-content/plugins/subscriber.php on line 61
    Line 61 in subscriber.php looks like:
    $mailer_path = get_settings(‘siteurl’); // gets the path to your blog directory
    Any help would be appreciated 🙂

    $mailer_path = get_settings('siteurl'); pulls directly from your blogsettings in the WP admin area.
    I don’t think line 61 is where the error is, the error is mostly likely your settings in lines 56 and/or 57 – check those. 🙂 (esp the quotes around each end)

    This looks very cool seriocomic. Thanks.

    Thanks! I had dropped a semi-colon. I think I had been looking at my computer WAY too much. I just didn’t see it. Works great! 🙂

    hmm, I just installed this plugin, and it seems to work fine. The only problem is that when after I subscribe by adding my e-mail address, it’ll load up this page that’s pretty screwed up. How can I fix the page that’s loaded after a successful subscribe or unsubscribe?

    nm, I figured it out and cleaned it up some. How can I make it so that I don’t e-mail myself everytime I post a new update?

    simply comment out line 78 in subscriber.php where it says:
    $recipients[] = $myemailadd;

    and if i remove my address with those slashes do i still get an e-mail letting me know when someone joined?

    Yes, because the mailer.php file will tell you.

    Renaming list.dat to list.dat.php isn’t sufficient to keep the info from prying eyes. I guess you need to CHMOD it, but to which value?

    Since this is the first time this sort of error has occurred, I think it would be a change you have made to one of the error or subscription messages (lines 107 to 123).
    Double check the changes you have made to mailer.php from the original (you may have to re-download).
    If you still have no luck then email me your mailer.php file (perferrably as an attachment) to seriocomic-at-gmail-dot-com and I will try and locate the problem – no promises though.
    Good luck.

Viewing 15 replies - 16 through 30 (of 54 total)
  • The topic ‘New subscription plugin’ is closed to new replies.
Skip to toolbar