CUL Activity Stream Block

Blocks ::: block_culactivity_stream
Maintained by Amanda Doughty
A block that displays a feed containing the latest moodle messages. Part of the CUL Activity Stream suite.

CUL Activity Stream Block 3.0.0 (Build: 2016110400)

Moodle 2.6, 2.7, 2.8, 2.9, 3.0, 3.1, 3.2
Released: Friday, November 4, 2016, 9:11 PM

Activity stream block

The block has a dependency on moodle-message_culactivity_stream which creates and populates the table it uses.

The block selects and displays a list of the users messages from the table {message_culactivity_stream}. Each message includes a link to view the notification subject and one to remove the message from the users feed. With JS enabled, the block checks for new notifications every 5 mins. It also appends older messages as the users scrolls down the list. If the block is displayed on the site page then all course messages are included. If the block is displayed on a course page then only course messages for the containing course are displayed.

The block identifies course messages by displaying a course image (the first image file uploaded to the course summary files area) or a gravatar (if the course has no course image). The messages are required to include the course id for this to work. The event data sent to the message lib does not always include the course id or any useful/consistent way of identifying the course that the message originated from. If the mesage cannot be linked to a course id, the avatar will be the user from picture or a gravatar if none exists.

The block has a setting to choose a gravatar type but this will only work if the core code setting 'enablegravatar' is enabled. So in summary, the avatar for a message defaults in the following order:

Requirement - course id and image uploaded to course summary files. 1. Course image centred horizontally and vertically Requirement - course id and 'enablegravatar' is enabled 2. Course gravatar Requirement - course id 3. Moodle image /pix/u/f2 Requirement - user from image uploaded 4. User image Requirement - 'enablegravatar' is enabled 5. User gravatar 6. Moodle image /pix/u/f2

Maintainer

The block has been written and is currently maintained by Amanda Doughty.

Version information

Version build number
2016110400
Version release name
3.0.0 (Build: 2016110400)
Maturity
Stable version
MD5 Sum
b3a17d8da1c03f6a5d8de04f73785c1c
Supported software
Moodle 2.6, Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0, Moodle 3.1, Moodle 3.2
  • Latest release for Moodle 2.6
  • Latest release for Moodle 2.7
  • Latest release for Moodle 2.8
  • Latest release for Moodle 2.9
  • Latest release for Moodle 3.0
  • Latest release for Moodle 3.1
  • Latest release for Moodle 3.2

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.