[pmwiki-users] Authorlink in pagerev.php

Patrick R. Michaud pmichaud at pobox.com
Thu Feb 2 11:03:31 CST 2006


On Thu, Feb 02, 2006 at 03:33:55PM +0100, Tim Ahrentlov wrote:
> Hi Patrick,
> 
> Thank you for that elaborate answer.
> 
> I can do a "http://path/to/forum/member.php?username=xxxxx" query on the
> author stored in the page on diff pages. Where should I insert this?

Try the following in your local/config.php:

    $DiffAuthorPageExistsFmt = 
      "<a href='http://path/to/forum/member.php?username=\$DiffAuthor'>
         \$DiffAuthor</a>";
    $DiffAuthorPageMissingFmt = $DiffAuthorPageExistsFmt;

> Will you consider storing the authorlink in future versions - if set?

It's not likely to be part of the core, but it could be done as
a local configuration setting.  

Pm





More information about the pmwiki-users mailing list