Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Two Questions - Username and Terms of Use
brilang
New
Is there a way to allow spaces in user names?
How do I modify the Terms of Use to include language specific to my organization?
I'm hoping these are both simple changes...
0
Comments
Is there a way to allow spaces in user names?
If you have Unicode regex support, set this in your config:
$Configuration['Garden']['User']['ValidationRegex'] = '\p{N}\p{L}\p{M}\p{Pc} ';
Note the space before the final single quote.
If you don't or aren't sure, set this:
$Configuration['Garden']['User']['ValidationRegex'] = '\w ';
Same regarding the space.
How do I modify the Terms of Use to include language specific to my organization?
You can either modify the link to point to your own ToS, or overwrite Vanilla's.
To do the former, add this to your config:
To do the latter, add this to your locale:
Thank you
FYI: I wasn't able to get the "definition" Terms Of Service item to work, but I was able to get the "url" working.