Kunena / Kunena-Forum

Kunena Forum - Forum / Bulletin Board / Discussions component for Joomla - This is the 6.x/5.x main development branch. Please do not open issues regarding earlier versions of Kunena
https://www.kunena.org
GNU General Public License v3.0
1.75k stars 812 forks source link

@username inserts an example.com mail address into the post #9696

Closed rich20 closed 3 months ago

rich20 commented 3 months ago

Describe the bug https://www.kunena.org/forum/36-German/168490-nach-zeichen-im-beitrag-auswahl-von-threadbeteiligte-erstellt-mailadresse#231611 Confirmed

To Reproduce

  1. Reply in a topic
  2. Enter an @ followed by a letter
  3. Select a name from the list (see image)
  4. Submit the message

Bildschirmfoto vom 2024-06-19 12-39-56

Actual result It adds an example.com e-mail address Bildschirmfoto vom 2024-06-19 12-45-54

System information

Desktop

Gindi50 commented 3 months ago

I have installed fix 8ea4035 in my Kunena 6.3.3-DEV installation and now when I enter @(letter) in a reply post and click on a displayed name, it does not display @herbert but [mention userid=43]herbert[/mention]. gindi

Gindi50 commented 3 months ago

In my installation, I changed the entry '[mention userid={userid}]{username}[/mention]' in edit.js to '<a href=">@{username}: ' and added a ":" and a space after the user name. Now @herbert: is displayed for me. gindi