Dynamic Config.xml in PHP

489 views
Skip to first unread message

simonsays

unread,
May 23, 2013, 11:37:41 AM5/23/13
to bigblueb...@googlegroups.com
Hi,

I am using the 0.81 master branch (I know it's dev but we are in a little time pressure and we definitely want to use the dynamic customization) and I am trying to recreate the Demo 12 for use in PHP. So I added a function to the PHP API from the labs folder which is very similar to the getJoinURLwithDynamicConfigXML() function in the JSP API Demo.

It all works until the XML response is requested (calling http://BBB-URL/api/setConfigXML.xml with parameters), which gives back SUCCESS and the version tag, but is lacking the configToken tag. I am right now passing an external config.xml that is stored on my server. After that I can start the meeting, but nothing seems to have changed regarding the customization parameters given in the config.xml.

Is there anyone who could help me with that issue? Would be very appreciated! Thanks :)

Simon

Fred Dixon

unread,
May 23, 2013, 11:51:27 AM5/23/13
to BigBlueButton-dev
Hi Simon,

We're modifying the API authentication for the dynamic config.xml -- specifically we're modifying how to create the checksum for the dynamic config.xml -- and will be updating demo12.jsp as well.  

Once updated, we'll make a post (with details) you can try following the example in demo12.jsp again and, at that point, if you can't get it to work we'll help out.

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


 




--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 




simonsays

unread,
May 23, 2013, 11:57:22 AM5/23/13
to bigblueb...@googlegroups.com
Great, thanks so far for the fast response!

Tim vdp

unread,
May 25, 2013, 4:19:28 PM5/25/13
to bigblueb...@googlegroups.com
Hello Simon,

if you update your build with the last commit, the code I posted won't work anymore. 
I updated the bbb-api, I figured it could be useful for you.

I don't know why it seems only you got my reply. 
So I'll post all the files again just in case someone else would like to integrate the dynamic config file with a PHP website.

Regards

Tim
Archive.zip

Joseph Orlando

unread,
May 26, 2013, 4:51:54 PM5/26/13
to bigblueb...@googlegroups.com
Yeah, i stopped creating our API due to the recent and upcoming changes fred and the rest of the developers are making.
Once the API is closer to being finalized, i will post a copy of our API so we can get a good hardcoded PHP class / function going.

--
Joseph Orlando

simonsays

unread,
Jun 17, 2013, 6:18:08 AM6/17/13
to bigblueb...@googlegroups.com
Hey Tim,

sorry for the late response. Thanks again for the updated API, it works perfectly with the PHP environment we built and the actual 0.81-beta, even though it is not running on wordpress.

Regards
Simon

Mark

unread,
Oct 29, 2013, 12:15:09 PM10/29/13
to bigblueb...@googlegroups.com
Hi Tim,

I want to check your php example with the dynamic config.xml. I checked the bbb url and the salt and I tried the index.php (on browser), but I received the follow message: "Error : file not found on server". I analyzed your bbb-api.php and I found the getConfigXml function that it contains the error message. I tried to test with sample modification (based on passing parameters), but the error it's continue. Please, can you help me ?

You have an update of the php "Archive.zip", so it's possible to check the php files contained ?

Thanks.
Regards, M.
Reply all
Reply to author
Forward
0 new messages