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:
226 sites
39 downloads
26 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

コメントを表示する
  • Karan Khanna
    2017年 06月 7日(水) 04:45
    Thanks for this wonderful plugin which I liked a lot, using it on https://snapchatonlinelogin.org
  • Sam AG
    2017年 12月 10日(日) 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
    2017年 12月 30日(土) 20:42
    A wonderful plugin well worth the experience
    Do you work on Wordpress and Joomla?
    https://algawalat.com/
  • Daniel Neis Araujo
    2018年 01月 9日(火) 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
    2018年 01月 10日(水) 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
    2018年 01月 10日(水) 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
    2018年 02月 7日(水) 00:11
    Pull request done.
  • Mohammad Farouk
    2023年 01月 24日(火) 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
    2023年 03月 4日(土) 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
    2023年 06月 23日(金) 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
    2023年 06月 28日(水) 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
    2023年 06月 29日(木) 15:44
    Thank you very much Daniel! You saved my life 笑顔
  • Ayman Naser
    2024年 07月 30日(火) 00:13
    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
    2024年 08月 2日(金) 01:50
    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
    2025年 05月 20日(火) 12:46
    Hey Daniel, any plans to make the upgrade to 4.5? Your plugin is still amazing.
1 2
Please login to post comments