Availability conditions: Restriction by relative date

availability_relativedate
Maintained by RenaatRenaat Debleu
Restrict module and section access based on a relative date.
126 sites
100 downloads
10 fans
Current versions available: 1

Relative dates will be experimental in Moodle 3.8. Until then we can restrict module and section access based on a relative date.

This availability condition makes it easy to show modules or sections only x days/weeks/months - after course start date - before course end date - after user enrolment date.

Check the global documentation about availability conditions : https://docs.moodle.org/en/Conditional_activities_settings

Installation:

  1. Unpack the zip file into the availability/condition/ directory. A new directory will be created called relativedate.
  2. Go to Site administration > Notifications to complete the plugin installation.

travis  coverage

Screenshots

Screenshot #0

Contributors

Renaat
Renaat Debleu (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Mon, May 13, 2019, 2:30 AM
    Approval issue created: CONTRIB-7719
  • B.Havel
    Wed, Sep 4, 2019, 8:18 PM
    Nice, but for the drop-down list use items that will be in AMOS, please.
    Bohus
  • Picture of Jule Geisler
    Thu, Dec 19, 2019, 6:50 PM
    This does exactly what we were looking for, thanks. It's working fine but I have some questions about the translations. I added the german translations in AMOS but can you please add the hours/days/weeks/months drop down items there, too? It's an interesting mix of languages for me right now. Another thing is that the correct german capitalization from AMOS is working for when I select from the 'after course start date' drop down, but when i save it it's all lower case letters on the course page. Is there a reason why? We found in the code, that it's on purpose but don't understand why.
  • Renaat
    Wed, Jan 22, 2020, 1:57 AM
    Hello Jule,

    THX for your comments and a big sorry I forgot about the German (and Chinese, Arabic, Swahili, ...) speakers.

    I prepared a new version on github (master branch) which should better suit your needs. However I will need some extra time to test if all changes work in various languages. Can you give me a hand with this testing?

    Renaat
  • Picture of Samuel Sánchez sanz
    Mon, Mar 23, 2020, 7:05 PM
    Gran Plugin amigo.

    Pero le quería pedir un gran favor... y es que si puede agregar una traducción del plugin al español.

    muchas gracias de antemano
  • Renaat
    Tue, Mar 24, 2020, 4:02 PM
    Hecho! Ahora sólo tenemos que esperar hasta que los cambios aparezcan.
    R
  • Picture of Samuel Sánchez sanz
    Thu, Mar 26, 2020, 4:37 AM
    Hola de nuevo amigo
    Quería proponerle una mejora para su plugin, que ya es fantastico jejeje, es que al igual que se pueda programar la apertura de recursos, también se pueda programar su cierre, en relación a la fecha de inscripción.

    muchas gracias y espero que le vaya bien.
  • Renaat
    Tue, Mar 31, 2020, 9:15 PM
    Ya esta incluido, esta functionalidad. Pero la forma de presentar la restriction no functiona como debe ser. Si se puede ayudar en encontrar una solution,...

    R
  • Picture of Samuel Sánchez sanz
    Thu, Apr 2, 2020, 2:22 AM
    Como podría ayudarle? para que funcione correctamente, comentarle que soy profesor no desarrollador
  • Renaat
    Thu, Apr 2, 2020, 3:52 AM
    Hola Samuel,

    Hay 3 cosas que son importantes para un programador: la retroalimentación, la retroalimentación y la retroalimentación.

    por eso hay [un informe de errores](https://github.com/ewallah/moodle-availability_relativedate/issues) donde se puede indicar:
    - esta parte functiona muy bien
    - esta parte no funciona (capturas de pantalla de todos los passos)
    - esta pare puede functionar mejor si se cambia asi ...

    No hay malas ideas con retroalimentación.

    R
  • Picture of Samuel Sánchez sanz
    Mon, Apr 13, 2020, 4:51 PM
    Hola amigo, ya le traduje los textos al Español Internacional, desde el apartado de Traduciones de modle, espero que le ayude
  • Picture of Ram Freedman
    Tue, May 26, 2020, 12:12 AM
    Hi,
    You mentioned that "Relative dates will be experimental in Moodle 3.8."
    I have now Moodle 3.8.3+ (Build: 20200522) - is the Relative dates already part of the based moodle system? Or do i need your plugin?

    By the way - you also mentioned that I'm i need it for other language then english I should download the plugin from somewhere else?

    Regards,
    Ram

  • Renaat
    Tue, May 26, 2020, 1:13 AM
    Hi Ram,

    Relative dates are experimental in Moodle 3.8+ , to enable relative dates you need to go to Administration => Development => Experimental => Experimental settings.

    Perhaps this will be enough for you, but in case you want extra availability restrictions based on relative dates, then you will need to install this plugin.


    R
Please login to post comments