emoji did not display the pictures
-
I installed emoji did not display the pictures, and when i post :), it shows the link to image like:
http://localhost/image.../img...png , how can i make it to show as domain name not as localhost?
-
You need to set up your domain name within
node app.js --setup
(or./nodebb setup
if you prefer) (or editconfig.json
if you prefer)
-
that i solved by adding the domain name and reset the nodebb, however now i can add
but i can see in the post like this:
" alt="grinning" src="http://domain-name.com:80/plugins/nodebb-plugin-emoji-extended/images/grinning.png" />
Any ideea?
plugins nodebb-widget-essentials and markdown are installed.
-
you can get rid of the
:80
by setting "Use a port number to access NodeBB?" ton
.
One other suggestion: running NodeBB directly on port 80 isn't recommended, you may want to set up NodeBB on any other port like4567
and proxy it via one of these (I prefer nginx since it's made for this use-case).
This way you don't need to give NodeBB root-privileges (as you typically need to use 80) -
i was thinking to use it direct, not to use nginx, but if is required i will use it.
-
It's not required, but you'll need to run it as root which may cause security issues (NodeBB doesn't guarantee to be fully secure)
-
nginx running fine with nodebb now, however i can still see:
domain-com:4567/plugins/nodebb-plugin-emoji-extended/images/grinning.png" />
this is my config:
{
"base_url": "http://xxxxxxxxxxxx",
"port": "4567",
"use_port": true,
"secret": "xxxxxxxxxxxxxxxx",
"bind_address": "127.0.0.1",
"database": "redis",
"redis": {
"host": "127.0.0.1",
"port": "6379",
"password": "",
"database": "0"
},
"bcrypt_rounds": 12,
"upload_path": "/public/uploads",
"relative_path": ""
}what i do wrong?
-
-
that helped,
however i can still see:
" alt="stuck_out_tongue_winking_eye" src="http://xxxxxx/plugins/nodebb-plugin-emoji-extended/images/stuck_out_tongue_winking_eye.png" />
which is not normal to show me the link,
i can see the image and the link, pretty bad :(, i-am sorry to disturb with all of this questions, this forum is new to me and i love it
-
so it's sth. like
" alt="stuck_out_tongue_winking_eye" src="http://xxxxxx/plugins/nodebb-plugin-emoji-extended/images/stuck_out_tongue_winking_eye.png" />
? -
If this is the case you have to disable either nodebb-plugin-emoji or nodebb-plugin-emoji-extended since the second one is my fork of the first one and it's an replacement not an addition
-
@frissdiegurke
which one should i keep? -
nodebb-plugin-emoji-extended adds these features:
- Mapping of texts like
:)
,;)
, etc. - Autocomplete for Textarea of emoticons (not for mapped ones)
- Advanced configuration
- Zoom of smileys
- ...
so I surely recommend to keep this one
- Mapping of texts like
-
@frissdiegurke Alright buddy, I'm having a few issues with extended on my forum, any reason why it wouldn't add the "emojicon" class to the smiley? They're all displaying in full size, rather than emoji size.
-
interesting... I'm using chromium all the time and didn't come across this yet. any website?
-
For all the people browsing this topic because they have the same issue as @a_5mith has: it seems to be a HTML sanitizer plugin that does some attribute-clearing work here
-
@frissdiegurke More specifically this plugin, will let the plugin developer know.