I made two pull requests and linked them to UnderDoggs bug ticket. Hope they help you.
Btw: I was impressed by that comment of yours. It was motivating for me. Creating addons is one way of promoting Vanilla but the other one is solving issues. Call me naive, but I haven't realized that before.
@x00 said:
well often + is a good substitute for space.
I like this. Or use a _.
When I ported my community over from an old phpbb install, I forced users with spaces to pick a new username. I offered them a few variations of replacing the spaces with other symbols (_-.). They invariably chose the underscore or removing the space all together and camel casing the transition.
When you allow spaces in your forum, don't forget to disallow ALT+255 => " " and spaces at the end of a username. They can be misused to fool forum users (did it myself when I was young and wild)
Comments
I didn't say it was.
grep is your friend.
I made two pull requests and linked them to UnderDoggs bug ticket. Hope they help you.
Btw: I was impressed by that comment of yours. It was motivating for me. Creating addons is one way of promoting Vanilla but the other one is solving issues. Call me naive, but I haven't realized that before.
The way I understand it is that users can only have spaces in their names if they are imported. This means it is an issue on their end.
If you do support encapsulation, it would make more sense to just use
@
symbols. E.g.@Monkey Wrench@
.Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
I would say not supporting valid usernames is a bug. Not sure where the feature list for @mentions is though
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Um not sure I agree. I think the @user format is more elegant an easier to parse, both encapsulated or not.
think about it
grep is your friend.
I agree it would be easier to parse. Just talking from a UX perspective, it would make sense to use the same symbol to open and close.
In my world, make it support escaped spaces and you are good to go.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
well often
+
is a good substitute for space.grep is your friend.
I like this. Or use a
_
.When I ported my community over from an old phpbb install, I forced users with spaces to pick a new username. I offered them a few variations of replacing the spaces with other symbols (
_-.
). They invariably chose the underscore or removing the space all together and camel casing the transition.Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
My solution was to simply strip all non-alphanumeric characters in usernames after importing. It worked surprisingly well and with little confusion.
When you allow spaces in your forum, don't forget to disallow ALT+255 => " " and spaces at the end of a username. They can be misused to fool forum users (did it myself when I was young and wild)