J Federico
Forum Replies Created
-
Forum: Plugins
In reply to: [BigBlueButton] bbb integration with groups in BuddypressNo, it doesn’t.
There have been some attempts on writing a new plugin see:
https://github.com/blindsidenetworks/wordpress-plugin_bigbluebutton/tree/master
But unfortunately other priorities for the BBB team have been pulling the resources to other projects.
Forum: Plugins
In reply to: [BigBlueButton] Option to disable the welcome messageUnfortunately there is no way to do that trough configuration.
I think your best shoot would be to translate the strings (they are hard-coded though).
Line 30 and 31. See:
https://github.com/jfederico/wordpress-plugin_bigbluebutton/blob/1.x/bigbluebutton-plugin.php#L31Or you can try commenting the line that sets the welcome message so you welcome message will be the one your BBB server has by default.
Comment line 503 and 504 and replace them with $welcome = “”;
https://github.com/jfederico/wordpress-plugin_bigbluebutton/blob/1.x/bigbluebutton-plugin.php#L503
Same thing on lines 1030 and 1031
https://github.com/jfederico/wordpress-plugin_bigbluebutton/blob/1.x/bigbluebutton-plugin.php#L1030
Forum: Plugins
In reply to: [BigBlueButton] Newest version only shows 7 recordingsMay it be that you are using the free server? The recordings there are deleted every 14 days.
Forum: Plugins
In reply to: [BigBlueButton] recordings list no longer shows after upgrade?Thanks for the report. I’ll make sure to include this as for being reviewed soon.
JF
Forum: Plugins
In reply to: [BigBlueButton] Can’t Install the Plugin properlly>When I get to the PuTTy part: –
Sorry, but what is the putty part? Do you mean setting up your BBB server credentials? This won;t work if you don;t have one 🙂
The good new is that the plugin comes pre-configured to use test-install, a free server provided by Blindside Networks to test the plugin.
I am not sure to understand where the problem is. The plugin is installed directly from the admin UI as any other plugin.
You can try to elaborate what are you doing and there may be some one who can help.
Forum: Plugins
In reply to: [BigBlueButton] Recordings error: String could not be parsed as XMLHi there,
Returning ‘some’ results is what it was expected. Meaning, it works again the same way it worked before.
The logic was not changed at all, only the way the request for getRecordings is performed.
The issue was, if you can remember, that the URL used for a single GET request was too long as it included too many meetingids. Nginx in BBB was not able to process it.
The solution is to paginate the request but not the view (That is something else I am not going no go through in this version). Meaning that if you have (or have had) 300 meetings that were set up for being recorded, instead of a massive request, the plugin will attempt to perform 12 making use of only 25 meetingids for each one of them.
You can increase the page size but I would not recommend to decrease it.
Again, no matter how many recordings you have in BBB, the response may be 1, 1000 or none,the issue is that the plugin is trying to get the recordings from all those meetings that may have at least 1.
For that matter what you may want to clean as well is the content in wp_bigbluebutton_logs.
Regarding to the quality of the code, duplication, style etc, man you don’t have idea how many times I have been tempted on applying refactoring to some pieces of the code, but I have to be strong and get focused on only fixing what is failing :).
The problem is that this particular version is no longer a priority. There is a new one in process (v2.0) you can find that code in the master branch of the GitHub repo and at the same time resources are limited.
https://github.com/blindside networks.com/wordpress-plugin_bigbluebutton/
But anyways, the current version is also there (branch 1.x). I can see you are also a developer, so feel free to send pull request to any of the two versions.
We have hundreds of contributors to the core project (BBB) but unfortunately just a few working on integration, so, feel free to join the team 🙂
Anyways, I’m glad the patch works as expected.
Thanks for your collaboration. Yours is the kind of participation that we really appreciate. Most people just post the feature requests or issue and disappear. In most cases they don’t even bother on give us feedback is the solution applied worked 🙂
Cheers
JF
Forum: Plugins
In reply to: [BigBlueButton] Recordings error: String could not be parsed as XMLWhere you having the same issue that spooky_jack reported?
That issue with delete is unrelated, and it is working fine on my instances (even with test-install)
Forum: Plugins
In reply to: [BigBlueButton] Recordings error: String could not be parsed as XMLYeah, I miscalculated the result of explode. A last micro bug I introduced when extended the bigbluebutton_recordings to allow filtering by token.
It should be good now.
Forum: Plugins
In reply to: [BigBlueButton] Recordings list is backwards with updateHi there,
While working in something else related to recordings I just remembered your request. Indeed, the recordings are ascending ordered and shown in that way.
Unfortunately it can not be changed by configuration. We may include that in version 2.0. In the meanwhile you would need to change a couple of lines in the code.
Here:
https://github.com/blindsidenetworks/wordpress-plugin_bigbluebutton/blob/1.x/php/bbb_api.php#L496
Make the -1 -> 1And here:
https://github.com/blindsidenetworks/wordpress-plugin_bigbluebutton/blob/1.x/php/bbb_api.php#L501
Make the 1 -> -1That would solve your problem.
Cheers,
JF
Forum: Plugins
In reply to: [BigBlueButton] Recorded sessionHi there,
It is true, sorry about that. The feature is and has been in the roadmap since long long time ago, BUT it was implemented until version 2.0.
Nonetheless while working on another issue related to recordings I noticed the filter was not there, so I just completed the implementation
I have the update for the requested feature, but it has not been released yet. The latest version available is in the github repository?
https://github.com/blindsidenetworks/wordpress-plugin_bigbluebutton/archive/1.x.zip
But I need more of your help. Can you please give a try and let me know how it goes? If everything looks OK I’ll release this version during the week.
Cheers,
JF
Forum: Plugins
In reply to: [BigBlueButton] Show recording related to a specific meeting roomHi there,
Sorry I did not respond before. I have been a little busy (meaning not working on WP) lately 🙂
What you are looking for was not included in v1.4.5 but, hey, good news, it is now!
I have the update for the requested feature, but it has not been released yet. The latest version available in the github repository?
https://github.com/blindsidenetworks/wordpress-plugin_bigbluebutton/archive/1.x.zip
I need more of your help. Can you give a try and let me know how it goes? If everything looks OK I’ll release this version during the week.
Cheers,
JF
Forum: Plugins
In reply to: [BigBlueButton] Recordings error: String could not be parsed as XMLHi there,
Good news!, I have the fix for the issue you reported, but it has not been released yet. Can you give a try to the latest version available in the github repository?
https://github.com/blindsidenetworks/wordpress-plugin_bigbluebutton/archive/1.x.zip
I need more of your help. Can you try it out ant tell me if it works for you? If everything looks OK I’ll release this version during the week.
Cheers,
JF
Forum: Plugins
In reply to: [BigBlueButton] Recordings error: String could not be parsed as XMLThat’s it!, you have found the root of the problem. The URL is too long for being managed by BBB.
The API used in this integration is way too old and it has not been updated. The way we solved that problem in Moodle was to paginate the getRecordings request when there are more than x meetings to be queried.
I guess we have to add some new logic to cover this use case.
Unfortunately there is no much you can do right now. We have to update the code but no ETA for that, I’ll try to do it during the next days but I can not make any promise. It is great we now know where the problem is though.
Thanks for the report, I’ll keep you posted.
JF
Forum: Plugins
In reply to: [BigBlueButton] Recordings error: String could not be parsed as XMLThat is super odd.
I did not get from the first post (until now) that you had two sites in the same server. One working and the other one not working. That is what makes things so weird. The only explanation that comes to my mind is is that your request is getting a bad XML. But your logs won’t show if that is the case.
It is faiing here
[error] 25231#0: *74365 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught exception ‘Exception’ with message ‘String could not be parsed as XML’ in /…/bigbluebutton/php/bbb_api.php:46
Which means that the problem is here
https://github.com/blindsidenetworks/wordpress-plugin_bigbluebutton/blob/1.x/php/bbb_api.php#L46
Which means that the parameter pased as $data is incorrect.
$response = new SimpleXMLElement($data);
I was telling you to print an error. In the line 44 you can add something like
error_log($data);
Take that and use an xml formatter like
https://www.freeformatter.com/xml-formatter.html
And see where is broken (if anything)
The other thing I was telling you to do is to print the getRecordingURL so you can do the query in a browser and even see what meeting ids are used in the query. There is definitely something wrong in your deployment and you are debugging the code right there.
That is what I would do anyways if I could reproduce it on my own.
Forum: Plugins
In reply to: [BigBlueButton] Recordings error: String could not be parsed as XMLWell, the XML you are getting back is clearly broken. You need to find what recording is the one that is breaking the response.
What I would suggest first is, using api-mate, to do a getRecordings without meetingID nor recordingID. If any of the recording files is corrupted it will break that response as well.
Secondly, check the logs of your webserver (apache or nginx) and see if there is something there already.
If not, add a line for printing the getRecordings URL and the response you are getting from the server.
If you want to make sure your WordPress server and the plugin are fine, change the configuration for using test-install and create a recording. You should have a good response from there. Just keep in mind that it may take some time for the recording to be processed in test-install.
JF