Broadcast messages to other rooms

Chat rooms for mChat with optional password protection and 1-on-1 chats
Post Reply
arek
Donor
Posts: 2
Joined: 27 Jan 2019, 15:41

Broadcast messages to other rooms

#1

Post by arek » 30 Jan 2019, 20:05

Hello,

is it possible to broadcast messages from one room to other rooms? I would like to have such a feature there. :)

User avatar
kasimi
mChat developer
Posts: 926
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: Broadcast messages to other rooms

#2

Post by kasimi » 30 Jan 2019, 20:12

Hi @arek and welcome. :wave:

At the moment there is no way to do that. How would you imagine such a feature to work? Can you give an example?

arek
Donor
Posts: 2
Joined: 27 Jan 2019, 15:41

Re: Broadcast messages to other rooms

#3

Post by arek » 04 Feb 2019, 19:28

Thank you for your response. :)

Example of wanted feature:
I have 2 rooms, Lobby and Announcement.
Messages from Announcement are displayed not only in this room, but also in Lobby (or in all other rooms).
In Announcement room only admins and moderators can post.

It would be great to have at least that limitation on admins and moderators.

User avatar
kasimi
mChat developer
Posts: 926
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: Broadcast messages to other rooms

#4

Post by kasimi » 08 Feb 2019, 09:20

What you propose is actually two separate features.
  • Restricting write access in certain rooms to certain users. This requires major effort to integrate with phpBB's permission model. It's on my list of things to add to Rooms, but it won't happen very soon. To prevent any user from posting in a certain room, there's a code snippet here: viewtopic.php?p=1741#p1741
  • A way to broadcast messages to all rooms.
I'm not against adding a broadcasting feature but, as usual, the devil is in the detail. Some open questions:
  • UI: How would a message be broadcasted, as opposed to the usual way of sending the message only to the room currently you're in?
  • UI: How would a message be broadcasted only to public rooms, only to protected rooms, only to private rooms, or any combination of them?
  • Permissions: Do we need a permission for each of type of room? Would just one permission that allows the user to broadcast to all types of rooms work, too?

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests