I have in my local/config.php these lines: ## Let Author = AuthId if (@$AuthId) $Author = $AuthId;
This means that Author gets value equal to the login name if the visitor logs in using some authentification script - AuthUser ... core script - UserAuth2 ... cookbook recipe - Zap login ... cookbook recipe I use the AuthUser, as for the others two their authors confirmed $AuthId is maintained. Hope this helps, regards, Jiri > Hello, > > I have a wiki with my classroom where every student has to introduce an > author > name before saving a page ($EnablePostAuthorRequired=1). If I use a ZAP > form > which appends the content of the form fields in a file, it doesn't work > because > an Author name was not introduced to modify the page. I have solved > temporarily > the problem by putting $EnablePostAuthorRequired=0 but now a page can be > saved > without specifying an author name, and that is not nice! > Any idea for a better solution? > > regards > > Philippe > > > _______________________________________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
