[RFC] Ability to @mention specific users in posts

Discuss requests for comments/changes posted in the Issue Tracker for the development of phpBB. Current releases are 3.2/Rhea and 3.3/Proteus.
Post Reply
User avatar
Master_Cylinder
Registered User
Posts: 361
Joined: Wed Jul 31, 2013 9:54 pm

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

Post by Master_Cylinder »

I hope it's optional because *I* don't want to turn phpBB int twitter/FB on my forums...
These kids today...
Buy them books, send them to school and what do they do?

They eat the paste. :lol:

User avatar
imkingdavid
Registered User
Posts: 1050
Joined: Thu Jul 30, 2009 12:06 pm

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

Post by imkingdavid »

AmigoJack wrote:Re: Hashtag MOD is a tryout to implement #keyword auto-links. The biggest problem is to isolate plaintext from instructions (speak: HTML/CSS/JS...).

A problem with @ could be the very same: ftp://user:pass@127.0.0.1 is a legal link and some CSS in the post can also have @page. And while you can search for ' @' nicely it won't catch occurances where the @ starts on a new line or is preceeded by BBCode or else. Not to mention cases where you don't want to have it interpreted. Also I foresee programming boards where people tend to not use BBCodes and then paste C, Pascal or Java, which can easily have dozens of matches: pData:= @sData;
Regex can require a whitespace character (space, line, new tab) so isolating @ where it is preceded by whitespace is not an issue. As for the second issue:
1) Don't match any @<foo> where <foo> is not an existing username
2) Don't parse @<foo> during submit. (i.e. while you're typing if you start typing @<foo> and you select a username, then it will be parsed as a mention, but otherwise it will be plaintext). For work, I am using this @mentions jQuery plugin which we could use/adapt to insert a special bbcode/tag to signify a mention.
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

keith10456
Registered User
Posts: 523
Joined: Sat Apr 22, 2006 10:29 pm
Contact:

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

Post by keith10456 »

diego898 wrote:whoops I meant a ticket in the tracker as suggested a couple posts ago
Does anyone know?

User avatar
MattF
Extension Customisations
Extension Customisations
Posts: 675
Joined: Mon Mar 08, 2010 9:18 am

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

Post by MattF »

I have been seeing a growing number of people @mentioning users in posts here and ad phpbb.com

Does everybody know @mentions do not work in phpBB?

Anyway, I thought this thread should be resurrected, as @mentions must be becoming a natural instinct for many of us, since I see people using it more and more here.

Maybe its time to take a look at this again (11 pages on this topic means it must be a popular idea)
Has an irascible disposition.

User avatar
5hocK
Registered User
Posts: 15
Joined: Tue Aug 28, 2012 3:00 pm
Location: England
Contact:

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

Post by 5hocK »

VSE wrote:Does everybody know @mentions do not work in phpBB?
People probably use @name instead of quoting, I imagine they do know it doesn't work, but it's quick and to the point.
Quoting while replying is what a large minority don't know is possible I reckon.

User avatar
Mess
Registered User
Posts: 199
Joined: Wed Jun 13, 2012 10:14 am

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

Post by Mess »

+1
Adding @name makes a lot more sense now with the notification system.

keith10456
Registered User
Posts: 523
Joined: Sat Apr 22, 2006 10:29 pm
Contact:

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

Post by keith10456 »

Mess wrote:+1
Adding @name makes a lot more sense now with the notification system.
+1

User avatar
Louis7777
Registered User
Posts: 394
Joined: Fri Apr 04, 2014 12:32 am

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

Post by Louis7777 »

+1 of course.

I don't know whether anyone has mentioned it, but there's a mod for 3.0: User Mention MOD

User avatar
MattF
Extension Customisations
Extension Customisations
Posts: 675
Joined: Mon Mar 08, 2010 9:18 am

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

Post by MattF »

Louis7777 wrote:I don't know whether anyone has mentioned it, but there's a mod for 3.0: User Mention MOD
That would no longer apply to 3.1 because now we have the notifications system. So now, an @username would trigger a notification (and email) for that user, rather than a PM.

Also, now that we have live/ajax member search, I would guess that it could be used to start showing the list of users while typing @xx...
Has an irascible disposition.

User avatar
nickvergessen
Former Team Member
Posts: 733
Joined: Sun Oct 07, 2007 11:54 am
Location: Stuttgart, Germany
Contact:

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

Post by nickvergessen »

VSE, we can still have a look at it ;)

However I think we might run into problems in some situations:

Code: Select all

@Hi Oh Great Conflict
The the following users exist:

Code: Select all

Hi
Hi Oh
Hi Oh Great
Hi Oh Great Conflict
Whom should we notify? Yes, the own the user selected from live search. But the code won't know that anymore.
Member of the Development-TeamNo Support via PM

Post Reply