Please note all plugin references from core should use callbacks, it is not ok to use capabilities or links to plugins because they may not be present in customised installs.
AMOS BEGIN
MOV [pluginpagetype,coursereport_stats],[pluginpagetype,report_stats]
MOV [stats:view,coursereport_stats],[stats:view,report_stats]
AMOS END
AMOS BEGIN
CPY [log:viewlive,coursereport_log,[loglive:view,report_loglive]
MOV [livelogs,core],[livelogs,report_loglive]
CPY [loglive,coursereport_log],[pluginname,report_loglive]
AMOS END
AMOS BEGIN
MOV [participation:view,coursereport_participation],[participation:view,report_participation]
MOV [pluginpagetype,coursereport_participation],[pluginpagetype,report_participation]
MOV [pluginname,coursereport_participation],[pluginname,report_participation]
AMOS END
AMOS BEGIN
MOV [pluginname,coursereport_progress],[pluginname,report_progress]
MOV [pluginpagetype,coursereport_progress],[pluginpagetype,report_progress]
MOV [progress:view,coursereport_progress],[progress:view,report_progress]
AMOS END
AMOS BEGIN
MOV [outline:view,coursereport_outline],[outline:view,report_outline]
MOV [pluginpagetype,coursereport_outline],[pluginpagetype,report_outline]
MOV [pluginname,coursereport_outline],[pluginname,report_outline]
AMOS END
Remember password for course guest access and reuse it if the enrol cache is reset. Do not print guest access form when already using guest course access.
get_extra_user_fields to get a list of extra user fields for display (that are permitted for current user in given context). get_extra_user_fields_sql returns the same thing as a SELECT list.
get_user_field_name returns the display name of a user field (basically just get_string($field) except phone1=>phone)
This change:
- Renames the existing setting 'extrauserselectorfields' to 'showuseridentity'
in preparation for using it in more places. (Upgrade change, new version.)
- Adds a new capability moodle/site:viewuseridentity, now required in order
to see the extra fields; if you don't have the capability, you don't see them
- Slightly improves the display of extra fields in user selector list; it used
to be like 'sam marshall, 01234567, email@address' and is now
'sam marshall [01234567, email@address]' ie the fields are in square
brackets
- Turns feature on for the group selector - the feature was enabled for other
user selectors but not for the group selector. Tim did the disable code, he
thinks this may be to do with more people having access to group selector -
probably not a problem now it is controlled by capability.