[nodebb-plugin-shoutbox] Shoutbox plugin
-
http://stackoverflow.com/questions/280049/javascript-callback-for-knowing-when-an-image-is-loaded could be of some use to you.
The .complete callback looks like what I'd try for your situation.
-
@Schamper It's definitely going to add some client-side load. I think you might be able to put the check on each image and then put it on a toggled timer to re-fire the scroll, so you don't end up re-scrolling the shoutbox 20 times. I can't really think of another way to accomplish it.
-
Glad to hear that.
Could you post an annoucement when you plublish? Thanks.
-
0.2.2 released with 0.6.x compatibility!
This also comes with a pretty large refactor of the server code. Client side is still the same but will also be pretty much remade soon.
There's a small database change necessary for this version, so be sure to backup your database before updating!
If you run into any issues, let me know!
-
Thanks @Schamper
Here are some bugs
disabling Gist and Bugs doesn't work (the animation shows its disabled) but when you go back on the page it is enabled, even after hitting "save". Also not sure if Show navigation link works, unticked or ticked, any navigation link is clickable? xDupdate
looks like anonymous users see no chat content and all forums disappear and recieve "invalid data" error, even if its not hidden within the widget settings -> http://tilg.in/3001_29_72.pngI've temporarily fixed this by disabling shoutbox 0.2.2 and restarting my nodebb and anonymous users see forums again.
Running latest master.
-
@chas thanks for reporting.
It's known that the disabling of features doesn't work but it's something I haven't looked in yet.
Anonymous users can't see the shoutbox by design. The forums disappearing is an issue though. I'll look into it.This release was mainly just for 0.6.x compatibility. Actual bug fixes and feature improvements will follow.
-
Noticed in the 0.6.x release saving settings does not actually work, even changing within the shoutbox widget when its on the front page. (shows an error can not save)
But I take it this will be fixed. What I was just wondering in general how hard this would be to confine the shoutbox to within particular pages or subcategories (parents). Would be handy if say you didn't want the shoutbox to appear on the main window, but be available in different sub categories. Nice work on the plugin btw