[pmwiki-users] Recent changes question

Ian MacGregor lists at imacgregor.com
Mon Jul 16 08:54:09 CDT 2007


On Sunday 15 July 2007 10:24:42 pm H. Fox wrote:
> On 7/15/07, H. Fox <haganfox at gmail.com> wrote:
> > This, placed at or near the end of your config.php file, will leave
> > Site.AllRecentChanges intact and create a Main.AllRecentChanges that
> > does not show ianmac's edits.
> >
> >   include_once("$FarmD/scripts/author.php");
> >   if (@$Author != 'ianmac') $RecentChangesFmt['Main.AllRecentChanges'] =
> >     '* [[{$Group}.{$Name}]]  . . . $CurrentTime $[by] $AuthorLink:
> > [=$ChangeSummary=]';
> >
> > Important: There are two spaces after the link.
>
> Oops... a but of line-wrapping happened there.  The last two were one
> line, or try this:
>
>   include_once("$FarmD/scripts/author.php");
>   if (@$Author != 'ianmac') $RecentChangesFmt['Main.AllRecentChanges'] =
>     '* [[{$Group}.{$Name}]]  . . . $CurrentTime $[by] $AuthorLink:'
>     .'[=$ChangeSummary=]';

That is exactly what I needed.
Thank you :)
Ian MacGregor

>
> Hagan



More information about the pmwiki-users mailing list