Add meeting url to welcome message in chat screen

361 views
Skip to first unread message

John Lambert

unread,
May 18, 2013, 8:58:34 AM5/18/13
to bigbluebu...@googlegroups.com
Hello all,
New to BigBlueButton and loving it!
Question:
Using the create.jsp with some tweaks to create meetings
Noticed that once the meeting is started there is no way to get the invite url to invite attendees if you didnt save it from the second page
Using the default welcome message from the bigbluebutton.properties
We would like to add the <%=inviteURL%> to the Welcome message that appears in the chat screen

Something along these lines:
Welcome to test's meeting.

To join the voice conference:
  (1) click the headset icon in the upper-left, or
  (2) dial xxx-xxx-xxx and enter conference ID: 76314.
 .
 To invite other users to the meeting: Copy and paste this link: <%=inviteURL%>

Does anyone have any advice on how to pull that link in?
Thanks!
John

Fred Dixon

unread,
May 18, 2013, 9:44:36 AM5/18/13
to bigbluebu...@googlegroups.com
Hi John,

Thanks for the feedback!  In the create API call, you can pass a custom welcome message that overrides the default welcome message.  Here's the details on how meetings are created.


In create.jsp, there are functions in the API examples that are making this call for you.  To modify the welcome message, see 


The format for inserting a link in the welcome message is

  <a href="http://code.google.com/p/bigbluebutton/wiki/RoadMap" target="_blank"><u>Current release</u></a>

There's a small bit of coding to do, but the above gives the key concepts.


Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton



--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 




John Lambert

unread,
May 18, 2013, 10:59:22 AM5/18/13
to bigbluebu...@googlegroups.com
Hi Fred
Thanks for the quick followup
I have looked over the links
Not too familiar with API - I am familiar with formatting a url link but in this case cant figure out how to get the <%=inviteURL%> variable to pull from the create.jsp page to the default welcome message.
when I try to create it as a url link it just pulls it as  actual text <%=inviteURL%> and doesnt generate the link We would just like for it to display the full link so the client can copy and paste it to an email/chat and invite more attendees
Is it possible to do this with the default welcome message in the properties page or would it have to be a custom message and any pointers on the correct syntax would be appreciated!
Here is what I have for the default message currently:
defaultWelcomeMessageFooter=<br>To join the voice conference:<br>  (1) click the headset icon in the upper-left, or<br>  (2) dial %%DIALNUM%% and enter the Conference Pin: %%CONFNUM%%.<br> </a>.<br> To invite other users to the meeting: Copy and paste this link: <a href="<%=inviteURL%>">link</a>
Thanks

Chad Pilkey

unread,
May 19, 2013, 6:12:05 PM5/19/13
to bigbluebu...@googlegroups.com
You won't be able to pull the URL in by modifying the default welcome message. You have to actually edit the api call that creates the meeting and modify the welcome message there. If you look at this line here, https://github.com/bigbluebutton/bigbluebutton/blob/master/bbb-api-demo/src/main/webapp/create.jsp#L107, the 4th parameter is the welcome message. If you properly insert the inviteURL there is should work.

John Lambert

unread,
May 20, 2013, 9:00:11 AM5/20/13
to bigbluebu...@googlegroups.com
Thanks Chad
Will work on setting it up from there
Still wrapping my head around the API stuff :)


On Saturday, May 18, 2013 6:58:34 AM UTC-6, John Lambert wrote:

HostBBB.com

unread,
May 20, 2013, 9:28:58 AM5/20/13
to BigBlueButton-Setup
John looking at the code you are in a pickle.

//
// This is the URL for to join the meeting as moderator
//
String joinURL = getJoinURL(username, meetingID, "false",
"<br>Welcome to %%CONFNAME%%.<br>", null, null);


String url = BigBlueButtonURL.replace("bigbluebutton/","demo/");
String inviteURL = url + "create.jsp?action=invite&meetingID=" +
URLEncoder.encode(meetingID, "UTF-8");
%>


Chad, what he wants to do is pass the invite URL into the welcome
message, so other users in meeting have this in chat to cut and paste
and give others :)

Cant do that because the checksum hashes the welcome message first,
before inviteUrl is set... the getJoinURL needs the welcome text,
the inviteURL needs the output of joinURL

I think I might try to create a shorturl by rewriting nginx somehow
and just save the invite code, and reference a shortcode in chat.

Anyone else have a good approach.

regards,
Stephen
hostbbb.com
> > John- Hide quoted text -
>
> - Show quoted text -

Chad Pilkey

unread,
May 21, 2013, 12:14:04 PM5/21/13
to bigbluebu...@googlegroups.com
I could be missing something, but I'm pretty sure you can just move the two lines that create the inviteURL to right before the joinURL is created. I don't the inviteURL has a dependency on the joinURL.

HostBBB.com

unread,
May 21, 2013, 2:09:43 PM5/21/13
to BigBlueButton-Setup
I was thinking this was the join api call the creates unique checksum
based on welcome message, but this is demo page function.

Will try and see.
> > > - Show quoted text -- Hide quoted text -

John Lambert

unread,
May 22, 2013, 4:04:19 PM5/22/13
to bigbluebu...@googlegroups.com
Update for everyone
I was able to get it to work this way - after a little trial and error:)
In create.jsp - Line 106
Added this:
String joinURL = getJoinURL(username, meetingID, "false", "<br>Welcome to %%CONFNAME%%.<br><br>To join the voice conference:<br>(1) click the headset icon in the upper-left, or<br>(2) dial %%DIALNUM%% and enter the Conference Pin: %%CONFNUM%%.<br><br>To invite other users to the meeting: Copy and paste this link:<br> http://your.domain.name/demo/create.jsp?action=invite&meetingID=%%CONFNAME%%", null, null);

Which produces this in the chat window ( Number and domain removed for privacy)

Welcome to jack's meeting.

To join the voice conference:
(1) click the headset icon in the upper-left, or
(2) dial xxx-xxx-xxx and enter the Conference Pin: 76902.

To invite other users to the meeting: Copy and paste this link:


Tried taking out the , null, null
which kept breaking it so I just deleted the text in bigbluebutton.properties for the  defaultWelcomeMessageFooter=

Thanks for all the tips everyone and hopefully this will benefit someone looking to do the same thing


On Saturday, May 18, 2013 6:58:34 AM UTC-6, John Lambert wrote:

Chad Pilkey

unread,
May 22, 2013, 4:45:10 PM5/22/13
to bigbluebu...@googlegroups.com
One think you might have an issue with is that the %%CONFNAME%% property isn't url encoded so if you have a special character in your meeting name you might run into issues with the link.

John Lambert

unread,
May 23, 2013, 8:54:28 AM5/23/13
to bigbluebu...@googlegroups.com
Good Point
To test I created some meetings with special characters in the name
-,#@%&
# and & broke the link
I am thinking the easiest way to fix that is to tell clients not to put any special characters in the meeting name:)
Unless someone has a suggestion on how to correct this 
I have also setup a mailto: for the Invite Attendees section on the Meeting Created page and it was a bit of a bear to get the url to format correctly for that as it kept cutting off at the & ampersand and the 
%%CONFNAME%% when trying to pull the url into the body of the email automatically. I was able to get that working also but same issue if someone uses any special characters
Reply all
Reply to author
Forward
0 new messages