[pmwiki-users] Notify List "switch"
H. Fox
haganfox at users.sourceforge.net
Fri Jul 13 08:44:37 CDT 2007
On 7/12/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Thu, Jul 12, 2007 at 03:35:21PM -0700, John Morris wrote:
> >
> > It would be really nice to have a "from the browser" on/off/on toggle or
> > switch of some method.
>
> It could be done via:
>
> - a checkbox in the edit page
> - a browser cookie that is enabled/disabled by a link for the
> current session (e.g., ?notify=off and ?notify=on)
> - disabling notifications for edits by a given author name
> - other methods
>
> What do you think your preference would be...?
I like the browser cookie / ?notify=[off|on] option, and would probably use it.
Would these work in a local configuration file?
## Enable notification for non-administrators only.
If (! CondAuth('$pagename, 'admin')) $EnableNotify = 1;
## Enable notification, exept if the user is logged in as "dcooke".
If (! $AuthId == 'dcooke') $EnableNotify = 1;
## Enable notificatin for every IP address except 127.0.1 .
If (! $_SERVER['REMOTE_IP'] == '127.0.0.1' ]) $EnableNotify = 1;
Hagan
More information about the pmwiki-users
mailing list