How to add a Facebook Comments Box to your Moodle site

Adding a Facebook Comments Box enables users to easily make comments, which is a nice way to enhance the social media aspects of your site. In this tutorial, I’m going to show you how to add the Comments Box to your Moodle site’s side column, which, in my opinion, is the best place to hold it.

To see an example, you can visit the live demo for our premium Moodle themes here.

Below is a preview of the end result on our theme demo site (themes used from left to right: Ace, Brizzle and Cantata).

screenshot

Before we do anything in Moodle, we need to get the Comments Box from Facebook first.

Get Facebook Comments Box

1) Go to the Facebook developers plugin page:
https://developers.facebook.com/docs/reference/plugins/comments/

2) Configure the Comments Box settings depending on your specific needs.

screenshot

3) Once you are happy with the settings, you can click the “Get Code” button to generate the code. Keep the page open because you’ll need it later on.

screenshot

Ok, now it’s time to do something in Moodle – log into Moodle as an administrator. (Here I’m using our premium theme Cantata as an example in the tutorial).

Step 1

Turn editing on and add a HTML block to your Moodle site by selecting the “HTML” option from the “Add a block” drop down menu as shown in the figure below.

screenshot

Step 2

Now you should see that a new HTML block has been added. Click the configuration icon, which is the second icon, as shown in the figure below (your Moodle site’s configuration icon will look different).

screenshot

Step 3

On the “Configuring a (new HTML block) block” page, turn on the HTML Source Editor for the “Content” text field by clicking the HTML icon in the editor menu as shown below.

screenshot

Step 4

Copy and paste the code from the previous Facebook page into the HTML Source Editor.

screenshot

Step 5

Since Moodle’s source editor will try to automatically strip out the required empty markup we are adding, we need to apply a little trick here. Otherwise, the Comments Box will not show up on your Moodle site but luckily the trick is very simple. All you need to do is to add an HTML space “ ” (without the quotation marks) inside of the empty div to trick Moodle to keep the empty div – see the figure below.

screenshot

Step 6

Enter a block title and configure the other options before saving, and you are done.

screenshot
  • jeet

    Provided that the author benefits people with creativeness, design and/or enough information; expecting to business those, as it were, in come back for the visitor’s toleration of a little repetition; there may still be appropriate interaction going on. addestramentocaniblog.it

  • jeet

    Various computerized SEO application accessible, which can complete SEO distribution & results with no human attention. In fact they are not secure and won’t produce any results as well. fiverr seo service

  • danielgrant

    This in turn will truly boost the sale of products or solutions offered by the company. remove stain from upholstery

  • alex

    As a result companies are permanently seeking solutions to stay previous competition. SEO companies has noticed this & offer there are some offers at good-looking rates to woo customers. While choosing a low cost SEO offers, one should be sure that cost won’t indicate the support quality. click to find out more

  • Yasir Khalid

    Good post, had to remove -o option in my ubuntu 10.04, but it worked great. click this

  • alex

    Even though the solutions have the capability assisting your web page accomplish clients and higher conversion rate yet, for your enjoyable surprise, we offer these kinds of Uk web page roles at most huge discounts to you. address

  • Yasir Khalid

    While choosing a low cost SEO offers, one should be sure that cost won’t indicate the support quality. Knowledge First Financial review

  • alex

    The essence appearance analysis is a process of choosing those important term words, which are structured and will help visitors to find your web page. american bridge project

  • alex

    Your web page material must be appropriate and in synchronize with the product or solutions you are providing or advertising of seo Dubai. more learn

  • danielgrant

    StumbleUpon, Stumbleupon and Amazing are few of the well-known group public save posting websites which your SEO professional Local indian native professional can use for your company. Massage Ashburton

  • danielgrant

    Thus, in dealing with a topic like SEO, large competitors results in even the multi-redundant hyperbole recommended above or it’s version. click for more

  • danielgrant

    Now if in this viewers you want to put a little website of yours then for certain you will be missing. To prevent this, get expert support from SEO New You are able to. autoankauf düsseldorf

  • danielgrant

    The number of job opportunity in the web promotion and SEO industry are much more then any other I.T industry. Moreover the requirement for SEO is growing at a fast speed. movie tube

  • Yasir Khalid

    But, SEO and the online promotion area have started out new gateways of tasks and profession for the candidates who are having reliable knowledge of web promotion. Read More Here

  • Yasir Khalid

    SEO and web promotion professionals and thus they are always in search of qualified and professional SEO professionals. straight from the source

  • danielgrant

    In outsourcing the SEO solutions at SEO London, uk it may be problems free simply because would indeed provide your family needs. hair clippers

  • danielgrant

    All websites need regular update to be able to remain in accord with technical advancements. vodtimes.net

  • danielgrant

    Have already tried to use the single window mode, but will gladly try again! Related Site

  • danielgrant

    These days, every individual has its own web page. It is not important for purpose you have made this web page, but the factor is that how useful or eye-catching your website is and how many people are going to at your web page.
    click for more

  • Kamran

    SEO or the Look for Motor Marketing basically represents a specific process that is designed to improve the exposure of a website in looking engine outcomes of the various google in a natural or organic way. The most popular google are Google, MSN, Google, Yahoo, etc. Ralph Lauren

  • danielgrant

    Good post, had to remove -o option in my ubuntu 10.04, but it worked great. assginment help Australia