Convert single file upload to Adanced file upload (easily)

Convert single file upload to Adanced file upload (easily)

by Brian Mulligan -
Number of replies: 5
Is there a way to convert an existing 'single file upload'' assignment, to 'Advanced file upload' without deleting and creating a new assignment?

This might save me a lot of work.

Thanks.

Brian

Brian Mulligan brian.mulligan@gmail.com, http://brian.mulligan.googlepages.com/
Open Learning Coordinator, Institute of Technology Sligo, Ireland http://www.itsligo.ie/online
Phone: +353 71 9137245 Mobile: +353 87 2192070 Skype : brianmmulligan
Join the Irish Learning Technology Association http://ilta.net/ - it's free!
Average of ratings: -
In reply to Brian Mulligan

Re: Convert single file upload to Adanced file upload (easily)

by Dave Perry -
Picture of Testers
Brian

I've found a way that involves modifying the database entry for the assignment. In the table mdl_assignment, you need to find the row (use the description field contents to help) then edit the assignmenttype field value to become "uploadsingle" to "upload" - find a techy or database type if you need help accessing your database that underpins moodle.

To show ALL assignments id, description and type fields...
SELECT id,assignmenttype,description FROM mdl_assignment;

Find the value of id field where the description matches the one you want to change. When you know the id of the row to update (which I'm referring to as changeid here)...
UPDATE mdl_assignment SET assignmenttype='upload' WHERE id=changeid


Hope that helps,
Dave
Average of ratings:Useful (1)
In reply to Dave Perry

Re: Convert single file upload to Adanced file upload (easily)

by Brian Mulligan -
Thanks, Dave. It helps to a point. I act as Moodle administrator insofar as I set up new courses and provide some level of support to teaching staff. Neither I nor any of the teaching staff would be able to do what you described. We are hosted externally by Moodle specialists who could do that for us, but I would imagine that if the demand was small it would be easier to create new assignments (and ask students to resubmit if necessary).

At least now i know where we stand on this.

thanks again.

Brian
In reply to Dave Perry

Re: Convert single file upload to Adanced file upload (easily)

by Brent Phar -

Thanks David!  This worked like a charm.  Saved me hours of work, and explaining to the students that they needed to re upload their first assignment.

Brent

In reply to Brent Phar

Re: Convert single file upload to Adanced file upload (easily)

by Andrew Osiname -

can i convert an online assignment type to an advanced upload?

In reply to Andrew Osiname

Re: Convert single file upload to Adanced file upload (easily)

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Hi there. No you can't, at least not "easily" as put in your subject. Whether there is a "difficult" way to do it via the database I don't know  but certainly in Moodle the quickest way would be simply to make a new assignment and get the students to use that new one instead.