Just pushed up a massive update.
PM button now shows unread convo count
- I chose to show unread convo count instead of unread PM count because it's simply more useful.
- If someone creates 100 PMs in a convo with you, then it will just add 1 to that count instead of 100.
- Notification count is updated when you view the convo.
- You can reset the counter back to 0 by clicking "Clear Notifications" from your convos page.
Better URLs for user profiles
- User URLs have been changed from
/users/42
(user ID) to
/users/hank
(username)
- Now it's actually possible to navigate straight to someone's profile if you know their username.
- To convert a username into its URL-form (the user "slug"), just convert the username to lowercase and replace spaces with "-". For instance, if a user's username is "My_Name Is George 123", then their profile URL is
/users/my_name-is-george-123
.
- Old-style URLs (e.g.
/users/1) will redirect to the new username-based URL. This is so that old links don't break.
Experimental @Mention system
Example:
->
@BBeast
@Mentions will soon send notifications to the users you @Mention (maybe a max of 5 per post), but the notification part is not yet implemented.
Notes/caveats about @Mentions:
- It's experimental
- Even if you wrap a @Mention in [noparse], [code], or [pre] tags, the mention will still be parsed. Low priority issue, though.
- They are case-sensitive. Compare: [@mahz] vs
@Mahz
- If you try to mention a username that's not in the system, then it won't work. Example: [@ThisUserDoesNotExist]
- Quoting will automatically mention the quoted person. Example:
Test
The idea is that you should receive a notification when someone quotes and replies to you. Kinda like Reddit.
TODO: I need to tweak it so that if you quote a post with nested quotes, then the inner quotes should not trigger @Mentions.
TODO: Typing "[@" and a couple characters will trigger a small username-suggest pop-up like Twitter and Facebook.
TODO: @Mentioning someone will actually send them a notification