Your Moodle version

Activities: Advanced Forum

Maintained by Picture of Kris Stokking Kris Stokking
Moodlerooms is proud to release Advanced Forums, which enhances Moodle Forums by providing teachers and students with quick, simple views into the forums and their discussions. Allowing users to sort and search discussions easily and in multiple layouts is key to Advanced Forums increased usability. Read tracking is a feature in Advanced forums that highlights unread posts, making it even easier to manage a forum. This saves the student time in viewing and responding to posts, and saves the teacher time in finding the posts that are most relevant to the class. Teachers are empowered to create anonymous interactions with students while still being able to provide accurate grading with advanced grading methods. Teachers are confident that their grading of the forum content reflects the content the student is posting, by allowing a teacher to grade a forum while viewing the student's posts.


Picture of Kris Stokking
Kris Stokking (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Matthew Koelling
    Tue, Oct 15, 2013, 6:50 AM
    NP Kris

    Debug info: Table 'lms.mdl_hsuforum_discussion' doesn't exist
    SELECT count(1) FROM mdl_hsuforum_subscriptions_disc t1 LEFT JOIN mdl_hsuforum_discussion t2 ON t1.discussion = WHERE t1.discussion <> ? AND IS NULL
    [array (
    0 => '0',
    Error code: dmlreadexception
    Stack trace:

    line 423 of /lib/dml/moodle_database.php: dml_read_exception thrown
    line 1005 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
    line 1397 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
    line 1470 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
    line 1641 of /lib/dml/moodle_database.php: call to moodle_database->get_field_sql()
    line 105 of /admin/tool/xmldb/actions/check_foreign_keys/check_foreign_keys.class.php: call to moodle_database->count_records_sql()
    line 159 of /admin/tool/xmldb/actions/XMLDBCheckAction.class.php: call to check_foreign_keys->check_table()
    line 69 of /admin/tool/xmldb/index.php: call to XMLDBCheckAction->invoke()

    We got this error in 2.3.8 and 2.5.1

    Got it by checking for Foreign Key Violations in the XMLDB editor that comes with Moodle.

    Go to Site Administrator > Development > XMLDB Editior and then click on the Check foreign keys option.
  • Picture of Stephen Gibbs Jr.
    Thu, Dec 12, 2013, 11:59 PM
    What are the future plans for this plugin? Support for 2.5 and 2.6?
  • Picture of Kris Stokking
    Wed, Dec 18, 2013, 10:50 PM
    Hi Stephen - we plan to fully support this Moodle version until the features have made their way into the Core Forums (see We will be releasing the 2.5 version very shortly.
  • Picture of Fritz Richter
    Thu, Jan 9, 2014, 8:01 PM
    Will there be any new features in the 2.5 version?
  • Picture of Kris Stokking
    Mon, Jan 20, 2014, 5:36 AM
    Version 2.5 of Advanced Forum has been uploaded to the plugins repository. In addition, we've posted the plugin code in Github, which we will be updating in the future prior to availability in the Plugins Repository. Please check there first for updates to new Core versions.
  • Picture of Kris Stokking
    Mon, Jan 20, 2014, 5:36 AM
    Hi Fritz, the new version for 2.5 has a new "Accessible" forum view that is focused on improved support and usability by screenreaders.
  • Picture of adem özgür
    Tue, Jan 21, 2014, 5:03 PM
    when 2.6 version will release?
  • Picture of Fritz Richter
    Wed, Jan 22, 2014, 6:26 PM
    The 2.5 version work fine with Moodle 2.6.1
  • Picture of Fritz Richter
    Thu, Jan 23, 2014, 1:05 AM
    Hi Kris,

    I would like to base the activity completion to the number of posts that are flagged as "substantive".

    The Activity completion API ( is really helpful for this little customization. The only thing I really stumble over is how to call the update_state() function each time a flag is toggled.

    Do you have any idea, where to put this:

    // Update completion state
    $completion=new completion_info($course);
    if($completion->is_enabled($cm) && $forum->completionposts) {

    Many thanks,

  • Marc Couture
    Thu, Feb 6, 2014, 4:41 AM
    I am testing this module with Moodle 2.6.1, everything seems to work except the one crucial feature I am looking for, which is the ability to export a forum's contents. When I click on the "Export" option under the module's administration block, then on the Export button, nothing happens. Any ideas on what could be going on?
  • Picture of Kris Stokking
    Fri, Feb 14, 2014, 10:52 PM
    @Fritz - thanks for the suggestion!

    @Marc - the module hasn't been upgraded to support Moodle 2.6 yet, so it's not surprising that there are some problems. If you're not able to wait for us to upgrade the module and are feeling adventurous, you could port the changes made to mod/forum in between Moodle 2.5.3 and 2.6.1 into mod/hsuforum.
  • Floyd Saner - Tail of the Dragon, U.S. 129, NC
    Fri, May 30, 2014, 9:46 AM
    I just noticed another problem with the Advanced Forum in Moodle 2.6 - you cannot insert pictures. When you try to insert a picture you get the following message: "Sorry, none of your current repositories can return files in the required format."

    Moodle 2.7 has been released, so I'm very surprised Moodlerooms has not maintained this plugin. That is not a good reflection on the company.
  • Picture of Kris Stokking
    Thu, Jun 5, 2014, 12:01 AM
    A new version of this plugin for Moodle 2.6 has been uploaded to the plugins repository. There are no known issues with the new version at this time, but if you do experience a problem please ensure that you submit any issues to

    In addition, we have updated the Moodle 2.5 version of Advanced Forums, which fixes a bug that can allow instructors to see the identity of an anonymous poster in certain cases.
  • Picture of Kris Stokking
    Thu, Jun 5, 2014, 12:13 AM
    @Floyd - these comments are not the correct place to report a bug in Advanced Forums. Please post the bug in, use "Module: Advanced forum" as the component, and provide clear steps to reproduce.

    Regarding the rest of your comment, please realize that we maintain Advanced Forums within our Joule development cycles, which is tied to the corresponding Moodle 2.X.3 release for stability reasons and is roughly 6 months behind the latest-and-greatest version of Core Moodle. When issues arise with a new version of Moodle it can take longer for the plug-in to go through our internal QA cycles. We have no plans to stop maintaining Advanced Forums unless Core decides to fully integrate the features within Moodle (see
  • Picture of Matthew Koelling
    Wed, Jul 2, 2014, 5:29 AM
    Hi Kris

    Is there a time frame for releasing a 2.7 version?
1 2
Please login to post comments