Ask Your Question
0

Is it possible to tag, private message (pm) or notify another user? [closed]

asked 2020-08-23 17:19:30 +0100

igorlius gravatar image

Is it possible to tag, private message (pm) or notify another user?

I looked around a bit but i was unable to find such a function, and with this question i wanted to verify if there really was no way or if i missed something obvious.

PS: I do not intend to spam anyone. I only found someone (per chance) which is very likely to have a answer / solution to a question, and i would like to politly ask him if he could take a look and provide some feedback. (Its about this Question: https://ask.libreoffice.org/en/questi...)

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by igorlius
close date 2020-08-27 22:43:15.347124

2 Answers

Sort by » oldest newest most voted
0

answered 2020-08-23 17:24:34 +0100

igorlius gravatar image

updated 2020-08-23 19:07:34 +0100

Thank you @ajlittoz,

it was as simple as prefixing the username with an @ symbol.

Update: If the username contains spaces it gets a bit tricky,

Please see the comments on this post on how to handle it.

edit flag offensive delete link more

Comments

I think the best way for a notification to reach the correct user is by copying their username, and pasting it after the @.

LeroyG gravatar imageLeroyG ( 2020-08-23 22:35:14 +0100 )edit
1

answered 2020-08-23 17:23:33 +0100

There's no way to PM someone here on Ask site (the engine likely does not provide the functionality, or maybe disabled by admins...).

You may use the person's name to notify the user though: using the user name prepended with @ - like @igorlius. This would make the usual red notification for that user; see https://wiki.documentfoundation.org/Ask/Getting_Started#Notification_icon.

edit flag offensive delete link more

Comments

@Mike Kaganski: in an ancient post, a trick was given to resolve duplicates or prefix ambiguity but I don't remember it. @igorlius tries to ring an Antonio Faccioli (user 29553 ) but there exists also an Antonio straight (user 2768) which seems to take precedence over the former. I tried to tweak the encoding with <a href="en/users/29553/…"> but I still get reference to user 2768. See comment in question 253483.

ajlittoz gravatar imageajlittoz ( 2020-08-23 18:21:04 +0100 )edit

@ajlittoz: IIUC, there's no workaround for the site's problems with notifying wrong people. Or had you discovered the correct syntax? I wasn't able to figure from the discussion what was the trick?

Mike Kaganski gravatar imageMike Kaganski ( 2020-08-24 07:13:22 +0100 )edit

Basically, I looked at the generated HTML and tried variants. The problem is the space in the user name. When you write @user, this translates to <a href="en/users/123/user">@user</a>". The difficulty appears when a full name is used like Mike Kaganski. The technical username becomes mike-kaganski, i.e. all lowercase and space replaced by hyphen. But using it with a relative link does not work. You must code the link as absolute. And this is not sufficient. Typing @Mike Kaganski as the element content will point to user Mike despite the absolute link. The culprit is the space.

The solution is:

<a href="https://ask.libreoffice.org/en/users/123/first-name">@first&nbsp;name</a>

Hovering over it points to the right user.

However I don't know if this direct HTML triggers the notification system.

ajlittoz gravatar imageajlittoz ( 2020-08-24 07:59:59 +0100 )edit

However I don't know if this direct HTML triggers the notification system

As far as I understand, it does not. The hyperlink just creates a visible link; while the notification is created by the engine when parsing the @ + username part - which would be independent form the outer hyperlink iiuc.

Mike Kaganski gravatar imageMike Kaganski ( 2020-08-24 08:03:56 +0100 )edit

Question Tools

Stats

Asked: 2020-08-23 17:19:30 +0100

Seen: 41 times

Last updated: Aug 23 '20