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

Want to master Moodle?

Moodle 3.0 Masterclass: Your Complete Guide to Moodle 3.0

This online course on Moodle 3.0 will teach you how to create WORLD CLASS online courses. Leverage Moodle 3 like a BOSS!

600+ students enrolled

Want to set up Moodle?

Learn to Host Moodle with Linux

Become a Moodle Administrator a much needed skill . More than 70 million users across 230 countries are using Moodle.

1000+ students enrolled
  • 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

  • DR GBOKO GOODLUCK

    WELCOME TO THE ILLUMINATI BROTHERHOOD SOCIETY!

    NOTE: Poverty is a Curse. Say NO to poverty…..Say YES to RICHES …No one is born to be poor. Forces are against families and individuals not to be Rich OR SUCCESSFUL IN LIFE!!!, reason why many put more energy to work BUT get far little in returns. Are you feedup of Poverty?Do you want to be RICH now,POWERFUL AND FAMOUS??? ? IF YES then JOIN THE ILLUMINATI BROTHERHOOD SOCIETY now!!! AND WE HELP YOU WASH OFF THOSE GENERATIONAL SINS OF YOUR FOUR FATHERS THAT IS AFFECTING YOUR SUCCESS TODAY AND Become Rich now through THE HELP AND POWERS OF THIS GREAT BROTHERHOOD SOCIETY OCCULTIC

    KINGDOM!! NOTE: It is a curse to be poor. SAY NO TO POVERTY AND Say YES to Riches NOW!!.For INSTANT READ below:

    Are you a business owner,politician,Musician,Student,soccer player/sport lover or Athlete etc. in need of money desperately and you are finding it difficult to have and you want to be successful,rich as well powerful and be famous in life? You can achieve your dreams being a member of the great brotherhood of Illuminati With this all your dreams and heart desire can be

    fully accomplish. Also an instant sum of $5,000,000.00 dollars AND A CAR OF YOUR CHOICE for you as a new member of this great Brotherhood society with a free home anywhere you choose to live in the world included $5,000.00 dollars monthly as a salary.Note as a member of this great society, whatever you choose to do is possible and extreme success and achievement in all you do….

    NOTE:NO HUMAN BLOOD NEEDED HERE ONLY YOUR DEDICATION NEEDED AND YOU DON’T PAY ANY FEE TO JOIN THE ILLUMINATI BROTHERHOOD OK..BUT ONLY PROVIDE THOSE ITEMS NEEDED FOR YOUR SUCCESSFUL INITIATION RITUALS…

    Before any further process orientations,ADD ME UP ON FACEBOOK OR Email us via: illuminatibrotherhoodsociety666@yahoo.com OR YOU CAN WHATS-APP ME via: +2348179087906. And know more about the Illuminati brotherhood society and there benefits given to you as our new dedicated members okay?

    NOTE: NO HUMAN BLOOD SACRIFICES NEEDED HERE OK? IS A CULT OF PEACE WITH BIGGER AIMSGET RICH AND TAKE GOOD CARE OF YOUR LIFE AND FAMILIES GENERATIONS… WAITING TO RECEIVE AND WELCOME YOU TO THE GREAT ILLUMINATI KINGDOM.

    THINK BIG AND WISE UP BROTHER….ENOUGH IS ENOUGH STAND UP AND FIGHT FOR YOUR RIGHT.

    REGARDS,

    Illuminati Temple kingdom 666..