WordPress Glossary Plugin (CMTG) + Community Terms (CMTCT) - Use Case - Letting Users Edit Existing Glossary Terms


Use Case - Letting Users Edit Existing Glossary Terms

Back to User Guide

Note: This use case require these products to be activated:


Introduction

The Glossary Community Terms Submission add-On allows users to suggest terms to your glossary.

Use Case Front-End

Editing an existing term created by another user:

Editing an existing term created by another user - WordPress Knowledge Base Plugin
Editing an existing term created by another user

Moderating term changes suggestions:

Moderating term changes suggestions - Knowledge Base WordPress Plugin
Moderating term changes suggestions

Use Case Assumptions

In this example use case guide, we'll cover how to let users edit their own terms and suggest edits for other existing terms.

We consider that you have already bought the add-on, but not installed it. The WordPress Glossary plugin is used as a base plugin.

It follows:

Installing the Add-on

The process is the same for all CM plugins.

CreativeMinds Customer Account Dashboard - Downloads tab
CreativeMinds Customer Account Dashboard
  • Download the plugin from your customer dashboard.
  • Log in to WordPress and navigate to the WordPress Admin â†’ Plugins settings.
  • Click on Add New.
  • Activate it and add the license.

Quick Recap

In this use case guide we will focus mostly on editing existing terms. Of you want to start with the basics of setting up the basic plugin and add-on, please check the following use case guides:

Initial Conditions

There's a difference in the editing process for when the user edits a term that was created by him and when the user tries to edit a term created by another user.

First difference is that when the user suggests edits for a term which is created by somebody else, he can suggest changes only for the definition - other fields like Synonyms, Abbreviations and others are not available in this case.

Second difference is that when the user edits a term created by him, the changes are applied without any moderation. Otherwise the admin should review the suggestion, then either accept or reject it.

Let's start with enabling all additional fields in the suggestion form.

Suggestion Form

Navigate to Admin Dashboard â†’ CM Tooltip Glossary â†’ Settings â†’ Community Terms tab.

Community terms settings - Glossary Plugin WordPress
Community terms settings

Scroll down and find the section Form Labels & Placeholders. Here you can optionally enable the following form fields - the ones that you want to be displayed in the suggestion form:

Enabling additional fields in the suggestion form - Tooltip Plugin WordPress
Enabling additional fields in the suggestion form
  • Show the excerpt field
  • Show the categories field
  • Show the tags field
  • Show the image field
  • Show the synonyms field
  • Show the variations field
  • Show the abbreviations field

Here's how the suggestion form will look like with all enabled fields:

Form for suggesting new terms - Tooltip WordPress Plugin
Form for suggesting new terms

Let Users Edit Their Own Terms

To let users edit their own terms, we need to configure the following. First of all, the user should be allowed to add new terms. For that, you need to select the needed user roles in the option Who can add terms under the Moderation Settings section.

Choosing who can add new terms - Wiki Plugin for WordPress
Choosing who can add new terms

Next, under the section Edit Terms, you need to enable the option Allow users to edit their own terms. Optionally, you can also let users remove their terms by enabling the option Allow user to delete terms.

Allowing users to edit and delete their own terms - Wiki for WordPress
Allowing users to edit and delete their own terms

Now Save Changes by clicking the relevant button:

Saving the changes - Wiki WordPress Plugin
Saving the changes

Users will be able to edit and delete their terms from their terms dashboard.

TIP

To display a terms dashboard on the front-end, you need to place a shortcode [terms_dashboard] on the needed page.

Learn more about the plugin shortcodes: CM Tooltip Glossary Community Terms (CMTCT) - Shortcodes

Front-end Result

Now when the user reviews a dashboard with created by him terms, he will see 2 additional columns that allow to edit or delete his terms:

Terms dashboard - WordPress as a Wiki
Terms dashboard

Clicking Edit term will show the same suggestion form where the user can edit all fields of his term:

The user edits his own term - WordPress Internal Linking Plugin
The user edits his own term

When the user edits a term created by him, the changes are applied immediately, without any moderation.

Let Users Edit Terms Created By Other Users

Users can suggest edits for terms created by somebody else. For that, under the Edit Terms section, select needed user roles in the option Who can suggest editing a term:

Choosing who is allowed to suggest edits for terms - WordPress Knowledge Base Plugin
Choosing who is allowed to suggest edits for terms

Important

