albertosgz / Wordpress_BigBlueButton_plugin

BigBlueButton plugin for Wordpress https://es.wordpress.org/plugins/bbb-administration-panel/
GNU General Public License v3.0
17 stars 12 forks source link

CSV bulk upload to create rooms #38

Closed lrit18 closed 2 years ago

lrit18 commented 3 years ago

Hello everybody, I have to create around 50 rooms. Fortunately, there is the function to upload a CSV file with the room details. I filled out the template and then uploaded it. After I click on "Import" the page loads. But then nothing more happens. No rooms were imported. Where is the mistake?

My CSV file looks like this:

Meeting Room Name;Meeting Token;Attendee Password;Moderator Password;Wait for Moderator;Recorded;VoiceBridge;Welcome Message;Join Custom Parameters john doe;;afr;sprechtag-ks;no;no;11111;Welcome to John;

Thanks for help

albertosgz commented 3 years ago

Hi!

I am using this call to read CSV files, and what I see in the code, is using the delimiters by default ",".

Can try out with them?

lrit18 commented 3 years ago

Hi, thanks for your answer. I thought this was the key point. But nothing changes when I try ",". Does the first line have to be included in the file? Do "" have to be set? Is it not necessary for me to provide the Meeting Token?

My content in csv file: "Meeting Room Name", "Meeting Token", "Attendee Password", "Moderator Password", "Wait for Moderator", Recorded, VoiceBridge, "Welcome Message", "Join Custom Parameters" "Room name" ,, "password", "password-ik", no, no, 11111, "Welcome to my meeting",

Thanks

albertosgz commented 3 years ago

Can you try to setup "" to all of the columns? Just in case.

lrit18 commented 3 years ago

Done. But nothing else happens: csv

albertosgz commented 3 years ago

Could it be a because a wrong encoding or the BOM char?

lrit18 commented 3 years ago

I downloaded the template file from plugin page in my WordPress. It is UTF8 without BOM. Also UTF-8 BOM is possible. I opened with Notepad++ See my file attached. backup_template.zip

lrit18 commented 3 years ago

Did you do magic? Suddenly, without doing anything, the plugin page now looks better :) the csv upload also seems to work now. Ah, it seems that the problem handling modus is active now. If I deactivate the mode, the plugin no longer works properly. Then it's the same as before.

albertosgz commented 3 years ago

No, I didn't do anything at all. What is the issue? what is handling modus?

lrit18 commented 3 years ago

Please see screenshot attached. bbb The CSV upload now only works if you have activated the problem handling mode. Then the errors in console from #39 disappear.

albertosgz commented 3 years ago

Is that "problem handling mode" a plugin or ships by default with WP?

Alberto Sánchez González

El sáb, 24 abr 2021 a las 8:24, lrit18 @.***>) escribió:

Please see screenshot attached. [image: bbb] https://user-images.githubusercontent.com/20736613/115949504-ef9d8800-a4d5-11eb-906c-3fb99b54656c.JPG The CSV upload now only works if you have activated the problem handling mode. Then the errors in console from #39 https://github.com/albertosgz/Wordpress_BigBlueButton_plugin/issues/39 disappear.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/albertosgz/Wordpress_BigBlueButton_plugin/issues/38#issuecomment-826043173, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4QADY6IIO5CTHVGMFHHGTTKJPZXANCNFSM43EE46XA .

lrit18 commented 3 years ago

It is a default functionality in WordPress.

albertosgz commented 3 years ago

I need more time to dig into it. It looks like the plugin needs to be updated according last WP version. But at the moment I am very busy. I hope to find room to do it soon.

Alberto Sánchez González

El dom, 25 abr 2021 a las 10:48, lrit18 @.***>) escribió:

It is a default functionality in WordPress.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/albertosgz/Wordpress_BigBlueButton_plugin/issues/38#issuecomment-826285173, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4QAD5PVMTRH5HGP6LHZQLTKPJNJANCNFSM43EE46XA .

lrit18 commented 3 years ago

Exactly, that's what I'm assuming too. There was a big jQuery update on WordPress. Here is some more information for analysis purposes:

2021-04-25 07:31:11 | jQuery.fn.load() is deprecated | Plugin: BigBlueButton | http://xxx/wordpress-dev/wp-content/plugins/bigbluebutton/admin/js/bigbluebutton-admin.js

I can understand that it means a lot of effort. Respect to you for the plugin and thank you for your support. I look forward to an update soon.

albertosgz commented 2 years ago

Hi @lrit18 , I just test it myself with a fresh installation of WP 5.8.3, and I don't such error on console. Is still happening?

albertosgz commented 2 years ago

Close due to inactivity. In case the error comes up again, please open a new issue. Thanks!