NodeBB Emoji



  • I have installed and enabled nodebb-plugin-emoji in my workspace, however when I am loading the page with posts that contains emoji codes, images are not loading. I have noticed also in my terminal this warning:

    warn: [plugins/nodebb-plugin-emoji] "callbacked" deprecated as of 0.4x. Use asynchronous method instead for hook: filter:post.parse

    Is this something related for not loading the images? What should I do?


  • Global Moderator

    Can you confirm what URL the emojis are trying to access? If the URL is localhost, open your config.json file, and change your base URL from localhost to either the IP of your server, or the domain name. (Either will work)

    Also make sure you have either nodebb-plugin-emojis OR emojis-extended. Having both will conflict and not work. Also make sure that if you have nginx or apache configured, to set use port to false in config.json. (Config.json is in the root of your nodebb folder)



  • @a_5mith I have nodebb-plugin-emojis AND emojis-extended installed. I removed the nodebb-plugin-emojis plugin but still not working, I have already configure config.json file and changed it to 127.0.0.1. New warning has prompted me:

    warn: [socket.io] Unrecognized message: modules.emojiExtended

    I have also nodebb-plugin-emoji-skype installed.


  • Global Moderator

    127.0.0.1 is localhost. If you do this on a live site, the URL of the images will be looking on the visiting users computer, not your server. If you're testing locally, then it's fine. But if it's on any kind of external server, localhost/127.0.0.1 won't work. Try disabling emoji Skype as well, then restart nodebb. I use emoji extended (it has the most options) and it works fine on 0.5.0-2/3.



  • I know this is quite old, but i encountered the same problem. I had localhost written in my config.json, but changed it to my domain. I still get GET http://localhost:4567/plugins/nodebb-plugin-emoji-extended/images/smile.png net::ERR_CONNECTION_REFUSED
    I also restarted my server with the admin gui - is a hard restart or reinstallation necessary for the changes to take effect?


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.