On Wednesday 13 February 2008, Hans wrote: > > Randy's problem was that he got duplicates of the same notification. > After a lengthy investigation we found that a change in notify.php > would stop that behaviour: > > changing this in notify.php: > > ## check if we need to do notifications > if ($action != 'edit') NotifyCheck($pagename); > > to this: > > ## check if we need to do notifications > if ($action!='edit' && $action!='foxpost' && $action!='foxdelete' > && $action!='comment') > NotifyCheck($pagename); > > Then Fox and Commentboxplus will not generate a NotifyCheck. > and he had the problem of duplicates specifically with fox and > commentboxplus postings, which use the actions included above.
Hey wait a minute!! Don't search what changes in PmWiki core would serve your recipes, try to adapt your code instead. PmWiki has countless possibilities to do this. In the current case: there is yet no need to change notify.php. You can instead have in config.php: if($action!='foxpost' && $action!='foxdelete' && $action!='comment') { $EnableNotify = 1; } Petko _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users