[pmwiki-users] Require Author broken?
Chris Lott
chris.lott at gmail.com
Thu Apr 20 15:49:38 CDT 2006
On 4/11/06, Tegan Dowling <tmdowling at gmail.com> wrote:
> 1) As I said above, I'm not using any user-based authentication, but I do
> still want the author cookie to work for my authors, so they don't have to
> re-enter author name with every edit in the same session; a friend who knows
> some php came up with this:
>
> //Author cookie
> include_once("$FarmD/scripts/author.php");
> if($AuthId && !@$_COOKIE[$AuthorCookie]) {
> $Author = $AuthId; setcookie($AuthorCookie,
> $Author, $AuthorCookieExpires, $AuthorCookieDir);
> }
>
> This keeps the author name alive for the editing session, which is really
> nice, but it turns out that it disables the RequireAuthor setting.
I haven't setup anything like this in my installation, I DO use:
$EnablePostAuthorRequired = 1;
And the author field is retained during the editing session. But only
the author field-- I assumed this was default behavior?? Seems to be
working both browsers...
c
More information about the pmwiki-users
mailing list