[nodebb-plugin-shoutbox] Shoutbox plugin
-
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 -
-
hi @Schamper , in the settings, there is "maximum number of shouts that can be returned" and it is "50" max, is there any technical reason that this can be 50? or can it be increased?
-
Hello @baris
Since 3.2.0, I see this when shoutbox is on full mode or not, when the shoutbox is empty
Putting it back down on fix position may be better in terms of design, no ?
Moreover, there is no margin on the overlay message "The Shoutbox is empty, start shouting!"
-
Better !
Thanks
-
oups sorry
I forget