Moodle plugins directory: IP address list quiz access rule | Moodle.org
IP address list quiz access rule
Quiz access rules ::: quizaccess_ipaddresslist
Maintained by Vadim Dvorovenko
This plugin works just as usual limitation on IP, but the list of subnets with names (eg, library, local area network, a computer lab, etc.) enters the site administrator. Teachers in tests simply select the required subnet.
Latest release:
188 sites
128 downloads
28 fans
Current versions available: 1
Visit admin page to configure IP adress list. When you setup quiz, you may select any named IP list.
Selecting none means that this limitation will not apply. If the administrator changes the subnet, for example, by adding one more address, it is immediately reflected in all tests using this subnet.
Useful links
Contributors
Vadim Dvorovenko (Lead maintainer)
Please login to view contributors details and/or to contact them
http://integration.moodle.org/job/Precheck%20remote%20branch/23141/artifact/work/smurf.html
I'll be honest, I didn't even know there was such a plugin as a "quiz access rule" until you submitted this.
When I first installed it, it went to the new settings page (like all plugins do). It showed me a page with "New settings - IP address list quiz access rule" and a Save button, but there were no settings to make. Clicking the "Save changes" button just kept redisplaying the page. I was able to break out by going back to the site main URL.
I was able to edit the settings from the main quiz activity settings.
One other small problem. If I select a location set for a quiz, there doesn't seem to be a way to "unselect" it except by selecting another set. How do I choose to make the quiz available to anyone once I have selected location initially?
I already experienced this "stuck on the new settings page" thing in other plugin (could not find it now). If I recall correctly, it might be caused by the configmultiselect $choices being empty array, or something like that.
That's common moodle problem with multiselect - it's shown such way on PC. You should use Ctrl to unselect item, as written in caption. On some touchscreen browser this list is shown as list with checkboxes, that's much easier to use.
Currently we have admin_setting_configmulticheckbox, but we do not have same element for mform. On the other hand I see, that if i use list of checkboxes, they will use a lot of screen size, if there are many items in list. Current list is limited in height.
I do not want to code "allow from everywhere" predefined element in this list, as it may lead to contradiction, when you select such item and something else.
Currently site administrator may add such item manually, by adding ip 0.0.0.0/0 to list
Yeah, I was solving very same usability issues with the component selector field at the AMOS translator filter page (https://lang.moodle.org/local/amos/view.php). At the end I concluded that the list of checkboxes works best for multi-selection purpose and the issue with the space occupied by a long list can be solved via CSS by setting maximum height of the wrapping div.