User-IP Mapping quiz access rule
插件测验访问限制

User-IP Mapping quiz access rule

quizaccess_useripmappingAmrata Ramchandani

  • Moodle 3.3–3.4
  • 更新 2018-02-12

This plugin allow us to restrict a user to attempt the quiz only from a pre-allocated location(e.g IP address).
Moodle Plugin – User-IP mapping quiz access rule
Need
1) If we want to restrict a user to attempt the quiz only from a pre-allocated location(e.g IP address).
2) To have a record of from which all locations the quiz was attempted and by whom.
Solution
Users appearing for the quiz need to be mapped with an IP address.
Installation
1) Download and unzip the zip file.
2) Place the plugin folder in the ” /mod/quiz/accessrule  ” subdirectory.
3) Remove the accessrule_navigation_patch.txt file from the ” /mod/quiz/accessrule/useripmapping ” subdirectory and place it under
” /mod/quiz/  ” .
4) Apply the patch by
i) navigating to the folder
ii) executing following command in the command prompt
patch -p3 < accessrule_navigation_patch.txt
Fig. 1 navigate to the quiz folder and run above cmd.
Fig. 2  After successful patch application.
5) Visit http://yoursite.com/admin to finish the installation
6) Complete the installation by clicking on “Upgrade Moodle database now”,click on continue after the success notification appears on the page.

返回插件目录