Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

[Plugin Release] EMailSubscription

cdavidcdavid New
edited October 2010 in Vanilla 2.0 - 2.8
Dear all,

I have created a new plugin. Here is the description:

This is a new plugin, EMailSubscription and it comes as a better built follow-up to my EMailDiscussion addon.

It allows users to subscribe to certain categories of the forum (receive e-mail notification when a new discussion is posted) and it auto-bookmarks newly created discussions so that users will receive an e-mail notification each time a new comment is added to a discussion. Users can change their subscription settings by visiting their profile page and then choosing EMail subscription in the side panel.

Also, there is a Dashboard->EMailSubscription button that allows admin users to subscribe all users to all content (*newly created*).

I consider this plugin useful for some small communities, where the people don't visit the forums that often, but read their emails regularly, thus enabling them to be more interactive with the forums.

TODO for next release: set by default new users to be subscribed to all content.

/cd
Tagged:
«134

Comments

  • This is a fantastic plugin! Exactly what I have been waiting for (still learning how to program). This should get user activity back to the level I had with Vanilla 1. Thanks cdavid!
  • edited October 2010
    hi, this is a really long waited addon. THANK YOU !
    I installed and already translated it to my local language but an error with the sent messages is happening. Well, in fact the plugin is curiously trying to send email to old and deleted users what means some emails are coming back as follows: (i´ve got 6 separate message like this one)

    This message was created automatically by mail delivery software.

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    user_6@deleted.email
    The mail server could not deliver mail to user_6@deleted.email. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
  • You're my hero :)
  • A, yes, I see the problem. There is a column entry in the GDN_Users table that says "Deleted". I am taking care of it now. You should see an update to version 0.1.1 in the next few minutes.

    /cd
  • Might take a bit longer though, I also want the new users to be subscribed by default to all the content.
  • @cdavid, that big fat "subscribe ALL users" button scared the bejeebers out of me. I knew someday someone might press it, so I totally disabled it, just to be safe.

    Given the magnitude (and permanence?) of that operation:
    1. Can you make it look more scary? Currently it looks downright inviting, almost like you are meant to press it.
    2. Could you please add a confirmation? (To talk people out of it if the didn't really mean it?) I didn't actually press it, so I don't know if there is a confirmation, but I didn't see anything in the code that looked like it would confirm the action.
  • I also want the new users to be subscribed by default to all the content.
    !?!? Please make this optional. We use Vanilla for our support forum, so certain people in the company need to subscribe to certain categories in the forum, but it would be very rare for one of our users to want to subscribe to everything.
  • They can always disable that... But, oki. The quick fix for tonight is that it will not send e-mails to deleted users... I will think about how to go about this tomorrow.

    /cd
  • Uploaded version 0.1.1 -- this takes care of the sending e-mails issue that @agniz has reported.

    @bugslayer - I am more of a CSS-newb, so if you can suggest something, that would be great. I will dig into Vanilla for confirmations - i know that when you do something important to the dashboard, you get such a popup asking if you really really really want to do this.

    Regarding the button, I don't find it that appealing to push that button, but the behavior is reversable -- every user can unsubscribe from their own profile. Still, if you could help me with that (CSS), I'd be grateful.

    For the next version, I want to have in the dashboard a way to choose to what categories users should be subscribed by default and implement this for all type of registration methods.

    Any more requests and bugs are welcome!

    /cd
  • @bugslayer -- still, if you are in the dashboard, you should know what you are doing... just a thought.

    /cd
  • Looks like I'm missing something, but the "Subscribe All Users to All New Content" button didn't work for me. It just gave an error message as follows:
    "Bonk
    Something funky happened. Please bear with us while we iron out the kinks."

    Thanks for the nice plugin!
  • I'm sorry there was a typo. This is why one should not be allowed to code late at night *grr*.

    New version is online now.

    Thanks,

    /cd
  • Hello, I installed Vanilla2 and have installed the email subscription plugin. As admin I created a test post, along with enabling notification for the forum category. However I have not received an email. Any thoughts on troubleshooting?
  • I have just checked that on my installation and everything seems ok.

    First thought that comes to mind is if you have E-mail (SMTP) set up properly on the machine and maybe if the e-mail hit a spam filter. If on a new discussion, you post a comment (like 1st comment) and refresh the page you are at, does the conversation appear to be bookmarked (yellow star)?
  • MarkMark Vanilla Staff
    Nice work, @cdavid!
  • I'm on a GoDaddy, shared hosting Linux account. In installed it the same level in the directory tree as our WordPress site with intent for eventual embedding into WP.
    When you say " E-mail (SMTP) set up properly on the machine", do you mean the Vanilla email settings or the host server?

    Yup its bookmarked (i.e. has a star).
  • If it has a star, then the plugin works. The only part left to debug now is to see what is wrong with your e-mail settings. Do you receive any e-mail notification from Vanilla -- test by going to the dashboard and creating a new user with a valid e-mail address and see if you get any e-mail.

    /cd
  • I have two users pending activiation but no email notifications to the email account under my admin profile. hmm.
    Are there some obvious settings in the dashboard I need to check? The backend interface is pretty straightforward but some I dont understand their purpose.
  • Great! Thanks. Now one last issue. Suppose you clicked on the "subscribe all members to all discussions", and now you want to unsubscribe them all :) is there a way to do this? The only thought which came to mind was to delete the plugin and re-install it. Any other thoughts on this?
  • @Chat_101_com Disabling and re-enabling won't change anything in the database, therefore, it should not affect that. Unfortunately, I didn't think of a way to do that since I want to let the users decide for their own if they want notifications or not, via their profile.

    /cd
Sign In or Register to comment.