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.
Some problem with plugins
-
i use emoji plugin ,but it's src show like this.
<img class=" emoji"="" alt="grinning" src="http://127.0.0.1:4567/plugins/nodebb-plugin-emoji/images/grinning.png">
why bath url still 127.0.0.1? how to set it to my domain?
-
It's either config.json in the root of your nodebb install, or you've misconfigured Nginx if you use it.
Or it could be a third thing I've overlooked.
-
@a_5mith
I will check it .thanks for your reply.
-
@Loethen-Shen
If you are usingnodebb-plugin-emoji-extended
then there is a 'dirty' fix for that.
Navigate to your Emoji plugin folder and openindex.js
.
Example path:/home/nodebb/node_modules/nodebb-plugin-emoji-extended/index.js
.Once you've opened the file, find a part where it states
emojiPath="http://127.0.0.1:4567/plugins/nodebb-plugin-emoji/images/"
.
Set this to something like thisemojiPath="http://forum.domain.com/plugins/nodebb-plugin-emoji-extended/images"
Of course, this will only work if you are running NodeBB with nginx or Apache proxy.