Tags:
create new tag
, view all tags

Feature Proposal: removeSubscription() function is absent in MailerContrib

Motivation

This feature is necessary for completely removal of the user subscription from the WebNotify topic. At the moment there is only unsubscribe() function that adds unsubscription record to the WebNotify topic

Description and Documentation

Imagine most of the users on a twiki site are not experienced ones and don't know how to edit WebNotify topic. Or they are not allowed to edit WebNotify.

Instead users have two buttons 'Subscribe' and 'Unsubscribe' on each topic. If a user clicks on 'Subscribe' button the Plugin adds a new record to WebNotify topic. Then user might want to unsubscribe by clicking 'Unsubscribe'. Now we have a record in WebNotify topic like this:

* WillyWhale : SomeTopic - SomeTopic

The problem is if the user decide to subscribe to this topic again by clicking 'Subscribe' button there is no way to remove '- SomeTopic' using API functions.

Examples

Impact

WhatDoesItAffect: API, Plugins

Implementation

-- Contributors: AndrewTutolmin - 11 Mar 2008

Discussion

Agreed, though as I pointed out before there are issues with doing anything more complex than simply removing the subscription from the same line; it's too complex to work through all the groups to determine the real subscription status (which is why i didn't provide the function in the first place).

-- CrawfordCurrie - 15 Mar 2008

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-03-15 - CrawfordCurrie
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2016 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.