[nodebb-plugin-shoutbox] Shoutbox plugin
-
I've been using the NPM version if that makes any difference.
-
I can't disable gist function in new version. It just said saved but when I comback the gist still be ticked.
-
Since a lot of people keep asking me to publish the new shoutbox to npm, I just published it under a beta tag.
If I should trust the npm docs, you can install it using:
npm install nodebb-plugin-shoutbox@beta
This is far from completed from what I have in mind, hence the beta tag. Note that some things might not work properly, not being able to disable features is one.
-
How can I expand the height of shoutbox on
www.example.com/shoutbox
to fit in the whole page? thanks in advance. -
You can use a CSS3 feature called
vh
. It's supported in pretty much everything except Opera Mini & Android Browser at the minute.Put this in your custom CSS:
#shoutbox-content, #shoutbox-archive-content { height: 70vh; overflow-y: scroll; }
Adjust the 70vh until you're happy with it's positioning. It will look the same on all screen sizes. vh is a % of the view height. Which is the height of the users browser.
For me, using
50vh
removes the scrollbar on the page, and makes it full height including the "who's online" underneath. -
+1
works like charm. thank you so much. @a_5mith
-
@humanmadeaccount said:
+1
works like charm. thank you so much. @a_5mith
No problem, there's a few issues outstanding on things like iOS7 or IE9, you can read about them here