[nodebb-plugin-shoutbox] Shoutbox plugin
-
Reworked the admin page:
See if you can guess the new feature
-
haha, where have I seen this design before...
-
@psychobunny I had some inspiration from recent developments
-
@Sp4rkR4t said:
Being able to disable gists & archives is good, I did that manually.
Funny, because I hate it when forums disable the ability to view the shoutbox archive... Really tempted to create a guide to bypass it...
-
i have an issue with images path for emoticons (i am running nodebb behind nginx )
paths generated by this plugin are like http://xxx.xxx.com:4567/plugins/nodebb-plugin-emoji-extended/images/grinning.png
to be correct the port 4567 should be removed -
@manuel Sure? what path do the other emotes have?
-
@Scuzz said:
@manuel I get the same link to an image no matter where the image is, shoutbox and the forums. They all have the port numbers. I am using nginx too
i run nginx on public ip port 80 and it forwards to nodebb on 127.0.0.1:4567
the only "fix" i could do is to add a listener on 4567 but i don't understand why the emoji plugin adds the port when nodebb does not for all the other urls -
@manuel It's because I use
nconf.get('url')
to get the domain (in fact this remains from @julian).
I need any way to get the absolute path of NodeBB-root. I guess thenconf.get('url')
is ment to avoid problems with sub-directories (that would appear if I use/
instead).
Since I cannot see any automatic way around this for all use-cases you may just replaceemojiPath=nconf.get("url")+"/plugins/nodebb-plugin-emoji-extended/images"
byemojiPath="/plugins/nodebb-plugin-emoji-extended/images"
within your/nodebb/root/node_modules/nodebb-plugin-emoji-extended/index.js
you'd need to redo this every time I update the plugin until this may get supported.
Maybe a url-prefix field will occur within the ACP/emoji-extended next update -
kk, in this case it's just a problem of @manuel s configuration
I just usednconf.get('url')
without knowing anything about nconf