Cannot get emojis to work
I do not seem to get the emojis to work in my forum. The code gets printed but in the preview the icon is not there and is also missing when submitted.
I read in other posts to install nodebb-plugin-emoji-extended but in my admin tools I cannot find this plugin
Probably I am missing something obvious, can anyone help me?
@greyteapot do not install emoji-extended. It's features are incorporated into the normal emoji plugin and it is outdated and deprecated.
You need to have
nodebb-plugin-emojiinstalled and enabled. You also need to have at least one emoji pack installed and enabled, such as
nodebb-plugin-emoji-android. Then you need to rebuild and restart.
It should work from there.
I can say I’m encountering this problem also and had not reported it yet. (v1.16.)
Emoji appear as broken links but a single page refresh often bring them back. Sometimes it stops. Then returns as an issue.
They emoji will appear in the menu drop down or auto-fill suggestion, but when the post is commit again broken.
Initially these 2:
Did many rebuilds both of emoji and forum (1.16) via ACP.
I have uninstalled the Android and I'm trying gout the Apple - https://github.com/NodeBB/nodebb-plugin-emoji/tree/master/packs/apple (2.0.1)
Note: Sometimes I need to refresh the plugins > emoji page in the ACP, to get the "Buil dEmoji" button to do it's thing.
Hey so I also ran the following in the cli just in case:
npm upgrade nodebb-plugin-emoji
I also update npm to version 7.5.3 > 7.5.4
Things do seem more stable but I am not ready yet to pronounce it issue free. Give it 24/48 hours and a checking on few other devices later and I'll update.
Nope this is still behaving strangely.
I have seen a warning in the log about the emoji plugin not being compatible!
Emojis present on first page load as broken images, a page refresh displays them. Navigate away and navigate back and they are broken again.
The Build Emoji button has always completed successfully in my experience.
Sometimes I try then also a full rebuild via the ACP. None of this seems to make a difference.
Finally, I tried to create a custom emoji, while it saved, I had to buy;/restart to get it to appear int he selector panel.
Tried a custom emoji, same deal, it appears as a broken image, refresh's and it's there. Nav away and back to page, all broken again.
Maybe there is something at the nginx level that needs to be addressed.
I could not get it to work.
I get error messages:
When i install the ...android it says to require a peer of nodebb-plugin-emoji@^2.0.0 but none is installed
I change it - No difference
When I go for apple it says...requires a peer of nodebb-plugin-emoji@^3.4.2 but none is installed
I change it - No difference
I also have this message but I do not know what it means ???:
BEGIN emojis -->
emojiscould refer to the top-level value
.emojisproperty of the current element, so compiler must emit code for both cases
| note: Migrate to modern syntax to avoid the ambiguity. This will become an error in the future.
@omega I am using nginx as well. What do you suggest could be the Problem?
@majr it looks like you aren't on the latest version of the plugins. Try this:
npm install nodebb-plugin-emoji@latest nodebb-plugin-emoji-android@latest ./nodebb stop ./nodebb activate emoji ./nodebb activate emoji-android ./nodebb build ./nodebb start
You should not see the
require a peer of nodebb-plugin-emoji@^2.0.0warning or the
ambiguous inner beginwarning. Regardless, these are warnings that you can usually ignore. They're meant for plugin devs, not for users. Also in the future, please share the whole error, not one randomly cut off.
Then Build Emoji Assets from the plugin page, wait 30sec, and do this:
./nodebb stop ./nodebb build ./nodebb start
You think I would have configured this right... the refresh was the clue... I forgot to set the
httpsin the config.json file... thanks for pointer to look in the browser console! It was easier to observe the flip from
Hello, thank you for all your help but it made no difference. I did it exactly as you explained.
I have one error in the console of the browser. Transplated in English
the android plugin says:
"Failed to load resource: The request timed out". That would be a little bit strange.
I wonder why. Is my server too slow to show emojis? I am using nginx.