Your Moodle version

Assignment submissions : Mahara Assignment Submission

assignsubmission_mahara
Maintained by Mahara logo Aaron Wells, Picture of Tony Box Tony Box, Picture of Ruslan Kabalin Ruslan Kabalin
Allows grading of Mahara portfolio pages & collections in Moodle.
5k
271
6
Moodle 2.3, 2.4, 2.5

Mahara Assignment Submission Plugin

This repository houses an updated Mahara assignment submission plugin.

Features

  • XML-RPC integration with a Mahara installation
  • The student selects one of their Mahara portfolio pages or collections as a Moodle assignment submission
  • If multiple submissions are allowed, it releases the previously selected submission
  • Abides by Moodle assignments config options
  • Popups for quickly previewing submissions (no windows... no tabs)
  • When used with the Mahara assignment feedback plugin, it will lock and unlock portfolio pages in Mahara upon submission.

Requirements

Installation

  1. Have a Moodle site and a Mahara site.
  2. Connect your Moodle and Mahara sites via MNet. (For detailed instructions see the Mahara wiki).
  3. If you are using Mahara 1.9 or earlier, apply the included patch file "mahara-patch.txt" to your Mahara site.
  4. If you are using Moodle 2.6, apply the included patch file "moodle-patch.txt" to your Moodle site.
  5. If you are using Moodle 2.5 or earlier, install the Mahara local plugin now.
  6. Install this plugin the normal way: by using the Moodle web installer, or by extracting the plugin archive to {Moodle_Root}/mod/assign/submission/mahara and going to the admin "Notifications" page.
  7. Once the plugin is installed, go to "Site administration -> Networking -> Manage Peers". Select the peer record for your Mahara site, click on the "Services" tab, and subscribe to the "Assign Submission Mahara services" service.
  8. Recommended: Install the Mahara assignment feedback plugin

Upgrading (Moodle 2.6 or later)

There were previously two different forks of the Mahara assignment submission plugin for Moodle, one developed by the University of Portland, and another by Lancaster University. As of Moodle 2.6, this plugin is a merged version that is designed to allow you to upgrade from either version. It will automatically detect which fork of the plugin you have installed, and migrate it accordingly. So all you need to do is:

1. Remove the current contents of your mod/assign/submission/mahara directory
2. Follow the steps under "Installation" above. (This will trigger the database upgrade script.)
3. If you have also installed the Mahara assignment feedback plugin (mod/assign/feedback/mahara), you should now upgrade it to the latest version.
4. If you have also installed the Mahara local plugin (local/mahara), you should now uninstall it.

Usage

  1. Go into a Moodle course as a teacher.
  2. An an "Assignment" activity to the course.
  3. Under the assignment's "Submission types" section, you should see an option for "Mahara portfolio". Tick this box, and any others you also want the student to include in their submission.
  4. If you want submitted Mahara pages & collections to be locked from editing in Mahara, select the "Lock submitted pages" option. This feature is useful if you wish to prevent students to edit the page after the submission deadline. But take note that the page will remain locked permanently, unless you also install the Mahara assignment feedback plugin.
  5. Once the assignment is set up, a student in the course will see a screen to let them select one of their Mahara portfolio pages or collections as part of their assignment submission.
  6. As the teacher, when you view the assignment submission via the gradebook, you will see a link that will allow you to view the submitted Mahara page or collection. (The plugin will automatically generate the access rights in Mahara).

Feedback plugin

As noted above, if you set the plugin to lock submitted pages & collections, they will remain locked in Mahara permanently. If you wish them to become unlocked once they are graded, you should also install the Mahara assignment feedback plugin, and activate it in your assignment.

Credits

The original Moodle 1.9 version of these plugins were funded through a grant from the New Hampshire Department of Education to a collaborative group of the following New Hampshire school districts:
  • Exeter Region Cooperative
  • Windham
  • Oyster River
  • Farmington
  • Newmarket
  • Timberlane School District

The upgrade to Moodle 2.0 and 2.1 was written by Aaron Wells at Catalyst IT, and supported by:

  • NetSpot
  • Pukunui Technology

The upgrade to the Moodle 2.3 mod/assign plugin was developed by:

  • University of Portland by Philip Cali and Tony Box (box@up.edu)
  • University of Lancaster

