[pmwiki-users] How to resolve space in username

Elizabeth Koh elizabethkoh at gmail.com
Fri Jan 16 13:06:45 CST 2009


I realize my problem is not with the recognizing of usernames with a
space. It's to do with grouping

I want to put people into groups in the Site.Authuser page

So I write:

@GroupA: Adam Smith, Eve Tan, Peter Smith

But somehow this does not work and my user is not able to be part of GroupA.

How can I resolve this?

Really appreciate your help.

Warm regards,

On Sat, Jan 17, 2009 at 2:17 AM, Elizabeth Koh <elizabethkoh at gmail.com> wrote:
> Hi,
> I am trying to read an sql database with usernames that consist of a
> space in between their firstname and lastname e.g. Peter Smith - with
> a space in the middle.
> This is in my config file.
> $AuthorNameChars = " -\\xff";
> include_once "$FarmD/cookbook/authuserdbase.php";
> $AuthUserFunctions['mysql'] = 'AuthUserDatabase';
> $AuthUser['mysql']=true;
> #for auth user script
> include_once("$FarmD/scripts/authuser.php");
> I have tried putting the $AuthorNameChars before the authuserdbase,
> between authuserdbase and authuser script and after authuser. But all
> do not work.
> I am using pmwiki-2.2.0-beta68.
> Could anyone help me?
> Really appreciate it.
> Thanks!
> Elizabeth

More information about the pmwiki-users mailing list