Non-core contributed modules

Moodle - Dimdim 4.0 Integration - Module for Moodle 1.8+

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Major Major
  • 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.9, 1.9.1, 1.9.2, 1.9.3
  • Fix Version/s: None
  • Component/s: Module: DimDim
  • Labels:
    None
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_18_STABLE, MOODLE_19_STABLE

Description

As discussed, i am attaching the Moodle Dimdim 4.0 Integration pack with documentation.

Issue Links

Activity

Hide
Anthony Borrow added a comment -

A few quick things that I've noticed that are just small details:

1) The preferred file structure is to have /mod/dimdim/lang rather than copying the lang files over. I know changes were made in 1.9 to allow for this but I need to check if those changes were checked in to 1.8 as well.

2) I noticed that one of the get_string calls in index.php used a double quote and I think it is good to be consistent and just use single quotes throughout. I realize this is just minor almost irrelevant detail but it did catch my eye so I figured I would mention it.

3) I would recommend turning debugging mode on when testing the code so that we catch things like:

Notice: Undefined property: stdClass::$meetingkey in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 115

Notice: Undefined property: stdClass::$hostkey in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 119

Notice: Undefined variable: password in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 136

Notice: Undefined property: stdClass::$privatechat in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 177

Notice: Undefined property: stdClass::$publicchat in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 184

Notice: Undefined property: stdClass::$screencast in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 193

Notice: Undefined property: stdClass::$whiteboard in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 200

Notice: Undefined property: stdClass::$participantlist in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 207

Notice: Undefined property: stdClass::$displaydialinfo in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 270

Notice: Undefined property: stdClass::$interntoll in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 278

Notice: Undefined property: stdClass::$moderatorpasscode in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 282

Notice: Undefined property: stdClass::$attendeepasscode in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 286

These mostly look like just not checking for the existence of a variable before attempting to use it and are easy enough to fix with an if not empty varialbe. I'm not concerned about getting the notices fixed immediately but wanted to mention them while I saw them. The biggest issue is making sure we get the tree structure right from the beginning. If it is OK with you all, I would like to move the lang file underneath the /mod/dimdim folders. Also, I continue to think about the functionality of how the downloads get generated and it may be best to have contrib/plugins/mod/dimdim_40 and contrib/plugins/mod/dimdim_45 as separate trees in CVS but I need to check with Moodle HQs to see if we might be able to have it create separate zip files if we were to use contrib/plugins/mod/dimdim/40 and contrib/plugins/mod/dimdim/45. I'll create a separate issue in the tracker to look at this issue. I appreciate your patience as we look at the best way to get this up and running for you. I just want to make sure that we do it correctly from the beginning.

Peace - Anthony

– personal notes
related to MDL-15892 (get_string issue backport to 1.8?)
auto-create zip files for sub-directories?

Show
Anthony Borrow added a comment - A few quick things that I've noticed that are just small details: 1) The preferred file structure is to have /mod/dimdim/lang rather than copying the lang files over. I know changes were made in 1.9 to allow for this but I need to check if those changes were checked in to 1.8 as well. 2) I noticed that one of the get_string calls in index.php used a double quote and I think it is good to be consistent and just use single quotes throughout. I realize this is just minor almost irrelevant detail but it did catch my eye so I figured I would mention it. 3) I would recommend turning debugging mode on when testing the code so that we catch things like: Notice: Undefined property: stdClass::$meetingkey in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 115 Notice: Undefined property: stdClass::$hostkey in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 119 Notice: Undefined variable: password in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 136 Notice: Undefined property: stdClass::$privatechat in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 177 Notice: Undefined property: stdClass::$publicchat in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 184 Notice: Undefined property: stdClass::$screencast in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 193 Notice: Undefined property: stdClass::$whiteboard in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 200 Notice: Undefined property: stdClass::$participantlist in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 207 Notice: Undefined property: stdClass::$displaydialinfo in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 270 Notice: Undefined property: stdClass::$interntoll in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 278 Notice: Undefined property: stdClass::$moderatorpasscode in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 282 Notice: Undefined property: stdClass::$attendeepasscode in /home/arborrow/Moodle/code/19stable/mod/dimdim/mod.html on line 286 These mostly look like just not checking for the existence of a variable before attempting to use it and are easy enough to fix with an if not empty varialbe. I'm not concerned about getting the notices fixed immediately but wanted to mention them while I saw them. The biggest issue is making sure we get the tree structure right from the beginning. If it is OK with you all, I would like to move the lang file underneath the /mod/dimdim folders. Also, I continue to think about the functionality of how the downloads get generated and it may be best to have contrib/plugins/mod/dimdim_40 and contrib/plugins/mod/dimdim_45 as separate trees in CVS but I need to check with Moodle HQs to see if we might be able to have it create separate zip files if we were to use contrib/plugins/mod/dimdim/40 and contrib/plugins/mod/dimdim/45. I'll create a separate issue in the tracker to look at this issue. I appreciate your patience as we look at the best way to get this up and running for you. I just want to make sure that we do it correctly from the beginning. Peace - Anthony – personal notes related to MDL-15892 (get_string issue backport to 1.8?) auto-create zip files for sub-directories?
Hide
Anthony Borrow added a comment -

Another small change I would recommend making is to use the mdl_config_plugins table rather than the mdl_config table. The documentation for get_config and set_config should help get you started but if you have questions about how to make the changes just let me know. That will help reduce the size of the footprint for the global $CFG variable. Peace - Anthony

Show
Anthony Borrow added a comment - Another small change I would recommend making is to use the mdl_config_plugins table rather than the mdl_config table. The documentation for get_config and set_config should help get you started but if you have questions about how to make the changes just let me know. That will help reduce the size of the footprint for the global $CFG variable. Peace - Anthony
Hide
Anthony Borrow added a comment -

Rajesh - Could you read Eloy's comments on MDLSITE-544 and let me know what your thoughts are? How possible would it be to have one Moodle module to work with either version? How different is the code? Peace - Anthony

Show
Anthony Borrow added a comment - Rajesh - Could you read Eloy's comments on MDLSITE-544 and let me know what your thoughts are? How possible would it be to have one Moodle module to work with either version? How different is the code? Peace - Anthony
Hide
Marc Grober added a comment -

This is another tracker issue identified as being pertinent to Moodle 1.8/DimDim 4.5

Show
Marc Grober added a comment - This is another tracker issue identified as being pertinent to Moodle 1.8/DimDim 4.5
Hide
Anthony Borrow added a comment -

Is it safe to just resolve this as Incomplete or Won't fix. I believe DimDim is now on version 6 and I want to resolve older issues that are no longer active. Peace - Anthony

Show
Anthony Borrow added a comment - Is it safe to just resolve this as Incomplete or Won't fix. I believe DimDim is now on version 6 and I want to resolve older issues that are no longer active. Peace - Anthony

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: