[pmwiki-users] Get rid of actions for unregistered users

Patrick R. Michaud pmichaud at pobox.com
Mon Sep 11 14:55:12 CDT 2006


On Mon, Sep 11, 2006 at 03:21:07PM -0400, Pierre Racine wrote:
>    Hi list,
> 
>     
> 
>    I'm new to PmWiki. I would like to build a website that is modifiable only
>    by registered users. I know I can set password on every page/group.
>    However there is two things I don't know how to do:
> 
>    1-Have the View Edit and History button appear only when a registered user
>    has log in.

In the Site.PageActions page, add "(:if authid:)" in front of the
Edit and History buttons.

>    2-Automatically log who made a change

This happens on its own if authors remember to set an author name.
You can force authors to enter a name by setting

    $EnablePostAuthorRequired = 1;

See also http://www.pmwiki.org/wiki/Cookbook/RequireAuthor
(which probably needs a "see also" link or FAQ from the
PasswordsAdmin page).

Pm




More information about the pmwiki-users mailing list