Discussion Feed

Blocks ::: block_discussion_feed
Maintained by Manoj Solanki, Jez H, Kevin Moore
This block aggregates and displays the latest discussions from all forums for all courses a user is enrolled on. It is possible to reply to posts when the block is displayed in the dashboard. On a course page, the block allows a user to reply to posts as well as create new discussions for a forum.
Latest release:
26 sites
6 downloads
12 fans
Current versions available: 1

Moodle Discussion Feed

This block displays the latest discussions from a course on a frontpage, dashboard page, or course home page.  It will allow a user to reply to any post.  In addition, on a course home page, it will allow a user to create a new discussion if there is a forum of type "general forum" available within the course.  This block uses functionality from the course_discuss block and a forum is linked to a course implicitly by the block so it can be used to store any new discussions. 

The video below shows the discussion feed in use alongside two other plugins (Course Discuss and News Slider):

This plugin requires installing the block_course_discuss plugin first: https://moodle.org/plugins/block_course_discuss


Guidelines for use

* Note: Each course will require a valid forum activity module and the block plugin course_discuss will need to be installed prior to this plugin.*

As per the course_discuss block, this plugin will silently assign itself to a relevant forum in the course to use when the block is first rendered on a course page, if it can and if one is not assigned already. 

The block should be added to a block region that will appear on the frontpage, dashboard page and course homepage

When using Adaptable, this can be achieved by adding the block to the dashboard page in the desired block region.  After that, also add it to block region "Course page slider region" that appears on the frontpage in the admin section.  Configure this block to appear on all pages.  Then, in any course page, configure the block to only appear on any course main page.  This is very important, as the block will otherwise attempt to render twice on the dashboard page, potentially causing performance issues.

Please be careful not to add this to block regions in way that could cause the block to be loaded more than once on a page!

Settings

Installs at /blocks/discussion_feed

Site-wide configuration options are available under: Site Administration -> Plugins -> Blocks -> Course Discuss

The following settings are available:

  • Days back to show latest posts for. This is the number of days in the past to show latest posts.

  • Max length of post to show. Maximum length of post to show to limit the number of characters.

  • Use caching. Switch on caching (uses Moodle cache API). This is strongly recommended as this block does make quite a few database calls!

  • Cache Expiry time. Cache expiry time in seconds (TTL).

Currently no per Instance block settings are available.

Language pack

Please note that from version 1.3.1, the following are now language strings instead of settings (in block_discussion_feed.php):

- Message to display when no forum updates available for showing on dashboard. (language pack string name: "nocontentdisplaymessagetext")

- Message to display when no forum exists and the block appears on a course page. (language pack string name: "displaynoforumexistsmessagetext")

Compatibility

  • Moodle 3.4, 3.5, 3.6

This block has been developed and tested with Adaptable 1.7.2 onwards, which includes a block region that will specifically appear on the relevant pages. It will probably work with other themes, however it will need to appear in an appropriate block region that renders on a frontpage, dashboard page and course homepage.

Contribution

Developed by:

  • Manoj Solanki (Coventry University)

Co-maintained by:

  • Jeremy Hopkins (Coventry University)

### Licenses ###

Licensed under: GPL v3 (GNU General Public License) - http://www.gnu.org/licenses



Screenshots

Screenshot #0

Contributors

Manoj Solanki (Lead maintainer)
Jez H: Co-maintainer
Kevin Moore: Co-maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Pokŏż kōmyntŏrze
  • Daniel Hoffmann
    pt., 8 mar 2019, 04:08 AM
    Thanks again. My community really likes this feature. Looking forward to the next versions.
  • Thomas College
    wt., 12 mar 2019, 04:21 AM
    Has anyone tried to install this while using the Clean theme and Moodle 3.6.2? When we try to install, the installation process fails. Validation is successful, but installation fails directly after validation completes.
    Thanks
  • Daniel Hoffmann
    wt., 12 mar 2019, 18:01 PM
    Hello Thomas, I have it running on my site with the clean theme. Did you already install the other dependent plugin?
  • Daniel Hoffmann
    wt., 12 mar 2019, 18:02 PM
    But I had problems updating to 3.6.3 yesterday. I had a database error and had to rollback to 3.6.2.
  • Thomas College
    śr., 13 mar 2019, 00:54 AM
    Daniel, thanks for the reply. I missed that there was a dependent plugin. It installed properly once the dependent plugin was installed.
  • Kiran Kumar
    śr., 27 mar 2019, 14:42 PM
    Hi, I am getting an error when I install this plugin in Moodle 3.6.2.
  • Jacline Desuza
    czw., 28 mar 2019, 22:56 PM
    Its working nicely
  • Sergio Renato Aldana Alvarez
    pt., 29 mar 2019, 05:37 AM
    Plugin instalation crashes on Moodle 3.4.1+ (Build: 20180223)
  • Manoj Solanki
    pt., 29 mar 2019, 18:38 PM
    Thanks @Jacline.

    @Kiran and @Sergio could you please provide details of error and screenshot please.
  • Elvis Dean
    wt., 23 kwi 2019, 14:06 PM
    When using Adaptable, this can be achieved by adding the block to the dashboard page in the desired block region. After that, also add it to block region "Course page slider region" that appears on the frontpage in the admin section. Configure this block to appear on all pages. Then, in any course page, configure the block to only appear on any course main page. This is very important, as the block will otherwise attempt to render twice on the dashboard page, potentially causing performance issues.
  • Samuel Sánchez sanz
    pt., 3 maj 2019, 15:05 PM
    Cambiar a español
    Hi.
    There will be a way to choose that they only leave.
    thank you
  • Daniel Hoffmann
    wt., 9 lip 2019, 03:07 AM
    Does it work on 3.7? My users really this feature, would be a pitty ;)
  • Manoj Solanki
    pt., 12 lip 2019, 18:14 PM
    Hi Daniel, although not listed as supporting 3.7 yet, I believe it should work. I would suggest installing on a test server if you have one, to see. A version support 3.7 should be released in the coming months anyway.

    Thanks
    Manoj
  • Samuel Sánchez sanz
    pt., 22 lis 2019, 17:05 PM
    hola amigos.
    he instalado los dos plugins que se requieren pero no consigo que aparezca alguien me puede echar una mano para configurarlo muchas gracias
  • Manuel Calvo Cantillo
    pon., 10 maj 2021, 01:24 AM
    DON'T INSTALL THIS IN VERSION 3.10 it will bring your server down. I've just lost about 20 hours of setup time
1 2
Please login to post comments