In this article we’re going to take a look at a couple of ways you can add student commenting to your lessons within Learn.
Learn gives you the ability to add custom 3rd-party scripts/code via the use the HTML page element, and it’ll be this element we’ll use in our examples below.
There will be a number of different 3rd-party community platforms that can be embedded into websites, but below we’re going to look at a couple of examples;
Disqus
Disqus offers a free and paid options for adding community functionality to your website(s), including Learn.
Disqus is a service that’s been around for years, and was popular as an alternative to WordPress comments. It allows users to use a single account and comment across different websites all from a single profile. Your students may already have their own logins for it.
Disqus also comes with a range of features, moderation tools, and more.
Adding Disqus commenting
Getting started is as simple as creating your account, then heading to your Settings > Installation area and clicking the “I don’t see my platform listed, install manually with universal code” button.
You’ll then be given an embed code from Disqus;
If you copy this code as it is (without adjustment), things will work right out of the box, and comments will be unique to each lesson (or page you add the comments too).
You can then add this code to your Lesson(s) via the HTML element:
When viewing your lesson(s) now, you’ll have a responsive and engaging comments area;
Facebook comments
Adding Facebook comments to your Learn lessons will allow your students to easily communicate and leave comments for yourself and each other.
The benefit of using Facebook comments is that most people are logged into their Facebook account in the background of their browser, so they won’t need to worry about logging into something new.
The negatives of Facebook comments is that it is a little more technical to setup than Disqus as you are required to have an ‘app’ in Facebook’s Developer area created.
Facebook comments on sites are also not available in some regions (such as the EU), and further, your students will be commenting using their personal Facebook accounts which they may not wish to be visible to other students.
Facebook comments documentation can be found here.
Facebook’s app developer area can be found here.
Adding Facebook Comments
The below is assuming you have created an app in Facebook’s developers area first. But you will need to then head to Facebook’s comments documentation, then scroll down to the following area.
In the field “URL to comment on”, you have a couple of options;
- If you enter just your primary domain, then use this same embed code across all your lessons, comments will be visible across all the lessons with that code (not specific to the lesson),
- If you enter the specific lesson URL (you can get this when previewing your course, viewing the lesson, then copying the URL from the browser address bar), then the comments will be set to the specific lesson/comment area.
This means if you want different lessons to have different comments, you’ll need to get an embed code from this form for each lesson you want comments added to.
Clicking the Get Code button will then show a modal;
First, make sure you’ve got your Facebook app selected under Step 1, then copy the codes from Step 2 and 3 you’ll want to add both codes in the HTML element on your lesson:
Now, when viewing your lesson, you’ll the the option to leave comments via your Facebook account.