Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Civil Comments

Civil Comments is a subscription service that lets you host civil discussions and debates on your site without the usual spam, harassment, and abuse.

Civil Comments is a subscription service that lets you host civil discussions and debates on your site without the usual spam, harassment, and abuse. Built to integrate seamlessly with WordPress, Civil Comments gives site owners and developers control over how their community looks and runs.

A subscription to Civil Comments is required to use this plugin.

Get rid of moderation headaches

Civil Comments uses a patent-pending peer review system to keep comments non-toxic and fun—even at massive scale.

Define your style

Make your comments match the look and feel of your page with fully customizable CSS.

Speed up your page loads

Civil Comments was built in modern, progressive React.js, with blazing-fast server-side rendering and the smallest file size of any full-featured drop-in platform.

Author Civil Comments
Profile
Contributors civilco, jjeaton, reaktivstudios
Tags anti-spam, civil, civil comments, comment moderation, comment spam, comments, community, moderate comments, moderation, spam, spam comments, trolls
  1. civil-comments screenshot 1

    The Civil Comments comment form.

  2. civil-comments screenshot 2

    Moderating submitted comments before a comment is posted.

  3. civil-comments screenshot 3

    The Civil Comments settings page.

  1. Upload civil-comments to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Check the box to "Enable Civil Comments" and add your publication slug to begin using Civil Comments on your site.

0.2.1

  • Dev - Don't deactivate on WordPress.com VIP.

0.2.0

  • Feature - Add hide comments until clicked.
  • Fix - Login and Logout URLs didn't work with unauthenticated users.
  • Fix - Refactor comments.php to only require a single template tag show_civil_comments().
  • Dev - Add login/logout url filters and custom js hook to support analytics integration.
  • Dev - Add inline hook documentation.
  • Dev - Allow loading a custom template from the theme. Create templates/civil-comments.php in your active theme to use a custom template.
  • Dev - Tested compatibility with 4.7.

0.1.0

  • Initial release.

Which hooks are available?

  • ** civil_login_url ** - Override the login page url, defaults to the standard wp_login_url() which can also be filtered.
  • ** civil_logout_url ** - Override the logout page url, defaults to the standard wp_logout_url() which can also be filtered.
  • ** civil_custom_js ** - Add custom JS to the Civil initialization, for analytics integration or other custom code.

How do I integrate analytics?

Use the civil_custom_js action. Here is an example to be used in your theme's functions.php:

function prefix_civil_integrate_analytics() {
?>
    function myLogEventFunction (eventName, eventData) {
        console.log("Civil event called");
        console.log("Event Name:", eventName);
        console.log("Event Data:", eventData);

        // ...add event to your analytics platform
    }
    Civil({ logEvent: myLogEventFunction });
<?php
}
add_action( 'civil_custom_js', 'prefix_civil_integrate_analytics', 10 );

Can I use a custom comments template?

Yes, in your theme, just create a new template at templates/civil-comments.php. The template can be completely custom, just place the show_civil_comments() template tag in that file where you want the comments to be displayed. The default template is located inside this plugin at templates/civil-comments.php.

Can I hide the comments until clicked?

Yes. In the Civil Comments setting page, check the box next to Hide Comments Until Clicked. Comments will be hidden until the user clicks the comments button.

Share  
Download
Version 0.2.1

Requires WordPress version: 4.2 or higher

Compatible up to: 4.7.2

Last Updated 06 Feb 2017

Date Added: 30 Nov 2016

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

0 stars
0 ratings
46 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0