Have a note that to let users suggest edits for terms must also be allowed to suggest new terms.

Choosing who is allowed to suggest new terms - Knowledge Base WordPress Plugin
Choosing who is allowed to suggest new terms

It does not mean that in both options should be selected all the same roles. For example, you can let user roles Author, Contributor and Subscriber suggest new terms, but let only the user role Author to suggest edits for terms.

Don't forget to save the changes after selecting user roles that you want to allow suggest edits for terms.

Front-end Result

Now users will see a link Edit term when viewing any term page:

Editing existing term - Glossary Plugin WordPress
Editing existing term

Clicking on this link will redirect to the simplified suggestion form. When a user edits a term created by somebody else he can only edit the term description, add a comment about his suggestion, and provide his email and name.

Form for editing term created by another user - Tooltip Plugin WordPress
Form for editing term created by another user

After clicking the button Update a term, the suggestion will be held for admin moderation.

Moderating Term Edits

As an admin, to find a dashboard for moderating term edit suggestions, navigation to Admin Dashboard â†’ CM Tooltip Glossary â†’ Edits Offers.

Navigation to the moderation dashboard - Tooltip WordPress Plugin
Navigation to the moderation dashboard

There you will see a table with the following columns:

Dashboard for managing suggested edits - Wiki Plugin for WordPress
Dashboard for managing suggested edits
  • Post Title - Contains a link to the term which received an edit suggestion.
  • Current Content - Shows a definition that is currently published for the term.
  • Suggested Content - Shows an updated definition for the term.
  • Editor Name - Shows the name of the user who suggested to edit the term.
  • Editor Email - Shows the email of the user who suggested to edit the term.
  • Comments - Shows the comment that the user left about the changes he offers.
  • Actions - This column has 2 buttons for the admin to make a decision: either Accept the changes or Reject.

Email Notifications

When the user suggests changes for a term created by another user, the admin can receive an email notification. Once the admin accepts or rejects the suggestions, the user who suggested changes can also receive an email notification about his suggestion status.

The plugin provides email templates for that. To configure them, get back to the Community Terms tab.

Community terms settings - Wiki for WordPress
Community terms settings

Find the section Notification Settings. You can find there 2 relevant email templates. Let's consider each of them a bit more detailed.

Email notifications settings - Wiki WordPress Plugin
Email notifications settings

Edit Term Suggestion

  • Admin email notification about edit - Enable this option if you want to receive email notifications when new term edits has been suggested.
  • Admin email notification about edit suggestion subject - Define the email notification subject.
  • Admin email notification about edit suggestion text - Define the email notification text. You can use the tag [term] to display the term name.

Edited Term Status Change

  • Editor email notification - Enable this option if you want users who suggested an edit to receive email notifications when the edit is accepted or rejected.
  • Editor email notification subject - Define the email notification subject.
  • Editor email notification text - Define the email notification text. You can use the tag [term] to display the term name, and [old] and [new] to display the term status before and after moderation.

Translating Front-end Labels

All front-end labels related to the form for suggesting new terms or changes for existing terms can be changed or translated to another language. You can find needed labels under 2 sections: Community terms labels and Form Labels & Placeholders.

Labels settings - WordPress as a Wiki
Labels settings

Extra - ReCaptcha

You might want to add an additional layer of security to protect from bots, especially if you want to allow guest users (not registered) to suggest new terms or edit the existing ones.

It can be done by enabling reCaptcha in the suggestion form. To do this, head to the Form Settings section. Here you need to:

Enabling reCaptcha - WordPress Internal Linking Plugin
Enabling reCaptcha
  • Show Captcha - Turn on this option to enable the Captcha feature.
  • Captcha key / Captcha secret key - Enter Captcha key and Captcha secret key. The keys can be obtained here.

Front-end Result

As a result, the user will have to complete reCaptcha in the suggestion form:

reCaptcha in the suggestion form - WordPress Knowledge Base Plugin
reCaptcha in the suggestion form

End Result

Following instructions found in the plugin and guides, you should be able to let users edit their own terms and suggest edits for other existing terms.

Use Case Front-End

Editing an existing term created by another user:

Editing an existing term created by another user - Knowledge Base WordPress Plugin
Editing an existing term created by another user

Moderating term changes suggestions:

Moderating term changes suggestions - Glossary Plugin WordPress
Moderating term changes suggestions

More information about the Glossary Community Terms add-on for WordPress

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.