No @username in the PM editor

Started by Doctor Asp, March 10, 2022, 05:54:31 AM

Previous topic - Next topic

Doctor Asp

I believe I´ve found a bug. :-)
SMF 2.1.1, Chrome, default theme, english, no mods.

To reference a user by @username doesn´t work in the PM editor.
Maybe it´s intentional behaviour?
/Doctor Asp

Aleksi "Lex" Kilpinen

It wouldn't serve much purpose to mention users in a PM.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Doctor Asp

Quote from: Aleksi on March 10, 2022, 06:02:44 AMIt wouldn't serve much purpose to mention users in a PM.
It would create a link to the users profile.
/Doctor Asp

Aleksi "Lex" Kilpinen

Yes, but that's not the core functionality of it, just a small part of the whole.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Steve

Quote from: Doctor Asp on March 10, 2022, 06:07:21 AM
Quote from: Aleksi on March 10, 2022, 06:02:44 AMIt wouldn't serve much purpose to mention users in a PM.
It would create a link to the users profile.
Which would:

1. Notify the user that he/she's been mentioned, depending upon their settings

and

2. Give the member being notified a link to a conversation in their email that they can't get to.

That's if I understand how it all works.
My pet rock is not feeling well. I think it's stoned.

Arantor

@ member on their own does precisely nothing. You have to explicitly do processing for anything to happen, it isn't magic.

The post-processing on new posts looks for mentions so it can setup an alert, and as a courtesy after the fact it rewrites it into a [member] code to create the link.

You'd have to write new handling for PMs to do the lookup and conversion to the bbcode.

This is not a bug nor an oversight.
Holder of controversial views, all of which my own.


Doctor Asp

Quote from: Arantor on March 10, 2022, 10:34:57 AMThis is not a bug nor an oversight.
Ok, no problem, I´ll live with it.  :)
/Doctor Asp

Advertisement: