بابل تشات

:warning: يرجى ملاحظة أن هذه الإضافة لم تعد صيانة، ومن المرجح أن تسبب مشاكل في حالتها الحالية:


باببل هي إضافة دردشة بسيطة وخفيفة الوزن لديسكورش. تعيد تلوين عرض الموضوع الحالي إلى شريط جانبي، مما يسمح بإجراء محادثات سريعة في منتداكم. لاحظ الوسم أعلاه - تم وضع علامة “إضافة معطلة” على باببل.

تصفح موقع العرض التوضيحي لترى كيف يعمل، أو اعرض (وساهم في!) الكود على Github. إذا كنت ترغب في المساعدة في ترجمة باببل إلى لغتك، انضم إلى مشروع Transifex.

للتثبيت، استخدم الطريقة القياسية لتثبيت الإضافات. بمجرد التثبيت، يمكنك زيارة https://<your-instance>/admin/chats لإضافة قنوات الدردشة (ملاحظة: لن تظهر الدردشة على موقعك حتى تنشئ دردشة في هذه الواجهة)

مجموعة الميزات الحالية:

  • إنشاء قنوات مخصصة للمجموعات أو التصنيفات
  • الرسائل الفردية (من شخص إلى شخص)
  • الرموز التعبيرية!
  • رفع الملفات
  • إشعار مستخدمين آخرين عبر @ذكر
  • تعديل وحذف وعلامة المنشورات
  • وضع “ملء الشاشة” القابل للتبديل
  • من يكتب حاليًا
  • دعم Onebox
  • أصوات المتصفح الاختيارية للرسائل الجديدة
  • التكامل مع إضافة من متصل الآن لوجود المستخدمين
  • إعدادات لكل مستخدم:
    • تعطيل الدردشة بالكامل (لأشخاص “أكره الدردشة” :blush:)
    • تشغيل صوت عند استلام رسالة جديدة أو ذكر
    • فتح الدردشة تلقائيًا عند تحميل الصفحة

لا تترددوا في التواصل معي (@gdpelican) إما هنا على ميتا أو في مستودع github إذا واجهتكم مشكلة، أو إذا أردتم طلب شيء ما!

بالنسبة لتقارير الأخطاء، يرجى تقديم لقطة شاشة لملف /logs الخاص بكم، وأي أخطاء يمكنكم رؤيتها في وحدة تحكم الجافاسكريبت، بالإضافة إلى تعليمات محددة لإعادة إنتاج المشكلة

للعرض أرشيف المحادثة التي حدثت حول هذه الإضافة سابقًا، اعرض الأرشيف [تحذير: هناك الكثير من المعلومات غير المحدثة هناك! :smiley: ]

49 إعجابًا

I am considering using this on my forum. However, I’m very curious to see how people are using it and how it affects user behavior.

Is there someone who has implemented this on his forum who would like to share the impact? :slight_smile:

4 إعجابات

Can we edit history length? I would love this, but it would have to not stick around long to be acceptable for the community I help admin

إعجابَين (2)

That would be fantastic! Either that, or an easy way to reset the chat every night, if possible!

Sure, I can take a look at this this weekend.

4 إعجابات

A post was split to a new topic: Using Discourse for a short while, majorly impressed!

A nice edition would be a theme similar to all those live chat plugins, like intercom.
Any ideas for or plans for that?

Nothing like that is on the list at this time, but I’m not certain what you mean by ‘theme similar to those live chat plugins’ just yet; could you elaborate some?

Check out the livechat on https://www.intercom.com/ in the lower right corner.
I was thinking whether it’s possible to create a similar theme for the babble plugin.

4 إعجابات

@gdpelican: Silly question perhaps: the plugin offers a setting ‘babble history window’ which suggests that messages older than X days will be deleted from the chat history.

However, when I search for the chat in the search function, I get the same chat but this time rendered as a regular topic. And there the messages older than X days still exist.

Is it possible to have the messages automatically deleted completely, or, alternatively, is it possible to flush the messages completely (and clean up the chat) every so often? Apart of course from me deleting the chat and creating a new one with the same name?

3 إعجابات

Hi!

I think I encountered a bug with the way the way the chat works and how posts are counted.

Tested with

  • Discourse Version 2.1.0.beta1 +115
  • Babble branch: f2e9fda

Context / background information
The chat is part of a forum where users can register freely, but many topics are only available to logged-in users. The reason for this is that it provides some form of security / safety so sensitive topics can be discussed more freely.

The chat is a fantastic way to encourage conversations which are deemed to sensitive to keep ‘on record’, so every so often we reset the chat itself by removing it and creating a new one again.

This however results in wrong/weird user post counts.

How post counts in the chat now work

  • Use the chat by clicking on the megaphone-icon. Any messages typed into the chat panel do not count towards the user post count (Preferences -> summary)
  • Search for the using the site search function, then use the chat in the normal ‘topic-view’. All messages typed into the chat as if it were a normal topic DO count towards the user post count.

Creating the chat does not register as creating a topic, so the topic count is not increased by 1.

The problem
Delete the chat: all messages posted in the chat (either by using the chat panel or the topic-view) are counted and substracted from the user post count. The topic count will be altered as well.

Active chatters will therefore end up with a negative post count, as can be seen from the screenshot below (taken from the acceptance environment I set up - hence the low numbers).

Additionally: removing the chat will decrease the ‘topics created’ counter by one, so as you can see I have now created -1 topics.

18

Why is this an issue?
It’s rather hard for people to reach the next trust level when the post count is lowered every time the chat is deleted.

I am more than willing to test, experiment or even grant you access to my acceptance environment, should that help.

Thanks!

إعجاب واحد (1)

Thanks for the report; I’ll have a look at it this week and report back.

إعجاب واحد (1)

Not on the roadmap at the moment, but I’d be open to accepting a contribution in that direction; seems like a floating chat might be useful for some communities

4 إعجابات

I assume you’re the only one who can review translations? I just added the missing German translations, so not sure how to get all the translations reviewed :slight_smile:

إعجاب واحد (1)

Great, I’ll put those in today, thanks for contributing!

إعجابَين (2)

Is it possible to have the Chat initially open when a user visits the forum? Right now it seems like users opening the website have to click the chat icon in the header bar to open it up every time they visit the page.

4 إعجابات

That would a brilliant option to have in the forum!

إعجاب واحد (1)

Okay, I’ve added this option to the admin panel and updated the translations. Thanks for the suggestion!

6 إعجابات

Awesome, James. You are the best.

إعجاب واحد (1)

Yeah, so amazing, so much great work and improvements are made!
Keep up the good work James! You’re my god of chats!

إعجاب واحد (1)