XF 1.1 Start Conversation With User With Comma In Username

digitalpoint

Well-known member
Basically as the title says... Is there a way to start a conversation with a user if they have a comma in their username?
 
digitalpoint may very well have a user with a comma as he was on vBulletin forever.

The only solutions here as far as I can see are:

Change the delimiting character used in the explode function in the controller.

Change the username.

Do something with jQuery so that the selected user IDs are passed to a hidden input and modify the controller to get the users from that rather than the usernames.

Maybe store a cache of usernames with commas in and handle these as a special case in the function before they're exploded to an array in the controller.
 
digitalpoint may very well have a user with a comma as he was on vBulletin forever.

The only solutions here as far as I can see are:

Change the delimiting character used in the explode function in the controller.

Change the username.

Do something with jQuery so that the selected user IDs are passed to a hidden input and modify the controller to get the users from that rather than the usernames.

Didn't think of that.

If it were me, I would opt for the first option (it seems like the quickest option).
 
Top Bottom