{"id":5,"date":"2024-05-24T10:48:54","date_gmt":"2024-05-24T09:48:54","guid":{"rendered":"http:\/\/docs.brickfield.ie\/block-audiencemessage\/?page_id=5"},"modified":"2025-09-30T16:23:10","modified_gmt":"2025-09-30T15:23:10","slug":"site-administrator","status":"publish","type":"page","link":"https:\/\/docs.brickfield.ie\/block-audiencemessage\/site-administrator\/","title":{"rendered":"Site administrator"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"5\" class=\"elementor elementor-5\" data-elementor-post-type=\"page\">\n\t\t\t\t<header class=\"elementor-element elementor-element-7f743b4 e-flex e-con-boxed e-con e-parent\" data-id=\"7f743b4\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-886d633 elementor-widget elementor-widget-template\" data-id=\"886d633\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"template.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-template\">\n\t\t\t\t\t<div data-elementor-type=\"container\" data-elementor-id=\"175\" class=\"elementor elementor-175\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a2a4cf1 e-flex e-con-boxed e-con e-parent\" data-id=\"a2a4cf1\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9ae1d2e elementor-widget elementor-widget-image\" data-id=\"9ae1d2e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"811\" height=\"186\" src=\"https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-content\/uploads\/sites\/14\/2024\/05\/brickfield-logo-2.png\" class=\"attachment-full size-full wp-image-16\" alt=\"Brickfield Education Labs\" srcset=\"https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-content\/uploads\/sites\/14\/2024\/05\/brickfield-logo-2.png 811w, https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-content\/uploads\/sites\/14\/2024\/05\/brickfield-logo-2-300x69.png 300w, https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-content\/uploads\/sites\/14\/2024\/05\/brickfield-logo-2-768x176.png 768w\" sizes=\"(max-width: 811px) 100vw, 811px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/header>\n\t\t<nav class=\"elementor-element elementor-element-fc5e016 e-flex e-con-boxed e-con e-parent\" data-id=\"fc5e016\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4244ff9 elementor-widget elementor-widget-text-editor\" data-id=\"4244ff9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><a href=\"https:\/\/docs.brickfield.ie\/block-audiencemessage\/\">Home<\/a> &#8211; Site administrator<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/nav>\n\t\t<main class=\"elementor-element elementor-element-e245acb e-flex e-con-boxed e-con e-parent\" data-id=\"e245acb\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-8fa1edb e-con-full e-flex e-con e-child\" data-id=\"8fa1edb\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-0953f60 banner e-con-full e-flex e-con e-child\" data-id=\"0953f60\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9216e19 elementor-widget elementor-widget-heading\" data-id=\"9216e19\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Audience Message: Site administrator<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-da91803 e-flex e-con-boxed e-con e-child\" data-id=\"da91803\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<aside class=\"elementor-element elementor-element-4e56714 e-con-full e-flex e-con e-child\" data-id=\"4e56714\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5226a1a elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents\" data-id=\"5226a1a\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;exclude_headings_by_selector&quot;:[],&quot;no_headings_message&quot;:&quot;No headings were found on this page.&quot;,&quot;headings_by_tags&quot;:[&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;,&quot;h5&quot;,&quot;h6&quot;],&quot;marker_view&quot;:&quot;numbers&quot;,&quot;minimize_box&quot;:&quot;yes&quot;,&quot;minimized_on&quot;:&quot;tablet&quot;,&quot;hierarchical_view&quot;:&quot;yes&quot;,&quot;min_height&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}\" data-widget_type=\"table-of-contents.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-toc__header\">\n\t\t\t\t\t\t<h2 class=\"elementor-toc__header-title\">\n\t\t\t\tTable of Contents\t\t\t<\/h2>\n\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--expand\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__5226a1a\" aria-expanded=\"true\" aria-label=\"Open table of contents\"><svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-chevron-down\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z\"><\/path><\/svg><\/div>\n\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--collapse\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__5226a1a\" aria-expanded=\"true\" aria-label=\"Close table of contents\"><svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-chevron-up\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z\"><\/path><\/svg><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<div id=\"elementor-toc__5226a1a\" class=\"elementor-toc__body\">\n\t\t\t<div class=\"elementor-toc__spinner-container\">\n\t\t\t\t<svg class=\"elementor-toc__spinner eicon-animation-spin e-font-icon-svg e-eicon-loading\" aria-hidden=\"true\" viewBox=\"0 0 1000 1000\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M500 975V858C696 858 858 696 858 500S696 142 500 142 142 304 142 500H25C25 237 238 25 500 25S975 237 975 500 763 975 500 975Z\"><\/path><\/svg>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/aside>\n\t\t<section class=\"elementor-element elementor-element-68a1092 e-con-full e-flex e-con e-child\" data-id=\"68a1092\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7d335ba elementor-widget elementor-widget-heading\" data-id=\"7d335ba\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Introduction<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e79947b elementor-widget elementor-widget-text-editor\" data-id=\"e79947b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The Audience Message block plugin allows you to set personalised messages to different audiences, displaying in a block format to the users, which is specially designed to appear on the main dashboard. Different users will view different messages, which are configured as \u201crules\u201d.<\/p><p>\u00a0<\/p><p>Exactly which messages users will see, will depend on the match-ups between their personal user profile details and the filtering options set up for each message rule. Hence, Science students will be able to view the messages configured for the Science department, Year 1 students will be able to view any messages configured for whichever custom profile field deals with Year 1\/2\/3\/4 denotations, if any, and so on.<\/p><p>\u00a0<\/p><p>If no active rules match for the logged-in user, then there are no messages to display, hence the block will not appear on the dashboard to that user at that time.<\/p><p>\u00a0<\/p><p>Core Moodle has limited user-specific student displays on their main dashboard. Therefore, this plugin meets the requirement to have prominent, urgent, timed, or important messages to different segments of students, and \/ or staff.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-beed6b9 elementor-widget elementor-widget-heading\" data-id=\"beed6b9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Administration<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a83f83c elementor-widget elementor-widget-text-editor\" data-id=\"a83f83c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This section is for the administration of the Audience Message plugin.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e16fd44 elementor-widget elementor-widget-heading\" data-id=\"e16fd44\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Version Support<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-49edc42 elementor-widget elementor-widget-text-editor\" data-id=\"49edc42\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This plugin is supported for Moodle versions 4.1, 4.4, and 4.5.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3dfeabe elementor-widget elementor-widget-heading\" data-id=\"3dfeabe\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Deployment<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4e82a03 elementor-widget elementor-widget-text-editor\" data-id=\"4e82a03\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>To install the Audience Message block (block_audiencemessage):<\/p><ol><li>Unzip and copy the\u00a0<strong>audiencemessage <\/strong>folder into Moodle&#8217;s <strong>blocks\/<\/strong> folder.<\/li><li>Go to <em>Site administration &gt; Notifications<\/em> to install the block.<\/li><\/ol><p>\u00a0<\/p><p>Further installation instructions can be found on the <a href=\"https:\/\/docs.moodle.org\/400\/en\/Installing_plugins\">Installing plugins<\/a> Moodle documentation page.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ec74134 elementor-widget elementor-widget-heading\" data-id=\"ec74134\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Configurations<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fbb6b62 elementor-widget elementor-widget-text-editor\" data-id=\"fbb6b62\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The configurations for this Audience Message block are:<\/p><ul><li><strong>Hide Header<\/strong> &#8211; Allows the block header to be hidden for users.<\/li><li><strong>Profile field X<\/strong> &#8211; Six profile field settings in total, to allow specific message configuration for users. Not all six profile field settings need to be configured.<\/li><\/ul><p>\u00a0<\/p><p><strong>Please note<\/strong>: the purpose of the user profile field configurations being set here, are so they are available as filter options for the rules being created later. Any created custom user profile fields are also included here. A range of profile fields can be set, from only one up to the maximum of six.<\/p><p>\u00a0<\/p><p>The rules will then be compared to the viewing user\u2019s own profile values, such as Department, matching the rule value, or Institution, and so on. If fully matched, the message for each rule will then appear to the user.<\/p><p>\u00a0<\/p><p>Any rule can also use a wildcard of &#8220;*&#8221; on some profile fields, to just filter on one particular field, as needed.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-07ed754 elementor-widget elementor-widget-heading\" data-id=\"07ed754\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Capabilities<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4af401a elementor-widget elementor-widget-text-editor\" data-id=\"4af401a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table><thead><tr><th scope=\"col\">Capability name<\/th><th scope=\"col\">Manager<\/th><th scope=\"col\">Teacher<\/th><th scope=\"col\">Auth User<\/th><\/tr><\/thead><tbody><tr><td>block\/audiencemessage:addinstance: Add an Audience Message block<\/td><td>Allow<\/td><td>Allow<\/td><td>\u00a0<\/td><\/tr><tr><td>block\/audiencemessage:myaddinstance: Add a Audience Message block to dashboard<\/td><td>\u00a0<\/td><td>\u00a0<\/td><td>Allow<\/td><\/tr><tr><td>block\/audiencemessage:config: Manager Audience Message block rules<\/td><td>Allow<\/td><td>Allow<\/td><td>\u00a0<\/td><\/tr><\/tbody><\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b7f46d3 elementor-widget elementor-widget-heading\" data-id=\"b7f46d3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Addinstance capability<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cee9fb4 elementor-widget elementor-widget-text-editor\" data-id=\"cee9fb4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The capability \u201cblock\/audiencemessage:addinstance\u201d allows users with the relevant permissions for that context to add the Audience Message block.<\/p><p>\u00a0<\/p><p>This capability is granted by default to these following archetype roles, using course context:<\/p><ul><li>Manager<\/li><li>Teacher<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7db8a04 elementor-widget elementor-widget-heading\" data-id=\"7db8a04\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Myaddinstance capability<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1b7fb73 elementor-widget elementor-widget-text-editor\" data-id=\"1b7fb73\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The capability \u201cblock\/audiencemessage:myaddinstance\u201d allows users with the relevant permissions for that context to add the Audience Message block.<\/p><p>\u00a0<\/p><p>This capability is granted by default to these following archetype roles, using course context:<\/p><ul><li>Auth user<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-abf7811 elementor-widget elementor-widget-heading\" data-id=\"abf7811\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Config capability<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f5ae052 elementor-widget elementor-widget-text-editor\" data-id=\"f5ae052\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The capability \u201cblock\/audiencemessage:config\u201d allows users with the relevant permissions for that context to manage the Audience Message rules.<\/p><p>\u00a0<\/p><p>This capability is granted by default to these following archetype roles, using course context:<\/p><ul><li>Manager<\/li><li>Teacher<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b6879ce elementor-widget elementor-widget-heading\" data-id=\"b6879ce\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Copyright and funding<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0c16031 elementor-widget elementor-widget-text-editor\" data-id=\"0c16031\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This plugin has been developed, maintained, and is copyrighted by Brickfield Education Labs, while initial funding for this plugin was provided by the National Institute for Digital Learning at Dublin City University.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7222e17 elementor-widget elementor-widget-heading\" data-id=\"7222e17\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Usage as Site administrator<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6c3b464 elementor-widget elementor-widget-text-editor\" data-id=\"6c3b464\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The <strong>ONLY<\/strong> way to manage global audience rules for everyone is via a single global Audience Message block on the <strong>Default dashboard page<\/strong>.\u00a0<\/p><p><br \/><strong>Please note<\/strong>: it is very important to follow these initial guidelines, in setting up your global audience message block, as the alternative would potentially be several personal dashboard blocks with no ability to create or display global messages. As Moodle has a great deal of flexibility around dashboard blocks in general, and we have to work within these coding permutations, it is important to recognise this.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b5d98e8 elementor-widget elementor-widget-heading\" data-id=\"b5d98e8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Adding the Audience Message block<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0aa9fb1 elementor-widget elementor-widget-text-editor\" data-id=\"0aa9fb1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tTo add the single global audience message block as a default dashboard block:\n<ol>\n \t<li>Go to <em>Site Administration<\/em>.<\/li>\n \t<li>Click the <strong>Appearance<\/strong> tab.<\/li>\n \t<li>Click the <strong>Default Dashboard page<\/strong> link.<\/li>\n \t<li>Enable <strong>Edit mode<\/strong>.<\/li>\n \t<li>Click <strong>Add a block <\/strong>in the block drawer.<\/li>\n \t<li>Click <strong>Audience Message<\/strong>.<\/li>\n \t<li>Click \u201c<strong>Reset Dashboard for all users<\/strong>\u201d to ensure all users can view the Audience Message block on their personal dashboards.<\/li>\n<\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cb0778e elementor-widget elementor-widget-heading\" data-id=\"cb0778e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Manage rules<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1f28b08 elementor-widget elementor-widget-text-editor\" data-id=\"1f28b08\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>To access the \u201c<strong>Manage rules<\/strong>\u201d page:<\/p><ol><li>Go to <i>Site Administration<\/i>.<\/li><li>Click the <strong>Appearance<\/strong> tab.<\/li><li>Click the <strong>Default Dashboard page<\/strong> link.<\/li><li>Locate the <strong>Audience Message <\/strong>block in the block drawer.<\/li><li>Click the <strong>Manage Rules<\/strong> link to go onto the next page.<ol><li><strong>Please note<\/strong>: if you do not see a \u201cManage Rules\u201d link, you have not set up the single global Audience Message block as a default Dashboard block correctly. You will need to delete the existing block and repeat this process.<\/li><\/ol><\/li><\/ol><p>\u00a0<\/p><p>The \u201c<strong>Manage rules<\/strong>\u201d page displays all of the currently set up rules:<\/p><ul><li><strong>Rules<\/strong> &#8211; The rules table, with the main results content.<\/li><li><strong>Add new rule<\/strong> &#8211; The button to add a new rule, under the table.<\/li><\/ul><p>\u00a0<\/p><p>This Rules listings page table displays the following for each rule:<\/p><ul><li><strong>Title<\/strong> &#8211; The rule\u2019s title.<\/li><li><strong>Actions<\/strong> &#8211; The actions for the rule.<ul><li>Edit rule.<\/li><li>Delete rule.<\/li><\/ul><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-249015b e-con-full e-flex e-con e-child\" data-id=\"249015b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8567b83 elementor-widget elementor-widget-image\" data-id=\"8567b83\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"796\" height=\"291\" src=\"https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-content\/uploads\/sites\/14\/2024\/07\/block_audiencemessage_2.png\" class=\"attachment-full size-full wp-image-119\" alt=\"The Rules page in the Audience Message block. There is a table with two columns: Title and Actions. There are three rules in the table: Welcome!, Guest l,ecturer! and Final exam date change. For each rule, there are the actions Edit rule and Delete rule. Below the table there is the Add new rule button.\" srcset=\"https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-content\/uploads\/sites\/14\/2024\/07\/block_audiencemessage_2.png 796w, https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-content\/uploads\/sites\/14\/2024\/07\/block_audiencemessage_2-300x110.png 300w, https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-content\/uploads\/sites\/14\/2024\/07\/block_audiencemessage_2-768x281.png 768w\" sizes=\"(max-width: 796px) 100vw, 796px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1426d5d elementor-widget elementor-widget-heading\" data-id=\"1426d5d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Adding a new message rule to be displayed<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c664f95 elementor-widget elementor-widget-text-editor\" data-id=\"c664f95\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>For each message rule being added or edited, its core purpose is to have:<\/p><ul><li><strong>Title<\/strong> &#8211; for management identification only.<\/li><li><strong>Status <\/strong>(active or inactive).<\/li><li><strong>Profile field filters <\/strong>&#8211; which user profile values need to match, in order for this message to appear to the logged-in user.<\/li><li><strong>Optional message duration <\/strong>(start and end date).<\/li><li><strong>Message text<\/strong>.<\/li><\/ul><p>\u00a0<\/p><p>Furthermore, the <strong>matching <\/strong>of the profile fields has three modes available, as follows:<\/p><ol><li>A <strong>wildcard<\/strong> value of \u201c*\u201d will match any user\u2019s value.<\/li><li>A string value will match if it\u2019s <strong>contained<\/strong> within the user\u2019s value.<ol><li>Please note this is slightly flexible, so ensure your rule\u2019s value isn\u2019t too vague, such as \u201cYear\u201d, which would match potentially every student.<\/li><\/ol><\/li><li>A <strong>regex<\/strong> string, which will be processed as such as long as it starts and ends with the character \u201c\/\u201d, will match any user\u2019s value matching that regular expression as processed with preg_match() in PHP. So as an example, this can be used to filter for special email address domains for lecturers, and so on.<\/li><\/ol><p>\u00a0<\/p><p>To add a new message rule, to be displayed:<\/p><ol><li>Click the <strong>Add new rule<\/strong> button link to go onto the next page.<\/li><li>Configure the new rule accordingly.<\/li><li>Click the <strong>Save changes<\/strong> button.<\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d5717d7 elementor-widget elementor-widget-heading\" data-id=\"d5717d7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Editing or deleting an existing message rule<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5befaa3 elementor-widget elementor-widget-text-editor\" data-id=\"5befaa3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tTo edit or delete an existing message rule:\n<ol>\n \t<li>Click the <strong>Edit<\/strong> link for the rule link to go onto the next page.\n<ol>\n \t<li>Configure the rule accordingly.<\/li>\n \t<li>Click the <strong>Save changes<\/strong> button<\/li>\n<\/ol>\n<\/li>\n \t<li>Click the <strong>Delete<\/strong> link for the rule<ol><li>Click the <strong>Continue<\/strong> button to confirm the deletion.<\/li><\/ol><\/li>\n \t\n<\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/main>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Home &#8211; Site administrator Audience Message: Site administrator Table of Contents Introduction The Audience Message block plugin allows you to set personalised messages to different audiences, displaying in a block format to the users, which is specially designed to appear on the main dashboard. Different users will view different messages, which are configured as \u201crules\u201d. [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-5","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-json\/wp\/v2\/pages\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-json\/wp\/v2\/comments?post=5"}],"version-history":[{"count":88,"href":"https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-json\/wp\/v2\/pages\/5\/revisions"}],"predecessor-version":[{"id":187,"href":"https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-json\/wp\/v2\/pages\/5\/revisions\/187"}],"wp:attachment":[{"href":"https:\/\/docs.brickfield.ie\/block-audiencemessage\/wp-json\/wp\/v2\/media?parent=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}