Difference: SubscribeAddOn (1 vs. 2)

Revision 204 Sep 2006 - Main.MarkusBajones

Line: 1 to 1
 

Subscribe Add-On

This AddOn? adds a "Subscribe Topic" button next to the Edit, Attach, Printable buttons.

Line: 9 to 9
 

Usage

Changed:
<
<
>
>
  • Log in.
  • Click on the "Subscribe Topic" button to add the current topic to the Notification list.

Function

The Subscribe AddOn? will make changes to WebNotify based on the following decissions:

  • User is not in WebNotify: --> Add ' * User: + Topic' to WebNotify.
  • User is in WebNotify:
    • User gets notified for specified topics:
      • If the topic is not already in the list: --> Add ' + Topic' to the users line in WebNotify.
      • If the topic is already in the list: --> Do nothing.
    • User gets notified for whole web: --> Do nothing.
    • User gets notified for whole web but exclude some topics:
      • If the topic is excluded from notification: --> Remove ' - Topic' from the users line in WebNotify.
      • If the topic is not excluded: --> Do nothing.

Permission

You have to log in to subscribe a topic to WebNotify. Furthermore you need permission to read the web.topic you want to add to the notification list and to change WebNotify. Subscribe AddOn? will check the permissions to prevent unauthorized users to get onto the WebNotity? topic.

 

Add-On Installation Instructions

Line: 24 to 42
 
data/TWiki/SubscribeAddOn.txt,v Add-on topic repository
bin/subscribe Add-on script
lib/TWiki/Contrib/Subscribe.pm Add-on perl package
Deleted:
<
<
view.pattern.tmpl.diff "Subscribe Topic" button definition
 
template/oopsnotify.tmpl Template
Added:
>
>
view.pattern.tmpl.example "Subscribe Topic" button definition
 
gpl.txt GPL

Changed:
<
<
  • Correct the permissions
>
>
  • Correct the permissions and ownership.
  • Remove notification lines except TWikiGuest? from WebNotify to get a fresh start.
    TWikiGuest? is needed to know where to add a new notification line.
 
  • Test if the installation was successful:
    • Log in, go to some topic, click on the "Subscribe Topic" button.
    • Go to the WebNotify topic and look for your WikiName and topic.
Changed:
<
<

Add-On Settings

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0
>
>
    • If not successful set $debug = 1 in Subscribe.pm and read data/debug.txt for hints what the problem is.
 

Add-On Info

Line: 46 to 62
 
Change History:
<-- versions below in reverse order -->
 
03 Sep 2006: Initial version
CPAN Dependencies: none
Changed:
<
<
Other Dependencies: none
>
>
Other Dependencies: MailerContrib
 
Perl Version: 5.005
License: GPL
Add-on Home: http://TWiki.org/cgi-bin/view/Plugins/SubscribeAddOn

Revision 103 Sep 2006 - Main.MarkusBajones

Line: 1 to 1
Added:
>
>

Subscribe Add-On

This AddOn? adds a "Subscribe Topic" button next to the Edit, Attach, Printable buttons. When clicked it will add a user and the topic to the WebNotify topic. The MailerContrib system reads the WebNotify topic and sends a mail if the specified topic changes.

The Subscribe AddOn? is based on PerTopicNotificationAddOn.

Usage

Add-On Installation Instructions

Note: You do not need to install anything on the browser to use this add-on. The following instructions are for the administrator who installs the add-on on the server where TWiki is running.

  • Download the ZIP file from the Add-on Home (see below)
  • Unzip SubscribeAddOn.zip in your twiki installation directory. Content:

File: Description:
data/TWiki/SubscribeAddOn.txt Add-on topic
data/TWiki/SubscribeAddOn.txt,v Add-on topic repository
bin/subscribe Add-on script
lib/TWiki/Contrib/Subscribe.pm Add-on perl package
view.pattern.tmpl.diff "Subscribe Topic" button definition
template/oopsnotify.tmpl Template
gpl.txt GPL

  • Correct the permissions
  • Test if the installation was successful:
    • Log in, go to some topic, click on the "Subscribe Topic" button.
    • Go to the WebNotify topic and look for your WikiName and topic.

Add-On Settings

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

Add-On Info

  • Set SHORTDESCRIPTION = Provides a "Subscribe Topic" button to add topic to WebNotify.

Add-on Author: TWiki:Main/MarkusBajones
Add-on Version: 03 Sep 2006 (v1.000)
Change History:
<-- versions below in reverse order -->
 
03 Sep 2006: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
License: GPL
Add-on Home: http://TWiki.org/cgi-bin/view/Plugins/SubscribeAddOn
Feedback: http://TWiki.org/cgi-bin/view/Plugins/SubscribeAddOnDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/SubscribeAddOnAppraisal

Related Topic: TWikiAddOns?

-- TWiki:Main/MarkusBajones - 03 Sep 2006

 
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Proyecto META? Send feedback