ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: Flavio93Zena on May 21, 2016, 08:04:03 am

Title: Usernames with parenthesis cannot be mentioned
Post by: Flavio93Zena on May 21, 2016, 08:04:03 am
http://www.ElkArte.net/community/index.php?topic=3673.msg25950#msg25950 @emanuele :) But it can be useful to try to break it even further, I bet it's not only the parenthesis, but maybe some other crap like /&%$£ and stuff like this, or utf8 characters (read: chinese, japanese characters and so on).
Title: Re: Usernames with parenthesis cannot be mentioned
Post by: Joshua Dickerson on May 21, 2016, 04:23:31 pm
I think the possibility of fixing this is pretty limited. Either that or the way mentions are added need to be changed. They would need to be tracked by the start/end of the text. If you change that text, it would break the mention. For the WYSIWYG editor, this would be easier because you'd just have a tag [mention] on the code side that gets translated to @username in the editor.
Title: Re: Usernames with parenthesis cannot be mentioned
Post by: emanuele on May 21, 2016, 05:34:40 pm
@Spuds

@Orange-kun (test)
Title: Re: Usernames with parenthesis cannot be mentioned
Post by: emanuele on May 21, 2016, 05:35:56 pm
Sorry Spuds, I posted by mistake... :-[

@emanuele45
Title: Re: Usernames with parenthesis cannot be mentioned
Post by: emanuele on May 21, 2016, 05:36:12 pm
@Orange-kun (test)
Title: Re: Usernames with parenthesis cannot be mentioned
Post by: emanuele on May 21, 2016, 05:44:49 pm
@Orange-kun (test)
Title: Re: Usernames with parenthesis cannot be mentioned
Post by: emanuele on May 21, 2016, 05:48:29 pm
The issue is not special user names, but rather the fact that the AtWho plugin changed a callback name and the name of a property, the quick-reply code was not changed and so the QR was not able to properly pick the mentioned names.
Now it's fixed here (hopefully) and I'll push the commit later at github.
Title: Re: Usernames with parenthesis cannot be mentioned
Post by: Spuds on May 21, 2016, 06:04:08 pm
Hey, you pulled me away from my beer !  :P
Title: Re: Usernames with parenthesis cannot be mentioned
Post by: emanuele on May 21, 2016, 06:37:54 pm
Hope it didn't warm up! :P
Title: Re: Usernames with parenthesis cannot be mentioned
Post by: Flavio93Zena on May 21, 2016, 07:25:02 pm
Until I see a commit link I'll keep bugging you ;)
Title: Re: Usernames with parenthesis cannot be mentioned
Post by: Flavio93Zena on May 30, 2016, 04:11:09 pm
/me asks for commit link and if provided, asks for the topic to be moved to Exterminated because he's an order-freak and doesn't want the board to end up like the one... Elsewhere. u_u
Title: Re: Usernames with parenthesis cannot be mentioned
Post by: Ruth on June 01, 2016, 05:59:39 pm
Are the mentions working at all at the moment?
Title: Re: Usernames with parenthesis cannot be mentioned
Post by: meetdilip on June 01, 2016, 06:05:36 pm
@Ruth , testing
Title: Re: Usernames with parenthesis cannot be mentioned
Post by: Ruth on June 01, 2016, 06:08:43 pm
Thanks, meetdilip...they are working now. ;)