Subsequent updates to the plugin were implemented by Aaron Wells at Catalyst IT, with funding from:

  • University of Brighton
  • Canberra University

Sets

This plugin is part of set Mahara assignment.

Potential privacy issues

Mahara pages & collections submitted by the student will be visible to the teacher (or any Moodle user who can view the gradebook), regardless of their privacy settings in Mahara. The plugin generates a special "secret URL" for this purpose, which it links to in the Moodle gradebook. This acts like any other Mahara "secret URL", except that the student cannot delete it, and it will only work for users who are logged in to Mahara via MNet. If the page is released after grading via the Mahara assignment feedback plugin, the "secret URL" will be disabled at that time.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5

Contributors

Mahara logo
Aaron Wells (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Anthony Borrow
    Sun, Aug 25, 2013, 7:50 AM
    Tony - Many thanks for sharing these plugins for integration with Mahara with the Moodle Community. I noticed that there were a couple of validation warnings which should be easy to fix up in the version.php. Specifically,

    Maturity information ($plugin->maturity) not found in version.php
    Release name ($plugin->release) not found in version.php

    Also in the version.php, I like to encourage folks to explicitly declare the GPL license. More information can be found in http://docs.moodle.org/dev/version.php.

    Also, I try to encourage (thought it is not an absolute requirement) for folks to use the Moodle naming convention for the Github.com repositories. The ideal name for the repository would be moodle-assignfeedback_mahara. This makes life simpler for Moodle site admins who maintain their sites using Git.

    I am going to approve this but would ask that you tidy up the version.php next time you get a chance. It would also be good if we could see a screenshot.

    I did not actually test the functionality of this plugin as I do not have a test instance of Mahara up and running at the moment but I trust Netspot and Pukunui have done good work on this plugin.

    I have created a set called Mahara assignment - https://moodle.org/plugins/browse.php?list=set&id=38 - to group the Mahara assignment submission, assignment feedback and local plugins together.

    Peace - Anthony
  • Picture of Roland Sherwood
    Wed, Sep 25, 2013, 4:28 AM
    Many thanks for sharing these plugins with the community (and, more importantly, for producing them; I'm sure I'not alone in saying it's been a long wait for a Moodle 2.3+ version to come along!).

    Unfortunately, we're seeing the following error whenever a student tries to submit a page (btw, all 3 plugins install fine, and all other Mahoodle functionality is working as expected e.g SSO, exporting of content, etc.), so any advice you might be able to offer would be very much appreciated:


    The following RPC failures: 7:User with ID 257 attempted to call unauthorised method mod/mahara/rpclib.php/get_views_for_user on host http://mahara.**********.ac.uk

    More information about this error

    Debug info:
    Error code: err_mnetclient
    Stack trace:
    line 476 of /lib/setuplib.php: moodle_exception thrown
    line 360 of /mod/assign/submission/mahara/locallib.php: call to print_error()
    line 219 of /local/mahara/optionalib.php: call to {closure}()
    line ? of unknownfile: call to Model_Either->fold()
    line 282 of /local/mahara/optionalib.php: call to call_user_func_array()
    line 366 of /mod/assign/submission/mahara/locallib.php: call to Either_Projection->__call()
    line 366 of /mod/assign/submission/mahara/locallib.php: call to Right_Projection->fold()
    line 4298 of /mod/assign/locallib.php: call to assign_submission_mahara->get_form_elements_for_user()
    line 4380 of /mod/assign/locallib.php: call to assign->add_plugin_submission_elements()
    line 49 of /mod/assign/submission_form.php: call to assign->add_submission_form_elements()
    line 191 of /lib/formslib.php: call to mod_assign_submission_form->definition()
    line 2650 of /mod/assign/locallib.php: call to moodleform->moodleform()
    line 405 of /mod/assign/locallib.php: call to assign->view_edit_submission_page()
    line 53 of /mod/assign/view.php: call to assign->view()


    This is under Moodle 2.4.5, linked to a fresh Mahara 1.7.2 install.

    Again, I'd be very grateful for any help you could offer.
  • Picture of Roland Sherwood
    Wed, Sep 25, 2013, 11:13 PM
    Hi. Please ignore the above; I completely forgot the local plugin also adds a new set of MNET-related publish/subscribe settings on our Mahara peer's services page. With subscribe ticked, a list of the user's Mahara pages is now visible on the assignment submission page.

    However, we've hit another snag; for students who've created only a single page on Mahara, selecting that page and then clicking the save changes button results in a warning message which states 'Nothing was selected' (above which there's also the outline of what looks like another warning, although it contains no visible text). Please see the following example:



    Interestingly, on exiting the page and re-entering the assignment, the status of the assignment is then shown as draft, the edit and submit assignment buttons are visible - but no link to the selected page is present where you'd expect it to be:



    And after submitting nothing (in terms of a link to the selected page) is then shown to either the student or tutor:




    Where a student has created more than 1 page, clicking the save changes button then results in the following error:

    Notice: Undefined variable: release_previous in /var/www/moodle/mod/assign/submission/mahara/locallib.php on line 510 Fatal error: Function name must be a string in /var/www/moodle/local/mahara/optionalib.php on line 78

    Reentering the assignment this time does show a selected page link:



    However, if the student then tries to edit their submission (i.e. select a page different from the one chosen previously), after clicking save changes and being brought back to the submissions summary page nothing appears to have changed. The selected page shown will be the same as before. You can see this in action here:



    Any suggestions or help would be very much appreciated - otherwise I think we'll have to revert back to the 2.2 plugins.

    Thanks.
  • Picture of Tony Box
    Thu, Sep 26, 2013, 12:47 AM
    Hi Roland,

    Thanks a bunch for the detailed bug report. Would you please add it to the bug tracker on GitHub?

    You can find the link to the bug tracker up above, within the "Useful Links" section which is below the description of the plugin.

    Thanks,
    Tony
  • Picture of Bei Chapman
    Thu, Jul 17, 2014, 3:58 AM
    Hi Tony,

    I am very new to Mahara thing. Today I installed these 3 Mahara plugins (assignment submission, feedback and local) into my moodle dev environment, which is using Moodle 2.6.2 and PHP 5.3.3. I haven't studied and touched Mahara instance on a separate site.

    However, when I go to course, and try to add an assignment, I get the following error:
    "QuickForm Error: nonexistent html element Element 'assignsubmission_mahara_enabled' does not exist in HTML_QuickForm::removeElement()"

    Basically the assignment tool is not usable now.

    Any ideas what I did wrong here?

    Thanks a lot.
    Bei
  • Paul
    Fri, Dec 19, 2014, 4:08 AM
    Will this tool work with Moodle 2.7 and 2.8? Further, does it work with Mahara 1.10?
  • Picture of Tony Box
    Fri, Dec 19, 2014, 7:53 AM
    Hi Paul,

    This version of the plugin will no longer be supported and is going to be replaced by a new version that will work with moodle 2.6+. The new version is going to be maintained by the Mahara team themselves. An added bonus is that the local plugin will no longer be needed.

    If you check back sometime next week or possibly early January, the Mahara assignment submission and feedback plugins will both be updated with the newest versions.

    -Tony
  • Picture of Chris Kenniburg
    Wed, Mar 11, 2015, 11:16 PM
    I just tried out the latest version from February 10th, 2015 and I am most impressed.
    This version seems to work flawlessly with our setup and I greatly appreciate your work on this. I love that our teachers can grade portfolio pages right in Moodle. Great job to all involved.
  • Mahara logo
    Thu, Mar 12, 2015, 10:15 AM
    Thanks Chris, I'm glad to hear it!
  • Picture of Anis Jradah
    Wed, May 27, 2015, 4:23 PM
    Dear All,

    While we are upgrading to the latest version we are getting this error:
    Cannot downgrade assignsubmission_mahara from 20140412000 to 2014082002.

    Any help.

    Thank you,
    Anis
  • Mahara logo
    Thu, May 28, 2015, 7:43 AM
    It appears that the problem Anis describes, is due to the last release of the Portland U plugin having an erroneous extra "0" on the end of its version number. The workaround is to directly update the stored version number in your database.

    update mdl_config_plugins set value='2014041200' where plugin='assignsubmission_mahara' and name='version' and value='20140412000';

    There is a bug tracker report about this issue here: https://github.com/MaharaProject/moodle-assignsubmission_mahara/issues/9
Please login to post comments