Hi,

It would be great to have such a possibility, to decide to which users show feedback and correct answers (both after question and in final report), as then admin can show answers only to logged-in users and thus encourage people to register, which is important for developing and building site community. What do u think?

cheers,
mat

Comments

matdab’s picture

I' ve found the temporary solution: in quiz-report-form.tpl.php, find line 54 and change
print drupal_render($sub_form['response']);
to

      if(!$user->uid==0) print drupal_render($sub_form['response']); 
      else print '<div class="messages status"> <a href="/user">Login</a> to see correct answers and explanations. </div>';
      
matdab’s picture

Issue summary: View changes

more precised explanation of what i need

ezraw’s picture

Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)
djdevin’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

This issue is being closed because it was filed against a version that is no longer supported. If the issue still persists in the latest version of Quiz, please open a new issue.