[nodebb-plugin-cards] Show cards when hovering over user links!
-
@Schamper said:
@zenkamal I'm unable to reproduce...
My "updated regex" had a flaw though, so I fixed that.
@a_5mith @psychobunny I added an event handler to remove a card when you click/tap outside of it. I've also published a new version. Let me know how it works.
tldr 0.0.9 published.
Well this works way better.
-
@Schamper Yeah for the most part.
-
Works flawlessly now.
-
Updated to version 0.1.2, should fix the issue some of you are having on the latest NodeBB.
-
I've updated this to 0.1.3 to support the new compatibility hash, which I guess was the reason why it's disabled on this forum now :).
This plugin will soon get a large update which might be interesting to developers. I'll finally work on my original idea for this plugin because I need it for another plugin that I'm working on
-
Updated to 0.1.4, now compatible with NodeBB 0.9.x and its fancy user icons
Edit: I guess that "large update" never happened, huh
-
Just curious- would it be at all possible to include profile covers in this plugin? Like this, somewhat?
http://codepen.io/drugoi/pen/gbwZrp -
@Arc I would definitely like to add it as a new design for the plugin. Feel free to submit a PR with it!
Otherwise you could always change the card template if you're using a custom theme. It's just a matter of adding a custom
cards/profile.tpl
to your theme. -
@Schamper Hey, thanks for the plugin! May I suggest some modifications?
I think it should check if the forum has the chat enabled before displaying the chat link in the card.
Also maybe avoid displaying the card of your own user or, at least, avoid displaying it on the navbar's dropdown menu since it falls out of the screen.
I also added a link to the profile from the username in addition to the picture, but I guess this is not very relevant.Thanks!