[pmwiki-users] Notify URL link

Sivakatirswami katir at hindu.org
Wed Oct 31 15:39:12 CDT 2007


Hans wrote:
> Wednesday, October 31, 2007, 8:05:49 PM, Sivakatirswami wrote:
>
>   
>> I read the docs on this on PMwiki, but not able  to grok the right params
>> to use after the email address to force only the link to the page itself.
>> It may have something to do with trails but again, I wasn't
>> quite able to determine exactly what to do.
>>     
>
> Try this in config.php:
>
> $NotifyBodyFmt =
>   "Recent \$WikiTitle posts:\n" 
>   . " \n\$NotifyItems\n";
> $NotifyItemFmt =
>  " {\$PageUrl} . . . $PostTime by {$LastModifiedBy}\n";
>
>
>
>   ~Hans
>
>   
that almost worked... the email now reads:

Recent Himalayan Academy Travel Study Programs posts:
 
 http://wiki.hindu.org/innersearch/index.php/I-2008-Participants/Comments . . .  by 

so, we got the link, but note the the author (the author is defaulting to the htaccess basic auth
user in the Author field of commentBox, but users are typically changing that to their 
own name... and this *was* working previously (where the link took us to recent changes only)
so {$LastModifiedBy} is not the right session variable or something?









More information about the pmwiki-users mailing list