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\nStep 1: Get your chat room embed code
\n- \n
- Log in to your Website Toolbox account. \n
- Click the Settings link, then click the Add-ons tab. \n\n\n
- Next to Chat Room, click the Embed Code link. \n
- Copy the embed code to your clipboard. \n
Step 2: Add the embed code to your website
\nOnce you have the embed code, you can add it to your website by following the steps below.
\n- \n
- Visit the Moodle website. \n
- Log in to your Moodle website account. \n
- Select the site you want to edit. \n
- Click Actions menu icon on the top right of the page and select Turn editing on. \n
- Click + Add an activity or resource button. \n
- Search Page and select Page to add a new page. \n
- Type in Chat Room in the Name text box. \n
- Scroll the page down, click Show/hide advanced button and select </> Code icon. \n
- If there is already any code in the text box, delete it all. \n
- Paste the embed code into the text box. \n
- Click Save and display. \n
- Click Site Title on the top right corner. \n
- Click Chat Room button and copy the link address (by pressing right click on your mouse). \n
- Click Site administration button in the left menu bar. \n
- Click Appearance. \n
- Scroll the page down and click Theme settings. \n
- 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). \n
- Click Save changes. \n
- 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. \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.