That way your users are able to choose whatever user name they like.
You only need the second line if you want to change the max. length of a name
If you want to give your users the ability to "fix" their names, add the following line to the config: $Configuration['Garden']['Profile']['EditUsernames'] = true;
I would announce that possibility of changing the name and make it available for a restricted time.
YES! Thank you, goodness! I was finding such solution whole day. It makes a trick for me in theme hook. I slightly modified it to fallback to username if display name was not set:
Well, yeah, activity titles are not affected by it as you noted. Seems like a problem with Vanilla+Smarty user modifier (applications/dashboard/views/activity/helper_functions.php, line 30, function Gdn_Format::to), but as expected behavior users mentioned in activity should convert to userAnchor result, but no luck today.
Answers
Forget everything else and add this two lines to your /conf/config.php:
That way your users are able to choose whatever user name they like.
You only need the second line if you want to change the max. length of a name
If you want to give your users the ability to "fix" their names, add the following line to the config:
$Configuration['Garden']['Profile']['EditUsernames'] = true;
I would announce that possibility of changing the name and make it available for a restricted time.
Thanks @R_J !
YES! Thank you, goodness! I was finding such solution whole day. It makes a trick for me in theme hook. I slightly modified it to fallback to username if display name was not set:
Well, yeah, activity titles are not affected by it as you noted. Seems like a problem with Vanilla+Smarty
user
modifier (applications/dashboard/views/activity/helper_functions.php
, line 30, functionGdn_Format::to
), but as expected behavior users mentioned in activity should convert touserAnchor
result, but no luck today.