Skip to Content Skip to Menu

Autocomplete and @ characters

  • Theo01
  • Theo01
  • OFFLINE
  • Posts: 16
  • Thanks: 0
  • Karma: 0
14 years 3 months ago #139491 by Theo01
Autocomplete and @ characters was created by Theo01
Autocomplete doesn't work properly with usernames containing @ characters.

Some users seem to prefer having their email address as username. Autocomplete makes that character a %40 and when the Send button is pressed an error message appears saying that there's no such user.

If you ignore autocomplete's suggestion and carry on with the message everything works fine.

Now, I think that's something I can't fix myself since I haven't got a clue about Ajax or how it works. :)

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
14 years 3 months ago #139502 by slabbi
Replied by slabbi on topic Re:Autocomplete and @ characters
You can try following:

Open "includes.php" and search for "decodeURI" (you will find it two times). Replace it with "decodeURIComponent".

Does it work?

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • Theo01
  • Theo01
  • OFFLINE
  • Posts: 16
  • Thanks: 0
  • Karma: 0
14 years 3 months ago #139508 by Theo01
Replied by Theo01 on topic Re:Autocomplete and @ characters
Yeah, thanks a bunch! That did the trick. :)

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum