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:
212 sites
31 downloads
26 fans

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

Show comments
  • Karan Khanna
    اربع, 7 جون 2017, 4:45 AM
    Thanks for this wonderful plugin which I liked a lot, using it on https://snapchatonlinelogin.org
  • Sam AG
    آچر, 10 ڊسمبر 2017, 6:12 PM
    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, 8:42 PM
    A wonderful plugin well worth the experience
    Do you work on Wordpress and Joomla?
    https://algawalat.com/
  • Daniel Neis Araujo
    اڱارو, 9 جنوري 2018, 9:19 PM
    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, 11:04 PM
    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, 11:46 PM
    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, 12:11 AM
    Pull request done.
  • Mohammad Farouk
    اڱارو, 24 جنوري 2023, 10:47 PM
    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, 12:25 AM
    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, 2:19 PM
    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, 2:39 AM
    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, 3:44 PM
    Thank you very much Daniel! You saved my life smile
  • Ayman Naser
    اڱارو, 30 جولاءِ 2024, 12:13 AM
    Hello
    I add this blugin nbut when I apply the restrictions I get the following message ( Call to undefined method core_availability\info_section::get_course_module())
    I am using moodle 4.4
  • Daniel Neis Araujo
    جمعو, 2 آگسٽ 2024, 1:50 AM
    Hello, Ayman
    Are you using the latest version of the plugin?
    I just tested it on the main branch (4.5dev) and it worked.
    If you are using the latest version, please, enable debug mode and display of debug messages and repeat the steps and paste the stack trace here
  • Juan Carlos Galdos
    اڱارو, 20 مئي 2025, 12:46 PM
    Hey Daniel, any plans to make the upgrade to 4.5? Your plugin is still amazing.
1 2
Please login to post comments