[pmwiki-users] EnablePostAuthorRequired in combination with author.php

Holger Kremb pmwiki at kremb.net
Tue Dec 22 14:31:13 CST 2009


Petko Yotov wrote:
> You can try to manually enable the RequireAuthor function by adding near the 
> end of config.php the following :
> 
>   array_unshift($EditFunctions,'RequireAuthor');

It does not work but I just solved the problem. :-)

The reason was the cookbook recipe userauth2.

http://www.pmwiki.org/wiki/Cookbook/UserAuth2

I just moved the section (mentioned in my las reply) after include
userauth2. It works. :-)

Now the login name always be used as the author name independent of the
name used in the edit form.

However, thanks for your support Petko. :-)

Kindly Regards
Holger
-- 
http://www.pmwiki.org/wiki/Profiles/Holger




More information about the pmwiki-users mailing list