Precondition

Blocks ::: block_precondition
Maintained by que bueno que sabe el café colombiano...David Herney
A moodle block to display a message to users if a defined condition is not satisfied.

Precondition t

Moodle 4.1, 4.2, 4.3, 4.4, 4.5
Released: Wednesday, 9 April 2025, 12:16 PM
# Block Precondition

A moodle block to display a message if a defined condition is not satisfied.

Package tested on: moodle 4.1+, 4.3+, 4.5+.

## Quick install
Download zip package, extract the precondition folder and upload this folder into blocks/.

## About
* **Developed by:** David Herney - davidherney at gmail dot com
* **GIT:** https://github.com/davidherney/moodle-block_precondition
* **Powered by:** [BambuCo](https://bambuco.co/)

## In version

### 2024072346:
* New 'Once per session' precondition type.
* Compatibility with Moodle 4.5+

### 2024072345:
Compatibility with Moodle 4.3+

### 2024072344:
Custom settings in the block edit form.

### 2024072343:
Compatibility with Moodle 4.1+

### 2020032102:
Control required precondition with specific capability.

### 2020032101:
Added block settings and the data module.

### 2020032100:
Start project


## Release names

**Releases:** C, a, t, 4, l, i, n, ª

* C: the first release
* a: Moodle 4.1+ version
* t: Moodle [4.3+, 4.5] version

## License
GNU/GPL

Version information

Version build number
2024072347
Version release name
t
Maturity
Stable version
MD5 Sum
193d7683742d35c41f8687b71f11e38b
Supported software
Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5
  • Latest release for Moodle 4.1
  • Latest release for Moodle 4.2
  • Latest release for Moodle 4.3
  • Latest release for Moodle 4.4
  • Latest release for Moodle 4.5

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Blocks

  1. Make sure you have all the required versions.
  2. Download and unpack the block folder.
  3. Place the folder (eg "myblock") in the "blocks" subdirectory.
  4. Visit http://yoursite.com/admin to complete the installation
  5. Turn editing on in any home or course page.
  6. Add the block to the page
  7. Visit the config link in the block for more options.