-
New Feature
-
Resolution: Fixed
-
Minor
-
2.3.1
I have developed conditional activities based on user profile fields and custom user profile fields. This means it is possible to create a new activity and restrict it to only a certain group of individuals. You are able to specify whether a field "is empty", "contains", "does not contain", "is equal to", "starts with" or "ends with" a given value.
Example: restrict an activity to user who's -
Email ends with "moodle.com"
Department does not contain "Temporary Staff"
City/town is equal to "Perth"
Please note, I copied the coding style of existing code conditionlib so that it was consistent but am happy to clean it up or for someone else to clean it up if people would rather it followed Moodle coding guidelines.
- Discovered while testing
-
MDL-34289 No option to uncheck a custom profile field of type checkbox marked as required
-
- Closed
-
-
MDL-34220 Backup/Restore of custom user field conditions doesn't work on different sites.
-
- Closed
-
-
MDL-34285 User profile field conditions missing a "is not empty" option.
-
- Closed
-
-
MDL-34286 Caching issue in user profile field conditions
-
- Closed
-
-
MDL-34287 Bug in user profile field conditions with default values.
-
- Closed
-
-
MDL-34288 User profile field conditions should be able to specify possible conditions.
-
- Closed
-
- has been marked as being related by
-
MDL-42109 Conditional availability: User field 'Country' check uses 2-letter code which isn't clear
-
- Open
-