[pmwiki-users] Recent changes question
H. Fox
haganfox at users.sourceforge.net
Mon Jul 16 00:24:42 CDT 2007
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=]';
Hagan
More information about the pmwiki-users
mailing list