Adding invite url to chat

972 views
Skip to first unread message

Jenny

unread,
Jul 10, 2015, 8:14:11 PM7/10/15
to bigblueb...@googlegroups.com
Hi again! I have another question today that I couldn't really find googling. I understand that I can definitely manipulate the code in let's say the demo .jsp pages, however, my front-end is running off wordpress and using the wordpress plugin to allow my multisite members to create rooms. (They are digging it - btw!) However, they are looking for an invite link where they can copy that particular session link and share it, as you know wordpress is php and so there is a disconnect for me in terms of calling the <%invite%> string in php. I would be happy just to find a way to render it in the welcome string in chat, but am getting stuck. Any help would be so appreciated.

Fred Dixon

unread,
Jul 10, 2015, 9:04:38 PM7/10/15
to BigBlueButton-dev
Hi,

>  I would be happy just to find a way to render it in the welcome string in chat

You can pass whatever text you want in the welcome message.  You would need to modify the PHP code for the WordPress integration to pass a link to the WordPress page where they would login.

Here's an example of how to pass a clickable link in the welcome message.

  For help on using BigBlueButton see these (short) <a href="event:http://www.bigbluebutton.org/content/videos"><u>tutorial videos</u></a>.

Regards,... Fred

On Fri, Jul 10, 2015 at 8:14 PM, Jenny <thespiri...@gmail.com> wrote:
Hi again! I have another question today that I couldn't really find googling. I understand that I can definitely manipulate the code in let's say the demo .jsp pages, however, my front-end is running off wordpress and using the wordpress plugin to allow my multisite members to create rooms. (They are digging it - btw!) However, they are looking for an invite link where they can copy that particular session link and share it, as you know wordpress is php and so there is a disconnect for me in terms of calling the <%invite%> string in php. I would be happy just to find a way to render it in the welcome string in chat, but am getting stuck. Any help would be so appreciated.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

Jenny

unread,
Jul 10, 2015, 9:25:16 PM7/10/15
to bigblueb...@googlegroups.com
Thanks, Fred. Yeah, no, I probably didn't ask my question properly. My project just went live a few days ago and I'm tired! lol

What I'm asking is, there is an invite link available in the create.jsp in the packaged demos. Something like this:

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

And I understand that as it's written above, but for php it would be very different to get that to show on the chat welcome like:

Copy and paste this link to invite others to the class:<br> <%=inviteURL%>

So, I'm basically wondering where I might add the call in php in order for the invite link to show up. Gosh, I hope that makes sense now. Sorry!

Fred Dixon

unread,
Jul 10, 2015, 9:45:09 PM7/10/15
to BigBlueButton-dev
Hi Jenny,

The API demos give examples (in JSP) of how to use the BigBlueButton API in various use cases.

For the invite URL, it's using the JSP page create.jsp and passing parameters action=invite and meetingID=<meeting_ID>.

In WordPress, it's much easier if you put in a URL into chat that leads to a landing page on your WordPress site.  At that page, you can use the BigBlueButton WordPress plugin to allow the user to enter their name and password to join a room.

The welcome message could read like

  To invite another user to join, have them visit http://my.site.com/join and enter password "joinNow" (no quotes).


> So, I'm basically wondering where I might add the call in php in order for the invite link to show up. 

You'll need to modify the code in the BigBlueButtonBN WordPress plugin.  Here's the function that creates a meeting


Which is called here


and here


I'm not trying to point out the places to change; rather, give you a start on where to look at the code.  You'll want to trace through the steps that WordPress follows in the BigBlueButton plugin when creating a meeting.  This will help you understand where to modify the code to change the contents of the 'welcome' parameter.

Regards,... Fred

Jenny

unread,
Jul 10, 2015, 9:55:13 PM7/10/15
to bigblueb...@googlegroups.com
OMG thank you, all of that is very helpful. You're right, it would be much easier to just add the join page. But because you did point out where I need to look, I think I can do that, instead, as that was exactly what I was looking for! Thanks for your patience and help, Fred. You rock. :)
Reply all
Reply to author
Forward
0 new messages