Priority: Enhancement
Current State: Closed
Released In: 1.2.0
Target Release: minor
This really needs to be under tight admin control due to performance issues. See
Item11326.
DISABLEDPLUGINS can be used, but overriding it in a topic could fail to include this plugin, resulting in issues. The admin should be able to specify which webs get the subscribe button without depending upon the DISABLEDPLUGINS setting.
- Add config parameter:
$Foswiki::cfg{Plugins}{SubscribePlugin}{ActiveWebs} = '';
- Add a new context variable -
SubscribePluginAllowed
and change templates to use this context.
- Add setting
SUBSCRIBEPLUGIN_ACTIVEWEBS
ignored if the configuration parameter is specified.
--
GeorgeClark - 03 Mar 2012
Note, This change will cause an empty Subscribe link using 1.1.5 templates:
Edit | Attach | | Print version | ...
The fix for 1.1.x is to edit the file
templates/viewtopicactionbuttons.tmpl
and change the context test from
SubscribePluginEnabled
to
SubscribePluginAvailable
--
GeorgeClark - 09 Apr 2012