mybb2
                                
                                 mybb2 copied to clipboard
                                
                                    mybb2 copied to clipboard
                            
                            
                            
                        User Mentions
It should be able to mention/tag a user within a post using the familiar @username syntax. Several conventions should be included.
Conventions
- Usernames containing spaces should be tagged using the following syntax: @[long separated username].
- Tags should be replaced upon parsing to a link to the user profile, possibly using a custom BBCode such as: [USER=1234]@euantorano[/USER], where1234is the user ID of the tagged user.
- Invalid tags should be left as plain text upon parsing.
- When tagged in a piece of content they can view, users should receive a notification.
When tagged in a piece of content they can view, users should receive a notification.
The alert should always be inserted into the DB and filtered during notification system building IMO. Alike with permission checking, all that stuff should be done during building not saving. As an administrator I should be able to tag an user in a forum he/she is not allowed to see.
Of course. That's what that feature means.
On 21 Mar 2015, at 04:02, Omar Gonzalez [email protected] wrote:
When tagged in a piece of content they can view, users should receive a notification.
The alert should always be inserted into the DB and filtered during notification system building IMO.
— Reply to this email directly or view it on GitHub.
Did you encounter the square bracket syntax anywhere else? I've seen @complex username@ as well, but my impression is that the consensus is to surround the username with quotation marks (@"complex username"); current MyBB plugins also follow that fashion.
The square backs are used by mention me, but I have no problem with any other syntax :smile:
I personally think @"complex name" is the most logical. Square brackets can be annoying to non-programmers, and so keeping things to relatively simple characters would be nice in that respect as well.
Plus, let's put bbcode/mycode syntax behind us and push markdown ;)
The square backs are used by mention me
Doesn't it use @"complex username" too? At least that's what I remember it used. And @'complex username' + @complex username alternatives for usernames with quotes. Which would be the best syntax(es), I think.
@Destroy666x possibly, yeah. I've not used it in a while. Quotes are likely easier. The mentions will likely be converted to a MyCode at parse time anyway (e.g.: [user=1]@euan[/user]).