Moderation Guide

In this article we are going to learn 

1. How to create a Moderator

2. Login as a Moderator

3. Banning /Unbanning a user

4. Deleting messages

5. Banning Bad words

6. What is pre moderated chat?

7. Approving messages

These features can be used through UI as well as through API and Chat SDK. We will be learning both the methods

How to create a Moderator

Using UI 

1. Login to Dead Simple Chat

2. Click on Moderators

Here you can assign a username for the moderator (This username will appear in the chat )

You can set a password for the moderator. Moderator will use this password to login to the chat. (In the already have an account? section)

You can select the chat room that this moderator will be assigned to or you can select all chat rooms and then click on the save button to save the moderator.

The moderator credentials will appear in the table below

Using API/SDK

You can create a user or a moderator using the POST create-user API The documentation for this API can be found here :https://deadsimplechat.com/developer/rest-api/post-create-user

2. Login as a Moderator

Using UI

When you open the web page where the chat room is embedded or when you open a chat room it prompts you to 

a. set a user name and login or

b. If you already have an account type your email and password and login

to login as a moderator enter the username and password from the credentials that you created in the Moderator section and login as a moderator

Using API/SDK

Here is the documentation on how to use API and SDK to login a moderator to the chat room 

https://deadsimplechat.com/developer/single-sign-on/sso-using-auth-token

https://deadsimplechat.com/developer/sdk/methods/join

3. Banning /Unbanning a user

Using UI

When you login as a moderator or an  admin you can see the Ban user button besides the username of the user in the sidebar as well as in the chat whenever they send a message in the chat room

You can click on the ban button to ban the user.

Note: You can also eject all users from the chat room by going to the chat room settings 

In the sidebar at the bottom there is a banned users button 

clicking on it shows a list of banned users. You can unban the users from here if you want to. You can also add IP addresses that you want to ban in the chat room here.

Using API/SDK

You can refer to the ban unban user API documentation here: https://deadsimplechat.com/developer/sdk/methods/banUser

https://deadsimplechat.com/developer/sdk/methods/unBanUser

https://deadsimplechat.com/developer/sdk/methods/banIp

https://deadsimplechat.com/developer/sdk/methods/unBanIp

4. Deleting messages

Using UI

When you login as a moderator or an admin you can see the trash can button next to every message. By clicking on the trash can button you can delete the message

you can also delete all messages by going to chat room settings

Using API /SDK

Here is the documentation on deleting chat messages using API

https://deadsimplechat.com/developer/rest-api/delete-chat-room-messages

https://deadsimplechat.com/developer/sdk/methods/deleteMessage

6. What is pre moderated chat?

Using UI

Pre-Moderated Chat or Q&A mode is when every message is first presented to the Moderator for approval and then only after moderator approval does the message enter the chat room

Pre-moderated chat can be enabled by going to the chat room settings -> general -> Q&A Mode / Pre moderated chat

and click on the save button to save the settings

7. Approving messages

Using UI

When you login as a moderator or a admin in the chat room you can see the approve message next to every pending message that is waiting to be in the chat.

Here you can either approve the message or let it be pending. The user will see that their message is pending approval and the moderator will have the option to approve the message.

Once a message is approved by the moderator the approval pending message disappears for the user

Using SDK

Here is the documentation on how to approve message using the chat SDK:

https://deadsimplechat.com/developer/sdk/methods/approveMessage

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us