[RFC] Ability to @mention specific users in posts

Discuss requests for comments/changes posted in the Issue Tracker for the development of phpBB. Upcoming releases are 3.2/Rhea and 3.3.
Post Reply
User avatar
hanakin Online
Front-End Dev Team Lead
Front-End Dev Team Lead
Posts: 907
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: [RFC] Ability to @mention specific users in posts

Post by hanakin »

EXreaction wrote:The idea earlier was to use bbcodes for this, e.g. [mention]some user[/mention]. To make it "nice" like how everyone else does it, since we do not use a wysiwyg editor to hide those bbcodes, we would simple make a javascript listener for when someone types @[^\s] in the text area and then pop out a username search based on what they have typed since the @ sign. Hitting esc would close the window, and selecting a user or hitting enter would replace the @ and whatever they typed with the selected user wrapped in a [mention] tag.

Agree +1 to this approach
Donations welcome via Paypal Image

mrgtb
Registered User
Posts: 221
Joined: Wed Nov 28, 2007 10:09 pm

Re: [RFC] Ability to @mention specific users in posts

Post by mrgtb »

There's a BBCode for this. To use @username in posts

ForumsFaciles
Registered User
Posts: 25
Joined: Sat Jun 05, 2010 10:49 pm
Location: On Ascraeus
Contact:

Re: [RFC] Ability to @mention specific users in posts

Post by ForumsFaciles »

@mrgtb: which one please ?

User avatar
hanakin Online
Front-End Dev Team Lead
Front-End Dev Team Lead
Posts: 907
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: [RFC] Ability to @mention specific users in posts

Post by hanakin »

mrgtb wrote:There's a BBCode for this. To use @username in posts
I think maybe you are missing the point as the concept is to use BBcode to accomplish this but it should send a notification as well which would also require settings for the notification center to disable receiving @meniton notifications.
Donations welcome via Paypal Image

mrgtb
Registered User
Posts: 221
Joined: Wed Nov 28, 2007 10:09 pm

Re: [RFC] Ability to @mention specific users in posts

Post by mrgtb »

That's different then if using notifications also.

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1834
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: [RFC] Ability to @mention specific users in posts

Post by DavidIQ »

It's always been about having notifications just like it happens when one is @mentioned anywhere else.
Image

User avatar
jsebean
Registered User
Posts: 165
Joined: Wed Nov 17, 2010 1:40 am
Location: Atlantic Canada

Re: [RFC] Ability to @mention specific users in posts

Post by jsebean »

So if BBCode is the verdict, what happens when I register the username [/mention] and people try to mention me like [mention][/mention][/mention]?
-Jonah

User avatar
EXreaction
Registered User
Posts: 1555
Joined: Sat Sep 10, 2005 2:15 am

Re: [RFC] Ability to @mention specific users in posts

Post by EXreaction »

Unfortunately it's just not going to work for you then.

mrgtb
Registered User
Posts: 221
Joined: Wed Nov 28, 2007 10:09 pm

Re: [RFC] Ability to @mention specific users in posts

Post by mrgtb »

jsebean wrote:So if BBCode is the verdict, what happens when I register the username [/mention] and people try to mention me like [mention][/mention][/mention]?
Add that to your username ban list. :D

ecwpa
Registered User
Posts: 181
Joined: Mon Jan 24, 2005 2:10 am
Contact:

Re: [RFC] Ability to @mention specific users in posts

Post by ecwpa »

Maybe using @ isn't a great idea since there's a big change for people mentioning actual twitter handles, maybe it should be something like reddit mentions, they mention users like this /u/username since user profiles have URLs like reddit.com/r/username, so using /u/ triggers the mention function. I'm guessing phpBB won't be using short urls but something like this looks elegant enough for me.
Slightly better English than it was in 2005, still improving :D

Post Reply