I want to use a "forward slash" like this in the username, / EG: my/name
Can anyone point me in the right direction,
Thanks
Pat
Username
Re: Username
A) What exactly is the problem you have? Any error messages?
and
B) If there are problems with your specific member-naming-idea, why don't you just follow the well working AppGini standard? Just would like to know the reason. Are you planning LDAP integration or something?
Did you try with backslash \ like in Microsoft Active Directory (*commercial product)
and
B) If there are problems with your specific member-naming-idea, why don't you just follow the well working AppGini standard? Just would like to know the reason. Are you planning LDAP integration or something?
Did you try with backslash \ like in Microsoft Active Directory (*commercial product)
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: Username
incFunctions.php
contains is_allowed_username()
function which denies a slash character in standard AppGini code.First step for you could be modifying that function according to you needs. I cannot guarantee that this will be the only change required.
Obviously, you would have to test all places in Users-Area and in Admin-Area if you want to be sure, such memberIDs don't break existing functionality. There may be more placed in which valid username will be checked against built-in username-convention.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: Username
Thanks for the reply.
I have managed to add a forward slash to a username
Have a nice day
Pat
I have managed to add a forward slash to a username
Have a nice day
Pat
23.17
Re: Username
Please paste your solution here for others.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: Username
Hi Jsetzer
There is no code to post.
I added the username without the " / "
Then went into phpadmin and added a "/" there.
Seems to work okay.
I add all new usernames (getting the new member to fill in an appgini form) myself and only expect a small number of usernames like this.
Thx Pat
There is no code to post.
I added the username without the " / "
Then went into phpadmin and added a "/" there.
Seems to work okay.
I add all new usernames (getting the new member to fill in an appgini form) myself and only expect a small number of usernames like this.
Thx Pat
23.17
Re: Username
I'm stuck on 5.97 AppGini due the impossibility to re-use the LDAP auth trick (viewtopic.php?t=2707) on newer versions, after function logInMember() disappeared.jsetzer wrote: ↑2022-12-11 10:53A) What exactly is the problem you have? Any error messages?
and
B) If there are problems with your specific member-naming-idea, why don't you just follow the well working AppGini standard? Just would like to know the reason. Are you planning LDAP integration or something?
Did you try with backslash \ like in Microsoft Active Directory (*commercial product)
Has anyone managed to activate the feature in the new versions ?
ALex.