01123: pagelist of notification destinations from Email PageTextVariable

Summary: pagelist of notification destinations from Email PageTextVariable
Created: 2009-07-23 01:35
Status: Open
Category: Feature
From: Rik Blok?
Assigned:
Priority: 234
Version: 2.2.4
OS: PHP v5.2.10 on FreeBSD

Description: It would be really neat if notify.php parsed Page Text Variables. Then SiteAdmin.NotifyList could be written as

(:pagelist group=Profiles $:Email=- fmt=#byemail:)

(:if false:)
[[#byemail]]
* notify={{=$FullName}$:Email} trail={=$FullName}
[[#byemailend]]
(:ifend:)

That would let users enter their own email addresses as Page Text Variables in their Profile pages for notification. The administrator wouldn't need to manually update SiteAdmin.NotifyList. But it should only be used on password-protected wikis (to prevent spamming).

A sample profile page might look like:

:Email: email@example.com

! My Bookmarks
* [[PmWiki.Notify]]
* [[PmWiki.PageTextVariables]]
* [[PITS.01123]]

Hi. About "The administrator wouldn't need to manually update SiteAdmin.NotifyList", you could set a read&edit password on SiteAdmin.NotifyList?action=attr and tell it to your users, letting them add add and update their own notify= lines. If you use a single edit password for the wiki, you could apply it to the NotifyList too. If you have AuthUser, you could set the password to id:* for example. --Petko December 24, 2009, at 06:11 AM

Another exampe why it would be nice: I maintain a PmWiki installation where members have their personal pages already structured with contact information (to get a nice formatted member list). If notify would evaluate PTVs, one had to make e-mail address changes only at one place. With many entries that's a real benefit. OliverBetz