I already have a regex find that is usable with that . Ready to use.Senky wrote: @"my nickname"
otherwise it is almost impossible to correctly catch all mentions of multi-word usernames by php parser.
[RFC] Ability to @mention specific users in posts
Re: [RFC] Ability to @mention specific users in posts
Re: [RFC] Ability to @mention specific users in posts
I would like to see it implemented with javascript regarding to how Facebook does it. You @ mention someone and then it shows a list of users. With that said, now people would have to think how to implement this in CKEditor if they use it, or what ever rich text editor they use, and what to do if a plain text editor was used (maybe the feature shouldn't work at all if plain text was used?) How is it going to be processed?
-Jonah
- callumacrae
- Former Team Member
- Posts: 1046
- Joined: Tue Apr 27, 2010 9:37 am
- Location: England
- Contact:
Re: [RFC] Ability to @mention specific users in posts
There's a ticket somewhere for improvements to the Find user thing to use AJAX, which I was planning on doing. It could be used for this, too.jsebean wrote:If there is a wide match you could use the already existing find user system that's already used in PMs and the ACP.
- callumacrae
- Former Team Member
- Posts: 1046
- Joined: Tue Apr 27, 2010 9:37 am
- Location: England
- Contact:
Re: [RFC] Ability to @mention specific users in posts
Facebook doesn't do it like that, it doesn't even have @ anymore.jsebean wrote:I would like to see it implemented with javascript regarding to how Facebook does it. You @ mention someone and then it shows a list of users. With that said, now people would have to think how to implement this in CKEditor if they use it, or what ever rich text editor they use, and what to do if a plain text editor was used (maybe the feature shouldn't work at all if plain text was used?) How is it going to be processed?
Re: [RFC] Ability to @mention specific users in posts
I can tag users in posts in facebook. It doesn't have the @ sign in front but it's the same thing, mentioning a user in a status update, a user gets a notification. You can use @ when trying to mention someone on facebook, the @ will be taken away once you select a name you're tagging.
Of course, phpBB and Facebook isn't the same, but the idea is the close to the same. How would it be implemented though in phpBB?
Of course, phpBB and Facebook isn't the same, but the idea is the close to the same. How would it be implemented though in phpBB?
-Jonah
Re: [RFC] Ability to @mention specific users in posts
Something like "Mentions" perhaps?Erik Frèrejean wrote:There should be some sort of "notification" box which is used for these kind of notifications. I don't think that the end user should be able to chose, just add a new special box for these kind of notifications.
- Erik Frèrejean
- Registered User
- Posts: 207
- Joined: Thu Oct 25, 2007 2:25 pm
- Location: surfnet
- Contact:
Re: [RFC] Ability to @mention specific users in posts
The biggest advantage of making it more generic (i.e. notifications) is that you can utilise it if phpBB down the road needs to sent other notifications and MOD authors can use it as well to send out notifications.AliasM2K wrote:Something like "Mentions" perhaps?Erik Frèrejean wrote:There should be some sort of "notification" box which is used for these kind of notifications. I don't think that the end user should be able to chose, just add a new special box for these kind of notifications.
Available on .com
Support Toolkit developer
Support Toolkit developer
Re: [RFC] Ability to @mention specific users in posts
Well, once the "search user should recommend usernames" is finished and merged, we can figure out a way to use the same thing in finding usernames with spaces.
Tagging can also be done in a style similar to the github markup for links, for eg:
and the parser should output something like:
Tagging can also be done in a style similar to the github markup for links, for eg:
Code: Select all
[@user name], you should try this option : blabla or ask [@user2] about it
[@1] [link_to_profile]
[@2] [link_to_profile2]
[url=http://path_to_profile]user name[/url], you should try this option : blabla or ask [url=http://path_to_profile2]user2[/url] about it
There is a text here !
Re: [RFC] Ability to @mention specific users in posts
It's still there, at least for me:callumacrae wrote:Facebook doesn't do it like that, it doesn't even have @ anymore.
A "mentions" section separated from pm sounds good to me.
Slightly better English than it was in 2005, still improving
Re: [RFC] Ability to @mention specific users in posts
Erik Frèrejean wrote:^ that.brunoais wrote:Personally I wouldn't like to have this kind of PM mixedup with the rest of the PMs, I'd rather have a folder specially made for these warnings. I think you should take that in mind while implementing this feature, don't force the user to receive the PM about this in the inbox, allow him to choose the folder to receive this.
There should be some sort of "notification" box which is used for these kind of notifications. I don't think that the end user should be able to chose, just add a new special box for these kind of notifications.
I've created a RFC for the notification issue: viewtopic.php?f=108&t=42829