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.
"Notifi" for Vanilla 2?
![judgej](https://us.v-cdn.net/5018160/uploads/userpics/nZ7GASSLXIAES.jpg)
Vanilla 2 allows a user to receive email notifications when people reply to their threads, wall or send private messages. It is nice that a user does not need to subscribe individually to each thread that they start.
Now I would like to take that a bit further and give the user the option to subscribe to the following:
- Any thread that they are interested in, or take part in.
- Any new discussion to selected categories they have permission to view.
- Any new discussion started that they have permission to view.
The Notifi plugin handled all this in Vanilla 1, but there does not seem to be any similar module for Vanilla 2. Is there one I have not managed to find?
A client would like all new users to be subscribed automatically to everything. I've argued the case, but that is what they want and insist on it, and it is a private forum so will be limited in members. Obviously that involves a lot of email for each new discussion that is started. Is there any way that emails sent out for notifications can be redirected to a table and sent offline instead of immediately? If there are several hundred notifications to be sent out, then it just slows things down for users posting, while taking that offline and sending the mail in batch mode would speed things up.
-- Jason
Now I would like to take that a bit further and give the user the option to subscribe to the following:
- Any thread that they are interested in, or take part in.
- Any new discussion to selected categories they have permission to view.
- Any new discussion started that they have permission to view.
The Notifi plugin handled all this in Vanilla 1, but there does not seem to be any similar module for Vanilla 2. Is there one I have not managed to find?
A client would like all new users to be subscribed automatically to everything. I've argued the case, but that is what they want and insist on it, and it is a private forum so will be limited in members. Obviously that involves a lot of email for each new discussion that is started. Is there any way that emails sent out for notifications can be redirected to a table and sent offline instead of immediately? If there are several hundred notifications to be sent out, then it just slows things down for users posting, while taking that offline and sending the mail in batch mode would speed things up.
-- Jason
0
Comments
The other 2 situations you mentioned are not covered in core.
The "notify me of everything" TBH I just wish the client wasn't insisting on. The "notify me of discussions in a category" is a bit more reasonable, but is functionally identical, and just as heavy on the emails. If I have to code that in, then I would be coding in the offline email notifications as a part of that.
Edit: Just found it - the little star in the title of the discussion. I think I am going to have to expand on that a little for my users. It's nicely out-of-the-way and yet easily accessible once you know it is there, but it's not at all obvious what it is.
It takes time for organisations to get used to their members posting stuff that can be seen by the public. There is still a bit of a mentality with many orgs that anything a user posts could lead to the organisation being landed in deep water.
Allowing users to subscribe to all new discussions and, optionally, a particular category can be achieved with the Email Subscribe plugin.
That plugin automatically bookmarks new discussions too. However, I've never been able to get the Vanilla to send an email users when people comment on their bookmarked discussions. It does add an entry to their profile notifications tab, but no email is sent.
It must be a bug, because even if I have the "Notify me when people comment on my bookmarked discussions" setting enabled in my profile, emails are never sent.
im looking for a plugin like a "Notify me when people comment a discussions i've commented on". and this will be default for all user. is this what the email subscribe plugin do?
i modified this line (in vanilla/application/vanilla/views/post/comment.php)
$ButtonOptions = array('class' => 'Button CommentButton');
to
$ButtonOptions = array('class' => 'Button CommentButton', 'onclick' =>"$('#Content').children().first().attr('class')
if($('#Content').children().first().attr('class') == 'Bookmark'){
$('#Content').children().first().trigger('click')
}");
in someway this will auto-click the star to bookmark the discussion after posting a comment or edit.
not sure the impact. pls comment
There is probably a cleaner way to accomplish this via plugin. I will look into it.
@AustinSaucier Did you get anywhere with that plugin? I'm also considering writing a plugin to accomplish this but wanted to check that it hadn't been done before.
@AustinSaucier @aidster @judgej
I went ahead and created an AutoBookmark plugin because I didn't want to wait. Some of you might find it handy:
http://vanillaforums.org/addon/autobookmark-plugin