@PitaJ seems to work. Disabled the emoji-pack. Did a ./nodebb build after stopping nodebb. I was able to add a new emoji, then hit the 'build asset' button. Stopped nodebb again, did another ./nodebb build, went back to the emoji panel, no issues, no errors.
Thanks again for the help, sorry I wasn't able to find what went wrong.
Unsolved Emoji Plugin - Emojis showing as undefined-alt
Hello! Our community is fairly new to the NodeBB ecosystem and this is personally my first time deploying a nodebb forum.
Everything went smoothly until I tried to install nodebb-plugin-emoji plus some emoji packs.
All emojis default to unicode or undefined
- reinstalled emoji plugin
- reinstalled emoji packs (with the usual restart, install, and rebuild cycle)
- URI mismatch (since we use a subfolder instead of a subdomain)
- dependency issues
- NodeBB v1.17.0
- Node v14.6.0
- npm v6.14.6
You can check out the problem over at our community forum: https://www.akinaroleplay.com/forums/
Have you tried building emoji assets from the plugin page?
What is your url in config.json?
@pitaj Yes I have, and after building emoji assets I also rebuilt NodeBB
url in config.json
I'm also thinking that this is the issue
@photoshoplol please try removing the trailing slash. If that doesn't work I'll take a look at your site.
@pitaj Thanks for replying! I removed the trailing slash but the problem still persists
Initializing NodeBB v1.17.0 http://localhost:4567/forums
Oh actually I missed this earlier. Your url in config.json should be set to exactly the url at which you access your site.
photoshoplol last edited by photoshoplol
Thanks! This kinda fixed it since emojis are now being shown, but an undefined image alt still appears beside them.
@photoshoplol you actually see the alts there rather than the actual emoji picture. In my browser it doesn't show the missing image icon like yours.
I think this is happening because of the composer you're using. Quill? Open up an issue on the emoji plugin GitHub page and I'll take a look.
@pitaj Clearing my browser cache didn't do anything either. For context my browser is Opera GX
Thanks a lot for your help! The issue is now forwarded to the Quill github