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.
How do you mention a username with a space character?
dan39
New
I have a Vanilla Forum for an Alumni group. So we've set up Vanilla to use "Firstname Lastname" as the user name. Unfortunately, I don't see a syntax to mention users with space characters.
Doing a mention for @Joe Smith @Joe-Smith or @Joe_Smith doesn't find the correct username. Is there a way to make this work?
(Sorry @Joe for using you for this example)
Doing a mention for @Joe Smith @Joe-Smith or @Joe_Smith doesn't find the correct username. Is there a way to make this work?
(Sorry @Joe for using you for this example)
1
Comments
I have a user who registered when i was running 2.0.7 back in july and he registered with a space.
Vanilla Forums COO [GitHub, Twitter, About.me]
Also, there's a problem with special characters like é è à π ... Is it planned to handle these in mentions?
Space, the final frontier...
Resurrecting an old thread here, but it's worth noting that, at least in version 2.2, an admin can bypass this and add a user with a space in their name via the dashboard.
... and from Vanilla 2.3, the current version by now, you can mention a user like that
@"first second"
I hope this is still relevant - @amirm mentioned "exceptions for names like O'hara, or Mary-Anne" and I am having a similar issue with punctuation in usernames. Specifically ones that have a period. For example, "first.last". When I attempt to mention a user within a comment like @first.last, then the link to that user's profile is broken. It only links to @first which is not a user (or may be another user).
@first.last
@"first.last"
Thanks @Linc, but when a user types @fir... and the pick list open and they choose a name expecting it to link to that user, then it's too late to use the quotes as it is already a broken link. Of course we can add instructions to do this and hopefully most will remember, but I was hoping there was a way to either stop new registers from using periods or a way to allow user names with periods in them to work in this manner automatically. I guess not? Thanks!
that is something you might want open an issue up in github.
https://github.com/vanilla/vanilla/issues
those sort for issue might take a while to get fixed as they are "edge cases" for the most part but it has to logged as an issue to get fixed in updates.
grep is your friend.
Thanks, I will do that. I do find it hard to believe that this is an "edge case." If by default the forum allows users to have periods in the their names and by default the mention creates a broken link, I would imagine many forums are experiencing the same issue. Is there something about my forum that acts differently than others?
I don't believe this is the case.
We did not change anything purposely to allow users to use periods in their names - unless it's related to using social media accounts to sign up? That must be it!