Babble - A Chat Plugin

Hey all! Thanks so much for this plugin - currently excitedly waiting for it to be installed. :smile: Quick question - is it possible to turn Babble on/off depending on the user group? For example, if we wanted this feature to be available for staff only, would that be feasible?

Yes, only people who have access to a particular group will be able to see chats for that group. It’s very feasible (in fact a primary use case I think) to turn babble on only for admins or moderators, for instance.

@outofthebox The behaviour should be to scroll to the last message in the chat, but perhaps that’s not happening in some instances? Can you identify when it fails to scroll? Maybe there’s an error in the console about it?

1 Like

That’s great to know, thank you! :smile:

1 Like

Hell Team

Is it possible to add a text ‘Chat’ or change the icon to something like this image

Hello everyone,

I’m so new to Discourse (2 hours ago got my first interaction).
Maybe this is duplicate but I couldn’t find an answer, I need to create a Live Chat support for a Community Tool (my preference right now Discourse), I found the Babble Plugin but I don’t know how to make it work as a HelpChat.

Can anyone help me, or should I start thinking of developing the plugin?

Best regards,
Ibrahim Vasija

This might be a better option:

1 Like

Hi @gdpelican,

Is it possible for new messages in Babble to:
A) Generate a notification in Discourse’s notification window (or)
B) Generate an email to users watching the associated Category

In general, I’m wondering how to create more buzz/clarity/engagement around chat. People don’t want to miss messages / have FOMO, so feeling like they will definitely be notified of new chats would help with adoption. (We are using this on our intranet). I welcome your guidance and thoughts.

1 Like

Could you help me troubleshoot this, seems like I can’t initiate any chat or open any category, followed steps to exaction am not sure where to begin. Appreciate any help or advice. Thank you.

edit rather there is no place for me to type

1 Like

Try pulling up your javascript console, or alternatively visiting <your_instance>/logs if you have access to that, to see what error might be being thrown there :slight_smile:

What location would I be looking for in <your_instance>/logs is that in the discourse directory? And I’ll take a look now at the javascript console

Sorry, I should have been more clear; visiting

https://<your_instance.com>/logs

will spit out a list of errors thrown by your app, which will likely have some information about your error.

1 Like

Sorry if this is too big of a log. I’ll delete it if its not allowed.

TypeError: _.select is not a function
    at i.typingSentence (https://forum.com/assets/plugin-third-party-b5d6c60bf0d759dc0ee64c2ade8831bda5385cfcf304b95c41e4aaa57b9c40b3.js:1:11407)
    at i.render (https://forum.com/assets/plugin-third-party-b5d6c60bf0d759dc0ee64c2ade8831bda5385cfcf304b95c41e4aaa57b9c40b3.js:1:11326)
    at t.html (https://forum.com/assets/plugin-third-party-b5d6c60bf0d759dc0ee64c2ade8831bda5385cfcf304b95c41e4aaa57b9c40b3.js:1:27497)
    at t.m [as draw] (https://forum.com/assets/application-efd40d991a678bb6e9bc3578fa7251d40ad94859132561c7a9f452cab9684504.js:73:2257)
    at t.value (https://forum.com/assets/application-efd40d991a678bb6e9bc3578fa7251d40ad94859132561c7a9f452cab9684504.js:73:5322)
    at i (https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:16633)
    at r (https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:16563)
    at r (https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:10024)
    at Object.r [as render] (https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:10322)
    at u (https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:12078)
info backtrace env  Solve   Remove   Protect  Share
 Debug
 Info
  Warning
  Error
  Fatal
Search


1:57 pm
typingSentence@https://forum.com/assets/plugin-third-party-b5d6c60bf0d759dc0ee64c2ade8831bda5385cfcf304b95c41e4aaa57b9c40b3.js:1:11405
render@https://forum.com/assets/plugin-third-party-b5d6c60bf0d759dc0ee64c2ade8831bda5385cfcf304b95c41e4aaa57b9c40b3.js:1:11321
html@https://forum.com/assets/plugin-third-party-b5d6c60bf0d759dc0ee64c2ade8831bda5385cfcf304b95c41e4aaa57b9c40b3.js:1:27487
m@https://forum.com/assets/application-efd40d991a678bb6e9bc3578fa7251d40ad94859132561c7a9f452cab9684504.js:73:2252
value@https://forum.com/assets/application-efd40d991a678bb6e9bc3578fa7251d40ad94859132561c7a9f452cab9684504.js:73:5317
i@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:16631
r@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:16563
r@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:10024
r@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:10322
u@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:12076
r@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:11456
o@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:13147
i@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:13043
r@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:11562
o@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:13179
i@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:13043
r@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:11562
o@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:13179
i@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:13043
r@https://forum.com/assets/vendor-0be2caae262101ee53b4a9b626a820c715f41bdbc380301c6827609341ccdb43.js:5:12864
rerenderWidget@https://forum.com/assets/application-efd40d991a678bb6e9bc3578fa7251d40ad94859132561c7a9f452cab9684504.js:32:30109
g</t.invoke@https://forum.com/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:6925
g</t.flush@https://forum.com/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:5930
y</t.flush@https://forum.com/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:7978
z</r._end@https://forum.com/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:12652
z</r.end@https://forum.com/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:9312
z</r._run@https://forum.com/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:13138
z</r.run@https://forum.com/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:9920
l@https://forum.com/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:12:441
e/i.success@https://forum.com/assets/application-efd40d991a678bb6e9bc3578fa7251d40ad94859132561c7a9f452cab9684504.js:7:30513
c@https://forum.com/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:2:8216
fireWith@https://forum.com/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:2:8970
r@https://forum.com/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:3:12835
n/<@https://forum.com/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:3:17841

It’s another lodash function error; I’ll fix soon.

3 Likes

Sure thing, thanks for the update. Would you happen to have an ETA on how long you might take till the next update?

2 Likes

The lodash related issues have been fixed in the latest update. :sunny:

6 Likes

@gdpelican Hi.
We experience the same problem as described here. When a user sends a direct message to another user - there is no notification marker appears next to the nickname. So when I am looking at the user list, I cant guess who sent me a msg.
There should be little circles like that. How to enable them? Thanx.
image

I know you won’t believe. But till today morning, my babble chat (installed just 3 days back, so only 10 to 20 msgs were there) appeared under one topic in the chosen category.

I believed this was the intended behaviour that Babble chat would appear in the designated category (category chosen in babble settings).
Now it happened that I went into do some experiments and happen to delete that category. And now I can’t not only bring that behaviour back, but also facing a new peculiarity.

If I created a new category, specially for Babble chat, and assigned that category to Babble. Then (unlike till this morning), any post/topic I create under that category doesn’t appear in the Babble Chat. But if I post a msg in Babble chat, then that (first) msg can only be edited, but can’t be deleted in any way. And to make things worse, I can’t delete that category anymore since category would keep showing that there exists one topic.
How can I resolve this?
Hope I was able to make myself clear.

I would repeat, that till today morning, whatever was being posted in Babble chat, was being reproduced in the category’s one topic. There must be some 10 to 20 babble postings showing under that category (all under one topic, linear way).`

How to change background color under icon?
26

1 Like

Can we show chat logs outside Babble?
I mean, for example, “chat topic” in normal Discourse.

1 Like