[nodebb-plugin-shoutbox] Shoutbox plugin
-
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 -
Hello @baris
I have a link that is in the Brand menu which points to the shoutbox with the
/shoutbox
link :
When you click on this link, it does display the shoutbox but it displays the page when you have clicked on before in the browser tab.
For example, if I was on the homepage when I clicked on the Shoutbox link, it is home that is stipulated in the tab, if I was in Recents, it is Recents etc..
Would it be possible to display Shoutbox ?
And when I load the shoutbox I have thos error on browser console :
-
Ok thanks thats work