Documentation → Moderation
Moderating your users’ experiences is incredibly important to ensure that your users have a good experience. In an effort to provide a easy to implement solution for moderating abuse within the Userplane experience we have built in an interface for submitting abuse reports which is then tied to a callback API where we deliver the contents of the abuse report to your back end servers.
Capturing abuse reports that occur within Userplane
reportAbuse( domainID, callID )
Contains an abuse report xml packet.
<td > function
| Arguments |
Value |
| reportAbuse |
| domainID |
The identifier for the domain the user is on. |
| callID |
A unique identifier for this XML call. |
| xmlData |
A FORM variable that contains the archive data (example shown below). |
Sample XML Format
<?xml version='1.0' encoding='iso-8859-1'?>
<abuse>
<reportingUserID>12345</reportingUserID>
<abuserUserID>23456</abuserUserID>
<abuserIPAddress></abuserIPAddress>
<reason>Offensive</reason>
<description><![CDATA[Said awful things to me accused me of being a "pimp"]]></description>
<conversation>
<name><![CDATA[asfd]]></name>
<messages>
<entry type="msg">
<timestamp>1126551127685</timestamp>
<displayName><![CDATA[tom]]></displayName>
<userID invisible="false">1</userID>
<content><![CDATA[this is my message]]></content>
</entry>
</messages>
</conversation>
</abuse>