I've just made a fork of nodebb-plugin-login-mysite and modified to use my api to login.
It work fine but i've a problem, a user can change on main database both his email and his username, and in this case nodebb will make a new account on next login.
The only thing wich can't change on main db is uid , any hint to solve this problem ?
Sorry for my bad english.
[nodebb-plugin-mentions] Username Mentions have landed!
-
Suddenly have an idea to improve the mentions, how about making an autocompletion for the typed word? Ajax feel? hee
-
Hehe, that would be nice, I'd like that to be a part of it too.
-
@julian I noticed that mentions doesn't work when username has a space between words
-
Hi @dove -- that is true. They'd work if you use the sluggified version (so, dashes instead of spaces).
Looking to improve on this in a future release of the mentions plugin.
-
@julian Dude you're awesome! I just noticed the autocomplete
-
Hahha, a ways to go with that one too, but @baris is the one who should get the kudos for that
-
Oh, well in that case @baris, Awesome! I also just noticed that your name doesn't autocomplete.... is this only looking at the usernames of users that have posted in the thread rather than the whole forum?
-
For now, yes... it's a matter of efficiency at this point. Once we have more time to devote to the plugin, it'll get better
-
@julian our forum has a custom composer.js that features full forum user autofill. Unfortunately it also requires a custom database function for doing a fuzzy search on the usernames.
-
does not work with names containing the point
smth like this @mouse.luka
-
@mouseluka said:
does not work with names containing the point
smth like this @mouse.luka
It should, since the slug for that would be mouse-luka. So @mouse-luka should actually mention the user mouse.luka.
-
So Reply button should use the name with "-"
-
@mouseluka you're right, it should. That's a bug
-
v0.4.1-2 Released
- Compatibility with v0.4.0 of NodeBB
- Mentions autocomplete should no longer suggest lower-case names even though the search results show proper capitalisation
- Usernamed with periods are better supported.
- Still a couple edge cases here and there, but working better than before.
-
@julian Brilliant, silly question, how do I go about updating? Is it
npm update
? -
Yip,
npm up
ornpm update
. -
@planner Thanks.
-
As @planner says,
npm up
can do it. You can also instruct npm to install a specific version:npm i [email protected]
-
@julian I m thinking if it is possible to @<group name> to "announce" to the whole group... I seems to have the group there but it does not works...
-
erased usernames are suggested by the plugin
https://github.com/julianlam/nodebb-plugin-mentions/issues/176