Page 1 of 1

CGFeedback - 'unsubscribe' option for user notifications

Posted: Tue Oct 27, 2009 12:54 pm
by darconny
Hi,

I am playing with this awesome module, and everything works perfect - thanks a lot Calguy  :)

The site is developed @ localhost at the moment.
CMS - 1.6.6
CGFeedback - 1.04

I like the option for users to be able to receive email notifications of additional comments on threads that they are interested in. But, if the user gets many emails on some thread (every other comment generates email), it would be good to have an 'unsubscribe' option (link) for that thread in every email.

Any thoughts if this is possible to achieve, and how?

Thanks a lot!
Darko

Re: CGFeedback - 'unsubscribe' option for user notifications

Posted: Mon Mar 22, 2010 7:04 pm
by Ricko97
Gigantic bump.

Does anyone know how this can be done? I really like the user notifications feature, but just like the Comments module, once a user has "subscribed" to a thread of comments, they're doomed to receive emails for every single comment posted in the future. This is a bit of an issue as in my case I'm using it for user profiles, which are likely to receive comments on a regular basis over a long period of time.

I noticed there is a way of unsubscribing a user manually from a comment list by going into the DB, finding the comment with which the user enabled notifications, and change "author_notify" from 1 to 0 (makes sense)...

So, that said, there must be an easy way of throwing in an "unsubscribe" link (maybe in the comments form - I think putting it in the email would involve editing the module files since there are no events for it).

I see at least a couple of ways of doing it using UDTs. The first requires cookies to be enabled in the module settings, and the second could perhaps be used if CGFeedback is integrated with FEU (as is the case for me)...

For non-FEU: a UDT that goes through all the comments for the current page/item and if it finds a comment where "author_notify" = 1 and the email address matches the one stored in a user's cookies, it provides a link or button (maybe on the comments form) to unsubscribe from the thread.

For FEU: same as above, except it checks the logged in user's email address instead of cookies.

Anyone willing to give it a shot? I might try it myself later, but my SQL is a bit rusty and I don't have much experience with handling cookies. If I come up with a working solution, obviously I'll post it here.

Re: CGFeedback - 'unsubscribe' option for user notifications

Posted: Sun Apr 21, 2013 1:05 pm
by peterbisset
Did you ever come up with a solution for this? I haven't integrated with FEU...

Re: CGFeedback - 'unsubscribe' option for user notifications

Posted: Thu Apr 25, 2013 11:06 pm
by Dr.CSS
Has anyone put a feature request in the forge for this option..?

Re: CGFeedback - 'unsubscribe' option for user notifications

Posted: Mon Apr 29, 2013 9:44 am
by peterbisset
I don't believe so, I thought that maybe this was a feature that was part of the module and that I had overlooked it.

Re: CGFeedback - 'unsubscribe' option for user notifications

Posted: Fri May 03, 2013 8:44 pm
by peterbisset
I just took a look in the CGFeedback requests and it appears that someone put this in as a feature request in 2011 but nothing happened with it: http://dev.cmsmadesimple.org/feature_request/view/7141

Has anyone managed to create something that will achieve this?