Patrick R. Michaud wrote: > If you just want PmWiki to allow any character in author names, > you might try setting (note the leading space): > > $AuthorNameChars = " -\\xff"; > > Pm >
This solve my problem once for all! I put this in config.php beetween authuser inclusion ( include_once(...) ) and $Author setting. Thanks for support Patrick. > Yes -- In certain instances PmWiki automatically converts author > names into something that can be used as a valid pagename > (by eliminating the dots and/or slashes). But it shouldn't > do this if you're explicitly setting the $Author variable -- > in that case PmWiki leaves the variable alone. > > Well... I don't understand why but this seems possible in my instance. :) I'm not a Php developer, but, since the cookie is correctly set, it seems a conversion problem. I think the problem is not in setting the value in the variable $Author but in writing this value automatically in Author field: dots and slashes are keyword in Pmwiki language, so it is not so strange if this characters are unusable in author names. > Note that the above only sets the author name when someone > has logged in with a username and password -- if a person hasn't > logged in the author names continue to work as before (i.e., > coming from a browser cookie). > Thanks for the specification but I found the code you wrote is very clear. Michele _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
