[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
Infrastructure Team
Infrastructure Team
Posts: 794
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

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

Post by hanakin » Wed Jul 02, 2014 10:21 am

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

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

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

Post by mrgtb » Sat Jul 12, 2014 6:30 pm

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

User avatar
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 » Sun Jul 13, 2014 10:57 am

@mrgtb: which one please ?

User avatar
hanakin
Infrastructure Team
Infrastructure Team
Posts: 794
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

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

Post by hanakin » Sun Jul 13, 2014 5:09 pm

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.

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

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

Post by mrgtb » Sun Jul 13, 2014 5:45 pm

That's different then if using notifications also.

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

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

Post by DavidIQ » Mon Jul 14, 2014 1:51 am

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 » Tue Jul 22, 2014 9:22 pm

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 » Wed Jul 23, 2014 12:21 am

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

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

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

Post by mrgtb » Wed Jul 23, 2014 7:03 pm

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 » Tue Aug 26, 2014 12:40 pm

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