just tried the date field and it worked but it doesnt look like you can view the results after its finished:
I made a little thing.
This plugin adds a little feature to the mentions plugin. With this enabled, you can hover over a mention and view some information about the mentioned user.
npm install nodebb-plugin-cards
@Schamper Beauutiful, one thing, posts of more than 99, the 3rd digit gets pushed to a new line. Other than that. Alsoo, does this utilise the stats thing of changing 1,000 to 1k? As I have a few users with over 1k posts.
@a_5mith Honestly have not tried that. It's 0.0.1 for a reason haha. I'm just grabbing from the user page API. I don't know if it gets "1k"'d on the server or on the client...
@Schamper I will experiment and get back to you.
Niceeeeeee nice nice niceeee. +1 You must want all my money huh?
Well you're making all the right plugins man. Keep up the good work!
EDIT: This should be fun styling.
The 1k change is a client side thing.
utils.makeNumbersHumanReadable($('.human-readable-number')); is how we use it in core. The elements should have the value in their title attribute.
(woops, posted on my test account by accident)
Haha damn, you're on a roll! Time to bring back plugin weekends so you can take away all our monies
@baris Thanks, added it! I'll wait a bit for some more requests / fixes before pushing 0.0.3.
@psychobunny I only have one more idea for a plugin. Unless we can enter with previously made plugins I'd have no chance
Hitting "reply" on a post while already having a composer open should really add a mention to the current composer instance btw
Hitting "reply" on a post while already having a composer open should really add a mention / quote to the current composer instance btw
It seems to do that for me lol.
Doesn't for me, reported here: https://github.com/julianlam/nodebb-plugin-mentions/issues/28 (quotes work though)
@psychobunny exactly this, quotes work but mentions don't.
That card of yours will look pretty neat when badges are implemented... I'll submit a PR once I get that in
Wow @Schamper, that's some amazing work! This'll go nicely in core...
Time for feature requests
Amazing @Schamper . You are really full of ideas and good ones too. Thanks a lot.
PS : Is it possible to show the user group as well ? Some members were keen to have a special title.
@Schamper hey this looks interesting. Is it possible for admin to modify what is going to be dispayed in mention cards in admin control panel? What I mean...I will have a subgroup of users in my forum, and for them it will be valuable if on hover over of their card other users can see information from their profile - reputation count, Full name, website and location.
@meetdilip, @marcos2 Everything that is visible on a users profile page is currently possible. Theme creators can override the template file by overriding
mentions/card and use any information from the user api.