Cannot get emojis to work
-
Thank you for your reply. I installed the two Plugins but the emoji will not show in preview or when published. on the left side the code appears, when I select an emoji but on the right side there is no emoji... and when i publish there is also no emoji.
Do you have an idea why?
-
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.
-
what version of the plugin are you using?
Try Building Emoji Assets from the emoji admin page, waiting 30sec, then running a rebuild and restart.
-
Initially these 2:
https://github.com/NodeBB/nodebb-plugin-emoji (3.4.3)
https://github.com/NodeBB/nodebb-plugin-emoji/tree/master/packs/android (2.0.1)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.
-
@majr are you still having issues? Any errors in server logs or in the browser? Does the build emoji button complete successfully, showing a success message? What version of Node are you using?
-
Hey so I also ran the following in the cli just in case:
npm upgrade nodebb-plugin-emoji
Also:
./nodebb upgrade-plugins
Then finally,
./nodebb build
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 differenceWhen I go for apple it says...requires a peer of nodebb-plugin-emoji@^3.4.2 but none is installed
I change it - No differenceI also have this message but I do not know what it means ???:
BEGIN emojis -->
| ^^^^^^emojis
could refer to the top-level valueemojis
or the.emojis
property 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.Outcome always:
@omega I am using nginx as well. What do you suggest could be the Problem?
-
@majr said in Cannot get emojis to work:
nodebb-plugin-emoji
Do you have nodebb-plugin-emoji installed?
-
@omega can you look for 404 errors in your browser console? It sounds like the emoji images are pointing to the wrong place.
-
@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.0
warning or theambiguous inner begin
warning. 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
-
-
@omega can you share more information? Like a screenshot of your console showing all of the errors?
Or even give me a link to your site so I can investigate.
-
@pitaj Solved!
You think I would have configured this right... the refresh was the clue... I forgot to set the
http
tohttps
in the config.json file... thanks for pointer to look in the browser console! It was easier to observe the flip fromhttp
tohttps
when refreshing. -
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.
-
@majr please provide the full error. Include what resource it says timed out.
Do you have any errors in the server log?
Is your site public? I'd like to see what's going on.
-
-
@majr please check the url value in your
config.json
. It appears that you left the:4567
port at the end, while your site is not publicly at that port. The url value inconfig.json
should be set to exactly the URL at which you access your site:https://forum.eltern-team-up.de