[pmwiki-users] AuthorContribution recipe - can someone with some knowledge update this

H. Fox haganfox at users.sourceforge.net
Mon Jul 16 00:29:55 CDT 2007


On 7/15/07, H. Fox <haganfox at users.sourceforge.net> wrote:
> On 7/15/07, Tegan Dowling <tmdowling at gmail.com> wrote:
> > I have $EnablePostAuthorRequired = 1; in local/config.php, as
> > instructed on http://www.pmwiki.org/wiki/Cookbook/RequireAuthor, but
> > once logged in with an edit-enabling password, I was able to save
> > changes without entering an Author name.
>
> This does not happen in my test wiki (running pmwiki-2.2.0-beta57).
> $EnablePostAuthorRequired works as advertised there whether the recipe
> is enabled or not.

I know what is different.

The recipe include()s scripts/author.php, so if you want to enable
$EnablePostAuthorRequired, the recipe must be loaded after the line
that sets $EnablePostAuthorRequired to 1.

Hagan



More information about the pmwiki-users mailing list