插件版块稳定版

Course discuss

block_course_discussJez H

  • Moodle 1.9–5.1
  • 更新 2019-02-15

This block allows discussion on a section page, page or book chapter activity. Add this block to a block region that appears on a page of this type, to allow comments to be posted.
Moodle Course Discuss
This block allows discussion on a section page, page or book chapter activity.  Add this block to a block region that appears on a page of this type, to allow comments to be posted similar to WordPress.
This plugin has been  designed to work with the Adaptable theme, as Adaptable contains block regions that appear on the relevant course pages for sections, books and pages. Block Regions are relatively easy to add to other themes. This plugin utilises the core Moodle forum to store any discussions and will require a forum module to be added to the course to allow this.  This forum must be of type “Standard forum for general use”.
All discussions created on any relevant pages will then be available when viewing that forum.
Post creation
When a post is first created for a page, there are always 2 posts from the same user. An initial general post that starts the discussion (e.g. with generic text such as “Discuss Section 1”,  and the actual post from the user as a reply to this.  This is so other users can reply to the same discussion without replying to the original user’s first post. Guidelines for Use
*Note: Each course will require a valid forum module*
For the discussions to work on a course, there MUST be a forum in the relevant course, of type “Standard forum for general use”.  The block plugin will silently assign itself to a relevant forum in the course to use when the block is first rendered on a page, if it can.
There is an optional setting called “Forum name pattern for Forum to use for discussion”.  Use this for forum name pattern matching on the name of a forum when doing this.  This is useful if you are using course templates when creating courses that contain a forum with a certain name.
If it is to be used, it is recommended that this setting is populated BEFORE switching the block on.
It also allows a comma separated list of potential names to match against.  This allows matching on a particular name of forum as a preference when assigning a forum.
If the block can’t find a suitable match, then the block will use any valid forum with the lowest database id for the particular course.  This is the default mode of operation when there is nothing in the setting to match against.
The block should be added to a block region that will appear on a section, page or book chapter.  When using Adaptable, this can be achieved by adding the block to the block region “Course page activity end bottom region” that appears on the frontpage in the admin section.  Then configure this block to appear on all pages.
Each post has an edit link next to it for a post, if the current user has permission to edit and the edit time allowed (from main settings) has not been exceeded.  A view thread link
also can appear at the top of any discussion that is present. Both of these options can be turned off or on in settings.
Other points to note when using this plugin
– If this plugin is uninstalled, all links to discussions for pages will be removed.  Hence, no previous discussions will appear for pages where they were present before uninstalling. The discussions themselves will still be available in the forum itself for a course however.
– If a forum type that is being used by this block in a specific course, is changed from being one of “Standard forum for general use” to a different type in the forum settings.  E.g. If it is changed to a single page discussion, this could make discussions behave incorrectly for that course and posting may fail.
Version 1.5 (2019021404)

返回插件目录