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.

Screenshots

Screenshot #0

Contributors

Daniel Neis Araujo (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Prikaži komentare
  • Daniel Neis Araujo
    чет, 9. јун 2016, 04:42
    Hello, David

    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
  • David Mudrák
    пет, 15. јул 2016, 15:44

    Thanks Daniel. I am approving the plugin now. You are cleared to land, welcome to the Plugins directory.

  • Carlos
    сре, 20. јул 2016, 18:30
    Hi.
    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


  • Karan Khanna
    сре, 7. јун 2017, 04:45
    Thanks for this wonderful plugin which I liked a lot, using it on https://snapchatonlinelogin.org
  • Sam AG
    нед, 10. дец 2017, 18:12
    hi ,
    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..
  • abdelmajid jalal
    суб, 30. дец 2017, 20:42
    A wonderful plugin well worth the experience
    Do you work on Wordpress and Joomla?
    https://algawalat.com/
  • Daniel Neis Araujo
    уто, 9. јан 2018, 21:19
    Hello, Sam AG

    which Moodle version are you using?
    Can you enable de debugging mode in Moodle and share the info showed with us?
  • Andres Ramos
    сре, 10. јан 2018, 23:04
    Sam AG and Daniel, it happens in version 3.3+ and 3.4. I was able to fix the issues and made some improvements. Let me know how can I send you the fixes for the plugin and you can test on your end.
  • Daniel Neis Araujo
    сре, 10. јан 2018, 23:46
    Hello, Andres

    please send a pull request to the github repository: https://github.com/danielneis/moodle-availability_maxviews/

    Thank you in advance!
  • Andres Ramos
    сре, 7. феб 2018, 00:11
    Pull request done.
  • Mohammad Farouk
    уто, 24. јан 2023, 22:47
    Great plugin, is it possible to make it available for moodle 4.1 and make an option to rest the views count for certain student and activity
  • Mohammad Farouk
    суб, 4. мар 2023, 00:25
    Greetings Daniel
    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?
  • Juan Carlos Galdos
    пет, 23. јун 2023, 14:19
    Any idea when you will upgrade this plugin to 4.1? Our school really need this plugin in that version in order to be allowed. Thank you!
  • Daniel Neis Araujo
    сре, 28. јун 2023, 02:39
    Hello, Juan
    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.
  • Juan Carlos Galdos
    чет, 29. јун 2023, 15:44
    Thank you very much Daniel! You saved my life smešak
1 2
Please login to post comments