Revision [16774]
This is an old revision of NotifyOnChange made by LirWqz on 2007-05-31 10:46:35.
Notify On Change
[Credits: Charles Nepote, Wikini ]
This simple patch, adapted from a suggestion made by Charles Nepote on Wikini, allows the administrator or an arbitrary list of registered users to monitor the wiki and be notified by email each time a page is edited. The patch uses the php built-in mail() function and should simply be inactive if the function is not enabled on the server.
Watch out!: consider that each edited page generates an email, so add this patch at your own risk.
How to install the notification function:
1. Add the following line to wakka.config.php:
"notify_users" =>"DarTar, OtherUser",
2. Add the following code in handlers/page/edit.php just before //forward
%%(php)
if (function_exists('mail')