welcome / banner text of a room

70 views
Skip to first unread message

Martin Thomas Schrott

unread,
Aug 17, 2022, 5:50:02 AM8/17/22
to bigbluebutton-greenlight
Hello,


after some hours of tryal and error ...

is there any chance to get the welcome / banner text set for a
greenlight room?


I tried to add "welcome": "my text" to the room_settings in the rooms table.

But after that my greenlight crashed. ;-) So either this does not work
... should it?

Or I did not create the parameters correctly ...

I loaded the room_settings yaml into a python dict

added the welcome text

and dumped a yaml back into the table. :-/


Would be great if anyone can tell me if it could work and how :-)


thanks

Martin




Matthias Weiler

unread,
Aug 22, 2022, 8:31:16 AM8/22/22
to bigbluebutto...@googlegroups.com
Hi Martin,

On 17/08/2022 11:49, Martin Thomas Schrott wrote:
> is there any chance to get the welcome / banner text set for a
> greenlight room?

An option to overwrite the defaultWelcomeMessage was requested in Issue
2505 [0] and there is a PR linked in the issue that implements it.

I didn't try the patch so I can't vouche for it.

Cheers,
Matthias

[0] https://github.com/bigbluebutton/greenlight/issues/2505

Martin Thomas Schrott

unread,
Aug 23, 2022, 2:22:28 AM8/23/22
to Matthias Weiler, bigbluebutto...@googlegroups.com
Danke Matthias


so let's hope it will make it into the core some time :-)


cheers

Martin

Martin Thomas Schrott

unread,
Sep 7, 2022, 7:14:04 AM9/7/22
to bigbluebutton-greenlight
Hi everybody,


now I took the time to have another look at this.

I could find the encoding problem and now am able to add some more
parameters to the room_settings in the greenlight db.


I tried to add bannerText and welcome - but on start of the room the
default texts are shown.


Doesn't greenlight submit the whole params json string on creation of a
bbb meeting?

I thought it would simply take the whole {json} and call the
bbb-api-create with that - isn't it?


thanks

Martin

Martin Thomas Schrott

unread,
Sep 8, 2022, 3:49:46 AM9/8/22
to bigbluebutton-greenlight
hi ...okay found the answer:


in app/controllers/rooms_controller.rb

"

    # Join the user in and start the meeting.
    opts = default_meeting_options
    opts[:user_is_moderator] = true

    # Include the user's choices for the room settings
    @room_settings = JSON.parse(@room[:room_settings])
    opts[:mute_on_start] = room_setting_with_config("muteOnStart")
    opts[:require_moderator_approval] =
room_setting_with_config("requireModeratorApproval")
    opts[:record] = record_meeting

    begin
      redirect_to join_path(@room, current_user.name, opts,
current_user.uid)
"


so the room_settings are not used directly rather than only a few
options are looked up and stored as opts for the create meeting call.


To allow other options to be set in the room_settings this would have to
be changed to parse all options or directly submit the room_settings as
creation parameters.


cheers and thanks

Martin
Reply all
Reply to author
Forward
0 new messages