2017 © Pedro Peláez
 

moodle-availability moodle-availability_maxviews

An availability condition for Moodle that limits the number of views of an activity by users

image

danielneis/moodle-availability_maxviews

An availability condition for Moodle that limits the number of views of an activity by users

  • Tuesday, February 6, 2018
  • by danielneis
  • Repository
  • 2 Watchers
  • 2 Stars
  • 18 Installations
  • Gherkin
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Maximum views Availability Condition for Moodle

An availability condition for Moodle that limits the number of views of an activity by users, (*1)

Install

  • Put these files at moodle/availability/condition/maxviews/
    • You may use composer
    • or git clone
    • or download the latest version from https://github.com/danielneis/moodle-availability_maxviews/archive/master.zip
  • Log in your Moodle as Admin and go to "Notifications" page
  • Follow the instructions to install the plugin
  • Disable Legacy logs for this plugin to work correctly.

Usage

  • Go to a course, turn edit on, choose a module to add or edit
  • In the 'Availability restrictions' section you'll be able to add a "Max views" condition.
  • This type of condition allows you to set a maximum number of views that will be accounted for each user and after the user access the content that many times, he/she will not be able to access it anymore.

This block is tested with the following plugins and is working:, (*2)

  • Assignment
  • File
  • Forum
  • Lesson
  • Page
  • URL

This block is also tested with the following plugins that are not working:, (*3)

  • Book
  • Label
  • Wiki

If you are interested in using this plugin with the ones that are not working please take a look at #2., (*4)

Dev Info

Please, report issues at: https://github.com/danielneis/moodle-availability_maxviews/issues, (*5)

Feel free to send pull requests at: https://github.com/danielneis/moodle-availability_maxviews/pulls, (*6)

Build Status Scrutinizer Code Quality, (*7)

The Versions

06/02 2018

dev-master

9999999-dev

An availability condition for Moodle that limits the number of views of an activity by users

  Sources   Download

GPLv3 GPL-3.0-or-later

The Requires

 

by Daniel Neis Araujo

06/02 2018

5

5.0.0.0

An availability condition for Moodle that limits the number of views of an activity by users

  Sources   Download

GPL-3.0-or-later

The Requires

 

by Daniel Neis Araujo

08/06 2016

4

4.0.0.0

An availability condition for Moodle that limits the number of views of an activity by users

  Sources   Download

GPLv3

The Requires

 

by Daniel Neis Araujo

05/05 2016

3

3.0.0.0

An availability condition for Moodle that limits the number of views of an activity by users

  Sources   Download

GPLv3

The Requires

 

by Daniel Neis Araujo

04/08 2015

2

2.0.0.0

An availability condition for Moodle that limits the number of views of an activity by users

  Sources   Download

GPLv3

The Requires

 

by Daniel Neis Araujo

26/07 2015

1

1.0.0.0

An availability condition for Moodle that limits the number of views of an activity by users

  Sources   Download

GPLv3

The Requires

 

by Daniel Neis Araujo