r2 - 15 Mar 2008 - 14:28:58 - CrawfordCurrieYou are here: TWiki >  Codev Web > ChangeProposal > FeatureRequest > RemoveSubscriptionFunction
Tags:
, create new tag

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 | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo