[nodebb-plugin-shoutbox] Shoutbox plugin
-
Hi,
I love this plugin although here is my current setup.
How can I move the shoutbox up (or footer down to be fair,) and put some line breaks or something in between it to space it out?
-
@lewis-belton Plenty of ways to add some padding. You can grab the shoutbox div in JS and add padding/margin at the top or just give top space in CSS.
e.g
$('#shoutbox-main').css("padding-top", 20);
-
@faisal-zahid you can just do that in custom CSS, no need to jQuery here:
#shoutbox-main { padding-top: 20px; }
-
-
@schamper After the update to 1.5.3, shoutbox widget on custom pages, homepage or its own dedicated route doesn't render. No errors in the log as well. I described it here
Upgrade from 1.5.2 to 1.5.3 breaks shoubox plugin
Nothing different in logs. It just dosent render the shout box widget anywhere. Reverting back to 1.5.2 gets things back to normal. Console shows this warnin...
NodeBB Community (community.nodebb.org)
-
@Schamper Lovely plugin! We are hoping shoutbox allows following:
- Ability to upload pics, songs, videos, from laptop/device and share in shoutbox and play as in html5?
- Support for shoutbox in latest node bb version 1.6 update and on wards ?
- A character limit on the number of characters while shouting, this will be to prevent spammers from posting very large messages.
- A feature to ignore users/ block users but this should be a global feature i guess.
you guys rock!
-
Can we have an ability to let the users reply to individual messages or quote indivudal messages so that chat is more meaningful in case of multiple messages?
Whatsapp and skype does this -
@fais3000 said in [nodebb-plugin-shoutbox] Shoutbox plugin:
To my defense, I did say you can do it in JS "or" CSS
On a separate note. @Schamper really love your shoutbox plugin, any plans for updates that'll make it work with current Nodebb version?
@fais3000 said in [nodebb-plugin-shoutbox] Shoutbox plugin:
@schamper https://github.com/Schamper/nodebb-plugin-shoutbox/issues/111
Guys are we going to fix the compatibility of shoutbox with the latest node bb update (v1.7.3) ?
-
This post is deleted!
-
warn: [widgets.render] passing a string is deprecated!, filter:widget.render:shoutbox. Please set hookData.html in your plugin. (in ./nodebb log)
FIX (instead old app.render on 97 line '/nodebb-plugin-shoutbox/library.js')
var current_time = (new Date()).getTime(); app.render('shoutbox/panel', { html: '<div id="tablediv"></div>', time: current_time }, function(err, html){ widget.html = html; callback(err, widget); });
-
@evgeniy-onegin I don't think the
current_time
thing is necessary. Also, you can useDate.now()
instead of(new Date()).getTime()
just FYI.Also, you can do code blocks like this:
``` var currentTime = Date.now(); ```
Which looks like this:
var currentTime = Date.now();
-
Is there any way to make this shoutbox look similar to the one in the image?
in this chat all users who are watching the shoutbox will be connected
you can send them private, you can create more rooms
you will see the same hierarchies that exist in the forum
you can see the history of the conversations in a file that you can personality for days you want to save the historythis is a shoutbox of the phpbb forum
I'm thinking of moving from phpbb to nodebb but my people are very used to the shoutbox that we have
below a picture of our chat
Can you get to do something like that? we are far?
if you need it, I can give you a test user