Moodle plugins directory: Max Views | Moodle.org
Max Views
Availability restriction ::: availability_maxviews
Maintained by Daniel Neis Araujo
An availability condition for Moodle that limits the number of views of activities and resources by users
Latest release:
169 sites
77 downloads
25 fans
Current versions available: 5
With this plugin you can limit your users to view any type of activity or resource a certain amount of times. The limit is applied to each user individually and is based on events for the associated context module.
Contributors
Daniel Neis Araujo (Lead maintainer)
Please login to view contributors details and/or to contact them
don't know why the behat tests are not catching this error.
I've fixed it and now it works:
https://travis-ci.org/danielneis/moodle-availability_maxviews/jobs/136257982
Kind regards,
Daniel
Thanks Daniel. I am approving the plugin now. You are cleared to land, welcome to the Plugins directory.
This plugins generated yesterday in one of our test campus the following messages in our security system.
The campus, after install thos plugins, did not permit edit acction in all campus.
We can see the resources, but dont edit and dont insert new resource.
The status back to normal situation after un-install the plugin
[Tue Jul 19 14:18:04 2016] [error] [client XX.XX.XX.XX] ModSecurity: Access denied with code 500 (phase 2). Match of "rx ^OPTIONS$" against "REQUEST_METHOD" required. [file "/etc/apache2/modsecurity/modsecurity_crs_21_protocol_anomalies.conf"] [line "41"] [id "960015"] [msg "Request Missing an Accept Header"] [severity "CRITICAL"] [tag "PROTOCOL_VIOLATION/MISSING_HEADER"] [hostname "xxxxxxxxxx.xxx.gov.ar"] [uri "/"] [unique_id "V45gzAoCAwQAAGrRjZgAAABg"]
PLease, verify bebfore install this pluging.
We verify that the pluging its the problem with second test in another campus installation.
regards
Carlos
I am using in our moodle site i am able to restrict but as i save the it in the course
next time i am not able to access the restriction its completely disabled for the admin
later i need to go to plugins and disable the MAXVIEW, then the whole restrict tab starts working.
Some one please help me..
Do you work on Wordpress and Joomla?
https://algawalat.com/
which Moodle version are you using?
Can you enable de debugging mode in Moodle and share the info showed with us?
please send a pull request to the github repository: https://github.com/danielneis/moodle-availability_maxviews/
Thank you in advance!
I created a pull request which connected this plugin with a block to control the number of maximum views for certain user in the course
Can you have a look on it?
I've just made available a version compatible with Moodle 4.x
It also add a new feature to override the limits for especific users in activities.