I haven't started porting this module to d7 as yet. I will probably take it up when I get a request from my clients to do it.

Comments

sivaji_ganesh_jojodae’s picture

Category: bug » task

Changing category to task.

amagdy’s picture

I needed a drupal 7 Port for this module, I'm almost done with it
will post it in a couple of days or though

sivaji_ganesh_jojodae’s picture

@amagdy, please share your code.

amagdy’s picture

StatusFileSize
new3.63 KB

TODO's:
- this code doesn't check for file extensions
- i don't validate your file uploads
- as original module, patch is required, question_types/quiz_question/quiz_question.module , function quiz_question_evaluate_question
if (empty($answer) && isset($_FILES['files']['type']['tries']) && !empty($_FILES['files']['type']['tries'])) {
$answer = $_FILES;
}

Additions:
- feedback/report form display file link as usual, but if it is an image, a thumbnail of this image is shown

amagdy’s picture

any plans to publish this ?! any issues delaying publish ?

univate’s picture

Status: Active » Needs review
StatusFileSize
new16.96 KB

attaching a patch for the previous file upload.

sivaji_ganesh_jojodae’s picture

amagdy and univate, thanks for the patch. I will check it this weekend and could publish the d7 version if possible.

univate’s picture

StatusFileSize
new17 KB

Re-rolled patch, due to change in the definition of class QuizQuestion in quiz.module

samsterlin’s picture

Status: Needs review » Reviewed & tested by the community
sivaji_ganesh_jojodae’s picture

Status: Reviewed & tested by the community » Fixed

Thank you. Patch has been committed. Drupal 7 version is available for download from project page.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.