Non-core contributed modules

New Block: Youtube RSS Player

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Incomplete
  • Affects Version/s: 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4
  • Fix Version/s: None
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE, MOODLE_19_STABLE

Description

This block allows Moodle administrators and teachers to relate a course of Moodle to a Youtube RSS channel (which can be based on Labels, Users, Subjects, Youtube Updates, etc.) and reproduce these videos in the same block.

Activity

Hide
Anthony Borrow added a comment -

Andreu - Thanks for sharing this block with the Moodle community and please accept my apologies for the delayed response. My summer work has kept me from getting as much accomplished for Moodle as I would like. In any case, I am starting to review your code. Please know that my comments are meant to be constructive and help make your code better or make the experience for new users of your code go more smoothly so use them in so far as they are helpful to you. I recommend testing code with Moodle debugging set to show all reasonable errors and notices (not developer mode). Here are a few notices I received when I first added the block to the front page of my test site:

Notice: Trying to get property of non-object in /home/arborrow/Moodle/code/19stable/blocks/youtube_list/block_youtube_list.php on line 27

Warning: DOMDocument::load() [domdocument.load]: Empty string supplied as input in /home/arborrow/Moodle/code/19stable/blocks/youtube_list/block_youtube_list.php on line 27

Notice: Undefined property: stdClass::$footer in /home/arborrow/Moodle/code/19stable/blocks/moodleblock.class.php on line 355

These are usually minor errors from not checking that a particular variable is defined or not initializing a variable. I'm happy to help you debug them and come up with patches if you would like. Peace - Anthony

Show
Anthony Borrow added a comment - Andreu - Thanks for sharing this block with the Moodle community and please accept my apologies for the delayed response. My summer work has kept me from getting as much accomplished for Moodle as I would like. In any case, I am starting to review your code. Please know that my comments are meant to be constructive and help make your code better or make the experience for new users of your code go more smoothly so use them in so far as they are helpful to you. I recommend testing code with Moodle debugging set to show all reasonable errors and notices (not developer mode). Here are a few notices I received when I first added the block to the front page of my test site: Notice: Trying to get property of non-object in /home/arborrow/Moodle/code/19stable/blocks/youtube_list/block_youtube_list.php on line 27 Warning: DOMDocument::load() [domdocument.load]: Empty string supplied as input in /home/arborrow/Moodle/code/19stable/blocks/youtube_list/block_youtube_list.php on line 27 Notice: Undefined property: stdClass::$footer in /home/arborrow/Moodle/code/19stable/blocks/moodleblock.class.php on line 355 These are usually minor errors from not checking that a particular variable is defined or not initializing a variable. I'm happy to help you debug them and come up with patches if you would like. Peace - Anthony
Hide
Anthony Borrow added a comment -

When I went to configure the front page instance I received:

Notice: Undefined variable: url in /home/arborrow/Moodle/code/19stable/blocks/youtube_list/config_instance.html on line 30

Show
Anthony Borrow added a comment - When I went to configure the front page instance I received: Notice: Undefined variable: url in /home/arborrow/Moodle/code/19stable/blocks/youtube_list/config_instance.html on line 30
Hide
Anthony Borrow added a comment -

Andreu - I tried to get the block to work but without initial success. I'll try to take a look at the code and see what is happening. In the meantime, do you have a demo site that I might look at to see the block in operation? Peace - Anthony

Show
Anthony Borrow added a comment - Andreu - I tried to get the block to work but without initial success. I'll try to take a look at the code and see what is happening. In the meantime, do you have a demo site that I might look at to see the block in operation? Peace - Anthony
Hide
Andreu Araque added a comment -

Hello anthony, I've been out this month and I haven't been able to response you. I've seen your comments today. I will review my code and upload it to a moodle and I will notice you. Thank you Anthony and sorry

Show
Andreu Araque added a comment - Hello anthony, I've been out this month and I haven't been able to response you. I've seen your comments today. I will review my code and upload it to a moodle and I will notice you. Thank you Anthony and sorry
Hide
Anthony Borrow added a comment -

No worries Andreu - I look forward to seeing the working code and then figuring out what was happening. One step at a time. Thanks for your patience. Peace - Anthony

Show
Anthony Borrow added a comment - No worries Andreu - I look forward to seeing the working code and then figuring out what was happening. One step at a time. Thanks for your patience. Peace - Anthony
Hide
Anthony Borrow added a comment -

Andreu - It looks like it has been a few months since you accessed Moodle.org. I never heard back if you had managed to correct some of the issues I found in my initial review of the code. With the release of Moodle 2.0, I am trying to go through and resolve any inactive issues. I am resolving this as incomplete; however, if you are still interested in having the code in CONTRIB just let me know and I can re-open the issue. Please do not hesitate to let me know if there is anything I can do to be supportive of your efforts. Peace - Anthony

Show
Anthony Borrow added a comment - Andreu - It looks like it has been a few months since you accessed Moodle.org. I never heard back if you had managed to correct some of the issues I found in my initial review of the code. With the release of Moodle 2.0, I am trying to go through and resolve any inactive issues. I am resolving this as incomplete; however, if you are still interested in having the code in CONTRIB just let me know and I can re-open the issue. Please do not hesitate to let me know if there is anything I can do to be supportive of your efforts. Peace - Anthony

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: