h1. Moderator  {anchor:id=Answer_user_guide.ModeratorRoleNotInToc}
Moderators in *Answers* manage the content of questions and answers before and after they are posted to a moderated category.
The Moderator can read new content (editing or removing if necessary), approve or activate answers, and more. The moderator has the category-specific role.

h2. Manage categories {anchor:id=KSuser.Answer_Moderator.Manage_categories}

Moderator can only manage categories that he moderates.

In this section, you will learn how to manage categories. With a category, you can group all questions of a specific subject into one place.

To perform an action on a category, you can select one of these approaches:

*The first way*

*1.* Right-click a category from the categories list.

*2.* Select an appropriate action from the drop-down menu.

!images/Category_context_menu.png|align="center" width="60mm" fo:scalefit="1" html:scalefit="0"!

*The second way*

If you are already in a category that you moderate, you can perform all actions on this category by clicking !images/Category_btn.png|width="15mm" fo:scalefit="1" html:scalefit="0"! on the *Action* bar, then select an action from the drop-down menu.

!images/Category_menu.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

{docbook}
<para>
<prompt>
    <emphasis role="bold">See also</emphasis>
</prompt>
</para>
{docbook}

* [View details of Answers|#Answer_user_guide.View_details]

h3. Add a new category {anchor:id=KSuser.Answer_Moderator.Add_categories}

Notice that only administrators can initialize *Answers* by creating first categories and assigning to moderators for each category.
Moderator can only add new sub-categories in a category that he moderates.

{docbook}
<citetitle>
<para>
    <emphasis role="bold">Add a new category</emphasis>
</para>
</citetitle>
{docbook}

{docbook}
<para>
<emphasis role="bold">1.</emphasis> Click <guilabel>Category</guilabel> on the <emphasis role="bold">Action</emphasis> bar, and select <guilabel>Add Category</guilabel> from the drop-down menu. The <guilabel>Add Category</guilabel> form will be displayed.</para>
{docbook}
!images/Add_category_form.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

*Details:*
{docbook}
<informaltable>
              <tgroup cols="2">
                <thead>
                  <row>
                    <entry>Field</entry>
                    <entry>Description</entry>
                  </row>
                </thead>
                <tbody>
                  <row>
                    <entry>
                      <guilabel>Asterisk (*)</guilabel>
                    </entry>
                    <entry> This mark next to each field means that it is required to enter values in the field. </entry>
                  </row>
                  <row>
                    <entry>
                      <guilabel>Category</guilabel>
                    </entry>
                    <entry> The name of the category. </entry>
                  </row>
                  <row>
                    <entry>
                      <guilabel>Order</guilabel>
                    </entry>
                    <entry> The order of the category which must be in the positive integer format. </entry>
                  </row>
                  <row>
                    <entry>
                      <guilabel>Restricted Audience</guilabel>
                    </entry>
                    <entry> Select specific users/groups to be restricted from the category.</entry>
                  </row>
                  <row>
                    <entry>
                      <guilabel>Moderate New Questions</guilabel>
                      <anchor id="moderate_new_question"/>
                    </entry>
                    <entry> Check this option if you want to moderate all newly posted questions before they are viewable.</entry>
                  </row>
                  <row>
                    <entry>
                      <guilabel>View Question Authors</guilabel>
                    </entry>
                    <entry> Check this option if you want information of the question poster to be shown.</entry>
                  </row>
                  <row>
                    <entry>
                      <guilabel>Moderate Answers</guilabel>
                    </entry>
                    <entry>Check this option to moderate all answers before they are viewable.</entry>
                  </row>
                  <row>
                    <entry>
                      <guilabel>Moderator</guilabel> </entry>
                    <entry>The moderator of the category. </entry>
                  </row>
                </tbody>
              </tgroup>
            </informaltable>
{docbook}
*2.* Do the same as the [Step 2|#Step2-add-category] of adding a new category in the *Forum* application.
{docbook}
<para>
<emphasis role="bold">3.</emphasis> Click <guibutton>Save</guibutton> to complete.</para>
{docbook}
h3. Edit category properties {anchor:id=KSuser.Answer_Moderator.Edit_category}

*1.* Follow one of the approaches described in [Manage categories|#KSuser.Answer_Moderator.Manage_categories].

*2.* Select !images/edit_category_icon.png|width="4mm" fo:scalefit="1" html:scalefit="0"!.

*3.* Edit the category properties.
{docbook}
<para><emphasis role="bold">4.</emphasis> Click <guibutton>Save</guibutton> to accept your changes.</para>
{docbook}
h3. Delete a category {anchor:id=KSuser.Answer_Moderator.Delete_categories}

*1.* Follow one of the approaches described in the [Manage categories|#KSuser.Answer_Moderator.Manage_categories] section.

*2.* Select !images/Delete_category_btn.png|width="15mm" fo:scalefit="1" html:scalefit="0"! from the drop-down menu.
{docbook}
<para>
 <emphasis role="bold">3.</emphasis> Click <guibutton>OK</guibutton> in the confirmation message to accept your deletion.</para>
{docbook}

h3. Move a category {anchor:id=KSuser.Answer_Moderator.Move_categories}

*1.* Follow one of the approaches described in [Manage categories|#KSuser.Answer_Moderator.Manage_categories] to open the drop-down menu.

*2.* Select !images/Move_category_btn.png|width="15mm" fo:scalefit="1" html:scalefit="0"!.

*3.* Select the destination category from the list.

!images/Move_category_form.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

h3. Export/Import a category {anchor:id=KSuser.Answer_Moderator.Export&import_categories}

Both functions can be executed on all categories and questions in the *Answers* home or a specific category in *Answers*.

{docbook}
<citetitle>
<para>
    <emphasis role="bold">Export categories and questions</emphasis>
</para>
</citetitle>
{docbook}

{docbook}
<para>
              <emphasis role="bold">1.</emphasis> Click <inlinemediaobject>
                <imageobject role="fo">
                  <imagedata fileref="images/Export_btn.png" format="PNG" scalefit="1" width="14mm"/>
                </imageobject>
                <imageobject role="html">
                  <imagedata fileref="images/Export_btn.png" format="PNG" scalefit="0" width="14mm"/>
                </imageobject>
              </inlinemediaobject> to open the <guilabel>Export</guilabel> form.</para>
{docbook}

*2.* Input the file name to export.
{docbook}
<para>
 <emphasis role="bold">3.</emphasis> Click <guibutton>Save</guibutton> to accept exporting all categories and questions.</para>
{docbook}
The exported file is in the .zip format and it can be used to import to *Answers* or keep it as backup.


{docbook}
<citetitle>
<para>
    <emphasis role="bold">Import categories and questions</emphasis>
</para>
</citetitle>
{docbook}

{docbook}
<para>
              <emphasis role="bold">1.</emphasis> Click <inlinemediaobject>
                <imageobject role="fo">
                  <imagedata fileref="images/Import_icon.png" format="PNG" scalefit="1" width="14mm"/>
                </imageobject>
                <imageobject role="html">
                  <imagedata fileref="images/Import_icon.png" format="PNG" scalefit="0" width="14mm"/>
                </imageobject>
              </inlinemediaobject> to open the <guilabel>Import</guilabel> form.</para>
{docbook}
*2.* Locate the file to import, then upload the selected file.
{docbook}
<para>
 <emphasis role="bold">3.</emphasis> Click <guibutton>Save</guibutton> to finish.</para>
{docbook}
After being imported, all categories and questions will be displayed in the *Answers* homepage.


h2. Moderate questions {anchor:id=KSuser.Answer_Moderator.Moderate_question}

h3. View all questions {anchor:id=KSuser.Answer_Moderator.Moderate_question.View_all_questions}

Each question may be displayed in different ways, depending on the preset properties when it is created or edited.
{docbook}
<para>Each question may be displayed in different ways, depending on the preset properties when it is created or edited. To view all posted questions, click <inlinemediaobject>
                <imageobject role="fo">
                  <imagedata fileref="images/Manage_question_btn.png" format="PNG" scalefit="1" width="20mm"/>
                </imageobject>
                <imageobject role="html">
                  <imagedata fileref="images/Manage_question_btn.png" format="PNG" scalefit="0" width="20mm"/>
                </imageobject>
              </inlinemediaobject> on the <emphasis role="bold">Action</emphasis> bar to open the <guilabel>Manage Questions</guilabel> form. Here, you can have the overview of all the posted questions in the category you manage.</para>
{docbook}

h3. Edit a question {anchor:id=Answer_Moderator.Moderate_question.Edit_questions}

*1.* Select !images/Manage_question_btn.png|width="20mm" fo:scalefit="1" html:scalefit="0"! on the *Action* bar to view all the open questions.
{docbook}
<para>
              <emphasis role="bold">2.</emphasis> Click <inlinemediaobject>
                <imageobject role="fo">
                  <imagedata fileref="images/Edit_icon4.png" format="PNG" scalefit="1" width="4mm"/>
                </imageobject>
                <imageobject role="html">
                  <imagedata fileref="images/Edit_icon4.png" format="PNG" scalefit="0" width="4mm"/>
                </imageobject>
              </inlinemediaobject> next to the question that you want to edit and scroll down to see the <guilabel>Edit Question</guilabel> form.</para>
{docbook}
*3.* Make changes on your question.
{docbook}
<para>
<emphasis role="bold">4.</emphasis> Click <guibutton>Save</guibutton> to save all changes.</para>
{docbook}

h3. Approve/Disapprove a question {anchor:id=Answer_Moderator.Moderate_question.Approve&disapprove_questions}

In a category that requires question to be moderated, any new questions will be in the unapproved status and need to be approved before being published.

There are two options when approving/disapproving questions:
{docbook}
<itemizedlist>
              <listitem>
                <para>
                  <guilabel>All</guilabel>: all approved and unapproved questions are displayed and visible for all users.</para>
              </listitem>
              <listitem>
                <para>
                  <guilabel>Approved</guilabel>: only the approved questions are displayed while the unapproved questions are hidden.</para>
              </listitem>
            </itemizedlist>
{docbook}
{docbook}
<para>If you select <guilabel>Approved</guilabel>, the <emphasis role="bold">Moderate Question</emphasis> function will determine the unapproved questions to display or not.</para>
{docbook}
{docbook}
<citetitle>
<para>
    <emphasis role="bold">Approve/Disapprove a question</emphasis>
</para>
</citetitle>
{docbook}

*The first way*
{docbook}
<para>
<emphasis role="bold">1.</emphasis> Right-click the question title, then select <guilabel>Edit</guilabel> from the drop-down menu to open the <guilabel>Edit</guilabel> form.</para>
{docbook}
{docbook}
<para>
  <emphasis role="bold">2.</emphasis> Select/Deselect the <guilabel>Approved</guilabel> checkbox.</para>
{docbook}
*The second way*
{docbook}
<para>
              <emphasis role="bold">1.</emphasis> Click <inlinemediaobject>
                <imageobject role="fo">
                  <imagedata fileref="images/Manage_question_btn.png" format="PNG" scalefit="1" width="20mm"/>
                </imageobject>
                <imageobject role="html">
                  <imagedata fileref="images/Manage_question_btn.png" format="PNG" scalefit="0" width="20mm"/>
                </imageobject>
              </inlinemediaobject> on the <emphasis role="bold">Action</emphasis> bar to open the <guilabel>Manage Questions</guilabel> form.</para>
{docbook}

*2.* Click !images/Yes_icon.png|width="12" fo:scalefit="1" html:scalefit="0"! or !images/No_icon.png|width="10" fo:scalefit="1" html:scalefit="0"! to disapprove or approve the question respectively.


h3. Activate/Deactivate a question {anchor:id=Answer_Moderator.Moderate_question.Activate&Deactivate_questions}

When a question is activated, it will be displayed and visible to all users. If not, it will be hidden and invisible.

*The first way*
{docbook}
<para>
 <emphasis role="bold">1.</emphasis> Edit a question to open the <guilabel>Edit Question</guilabel> form.</para>
{docbook}
{docbook}
<para>
<emphasis role="bold">2.</emphasis> Select/Deselect the <guilabel>Activated</guilabel> checkbox.</para>
{docbook}
*The second way*

*1.* Click !images/Manage_question_btn.png|width="20mm" fo:scalefit="1" html:scalefit="0"! on the *Action* bar.

*2.* Click !images/Yes_icon.png|width="12" fo:scalefit="1" html:scalefit="0"! or !images/No_icon.png|width="10" fo:scalefit="1" html:scalefit="0"! to activate or deactivate the question respectively.

h3. Delete a question {anchor:id=Answer_Moderator.Moderate_question.Delete_questions}

There are several ways to delete questions:

*The first way*
{docbook}
<itemizedlist>
              <listitem>
                <para>Right-click your desired question, then select <guilabel>Delete</guilabel> from the drop-down menu.</para>
              </listitem>
</itemizedlist>
{docbook}
*The second way*

* Click !images/Manage_question_btn.png|width="20mm" fo:scalefit="1" html:scalefit="0"! on the *Action* bar, then click !images/Delete_icon2.png|width="4mm" fo:scalefit="1" html:scalefit="0"! corresponding to the question you want to delete.

*The third way*
{docbook}
<itemizedlist>
              <listitem>
                <para>Click your desired question, then click <inlinemediaobject>
                    <imageobject role="fo">
                      <imagedata fileref="images/Delete_icon2.png" format="PNG" scalefit="1" width="4mm"/>
                    </imageobject>
                    <imageobject role="html">
                      <imagedata fileref="images/Delete_icon2.png" format="PNG" scalefit="0" width="4mm"/>
                    </imageobject>
                  </inlinemediaobject>. Next, click <guibutton>OK</guibutton> in the confirmation message to accept your deletion.</para>
              </listitem>
            </itemizedlist>
{docbook}
h3. Move a question {anchor:id=Answer_Moderator.Moderate_question.Move_questions}
{docbook}
<para>
 <emphasis role="bold">1.</emphasis> Open the <guilabel>Move Question</guilabel> form by following one of two ways:</para>
{docbook}
*The first way*
{docbook}
<itemizedlist>
              <listitem>
                <para>Right-click your desired question, then select <guilabel>Move to</guilabel> from the drop-down menu.</para>
              </listitem>
</itemizedlist>
{docbook}
*The second way*

* Select your desired question, then click !images/Move_question_icon.png|width="4mm" fo:scalefit="1" html:scalefit="0"!.

*2.* Select the category to which you want to move your selected question.

!images/Move_question_form.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

{docbook}
<note>
    <para>
    Only the Administrator can move questions to any areas in <emphasis role="bold">Answers</emphasis>.
    </para>
    <para>
    The Moderator will be checked for permission when moving questions. The Moderator can only move questions to the category where he is also the moderator.
    </para>
    <para>
    A notification will be only sent to the creator of the question that has been moved.
    </para>
</note>
{docbook}


h2. Moderate an answer {anchor:id=KSuser.Answer_Moderator.Moderate_answers}

{note}
On the top right of an answer, you will see icons that represent actions you can do on that answer.
{note}

{docbook}
<para xml:id="KSuser.Answer_Moderator.Approve_answers">
	<citetitle>
		<emphasis role="bold">Approve/Disapprove an answer</emphasis>
	</citetitle>
</para>
{docbook}

Click !images/Disapprove_Answer_icon.png|width="11" fo:scalefit="1" html:scalefit="0"! / !images/Approve_Answer_icon.png|width="10" fo:scalefit="1" html:scalefit="0"! on the top right of the answer content to approve/disapprove that answer.

{docbook}
<note>
    <para>
    The approved answer is visible to regular users while the unapproved question is invisible.
    </para>
</note>
{docbook}

{docbook}
<para xml:id="KSuser.Answer_Moderator.Activate_answers">
	<citetitle>
		<emphasis role="bold">Activate/Deactivate an answer</emphasis>
	</citetitle>
</para>
{docbook}

Click !images/Deactive_answer_icon.png|width="11" fo:scalefit="1" html:scalefit="0"! / !images/Active_answer_icon.png|width="10" fo:scalefit="1" html:scalefit="0"! on the top right of the answer content to activate/deactivate that answer.


{docbook}
<note>
    <para>
    The deactivated answer is hidden to the regular users while the activated question is shown.
    </para>
</note>
{docbook}

{docbook}
<para xml:id="KSuser.Answer_Moderator.Delete_answers">
	<citetitle>
		<emphasis role="bold">Delete an answer</emphasis>
	</citetitle>
</para>
{docbook}

{docbook}
 <para>To delete an answer, click <inlinemediaobject>
                <imageobject role="fo">
                  <imagedata fileref="images/Delete_icon.png" format="PNG" scalefit="1" width="4mm"/>
                </imageobject>
                <imageobject role="html">
                  <imagedata fileref="images/Delete_icon.png" format="PNG" scalefit="0" width="4"/>
                </imageobject>
              </inlinemediaobject> on the top right of the answer content, then click <guibutton>OK</guibutton> in the confirmation message.</para>
{docbook}

{docbook}
<citetitle>
<para>
    <emphasis role="bold">Leave a comment</emphasis>
</para>
</citetitle>
{docbook}

This function enables users to log in and give comments on specific questions.

*1.* Follow one of the following two ways:

*The first way*

* Click the question you want to leave comments, then select !images/answer_comment_button1.png|width="14mm" fo:scalefit="1" html:scalefit="0"!.

*The second way*

* Right-click a specific question, then select !images/comment_button.png|width="14mm" fo:scalefit="1" html:scalefit="0"! from the drop-down menu.

*2.* Enter your comment in the text-input field.
{docbook}
 <para>
              <emphasis role="bold">3.</emphasis> Click <guibutton>Save</guibutton> to finish.</para>
{docbook}
{docbook}
<para>
<citetitle>
<emphasis role="bold">
Promote a comment as answer
</emphasis>
</citetitle>
</para>
{docbook}


If the comment is considered as the best answer for the question, it can be promoted to the answer. To do this, simply click !images/promote_answer_icon.png|width="4mm" fo:scalefit="1" html:scalefit="0"! on the top right of the comments panel.

{docbook}
<note>
    <para>
    Comments can be written in different languages. However, you can only put comments on a question in multiple languages only when the question has been posted in multiple languages.
    </para>
</note>
{docbook}
