Embedding a chat room into your Moodle website

In order to embed your chat room, your chat room needs to be on your own domain name so that it is served from your website (for example, https://your_domain.com/chatroom). If your forum is not on your own domain name yet, see Using your own domain name.

You can embed a chat room into your Moodle website by getting your chat room embed code and then following these instructions to insert the embed code into your Moodle website:

\n\n

Step 1: Get your chat room embed code

\n
    \n
  1. Log in to your Website Toolbox account.
  2. \n
  3. Click the Settings link, then click the Add-ons tab.
  4. \n
  5. \n
  6. \n
  7. Next to Chat Room, click the Embed Code link.
  8. \n
  9. Copy the embed code to your clipboard.
  10. \n
\n\n

Step 2: Add the embed code to your website

\n

Once you have the embed code, you can add it to your website by following the steps below.

\n
    \n
  1. Visit the Moodle website.
  2. \n
  3. Log in to your Moodle website account.
  4. \n
  5. Select the site you want to edit.
  6. \n
  7. Click Actions menu icon on the top right of the page and select Turn editing on.
  8. \n
  9. Click + Add an activity or resource button.
  10. \n
  11. Search Page and select Page to add a new page.
  12. \n
  13. Type in Chat Room in the Name text box.
  14. \n
  15. Scroll the page down, click Show/hide advanced button and select </> Code icon.
  16. \n
  17. If there is already any code in the text box, delete it all.
  18. \n
  19. Paste the embed code into the text box.
  20. \n
  21. Click Save and display.
  22. \n
  23. Click Site Title on the top right corner.
  24. \n
  25. Click Chat Room button and copy the link address (by pressing right click on your mouse).
  26. \n
  27. Click Site administration button in the left menu bar.
  28. \n
  29. Click Appearance.
  30. \n
  31. Scroll the page down and click Theme settings.
  32. \n
  33. Scroll the page down and type in Chat Room| and paste the link address copied above at point #13 in the Custom menu items text box (i.e:Chat Room|https://moodle.org/Chat Room).
  34. \n
  35. Click Save changes.
  36. \n
  37. Go to your website. A Chat Room link will now appear in the navigation of your website. Clicking that will open a page with your Chat Room embedded in it.
  38. \n
\n\n

\n\n\n

You can also change the chat room's colors, or give a page of your website its own colors: see Customizing the colors of an embedded chat room.



or learn more