Linux 软件免费装
Banner图

Civil Comments

开发者 civilco
jjeaton
reaktivstudios
更新时间 2017年2月21日 06:01
PHP版本: 4.2 及以上
WordPress版本: 4.7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

comments spam community anti-spam trolls comment moderation comment spam spam comments moderation civil civil comments moderate comments

下载

0.1.0 0.2.0 0.2.1

详情介绍:

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. [vimeo https://vimeo.com/199699519] 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.

安装:

  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.

屏幕截图:

  • The Civil Comments comment form.
  • Moderating submitted comments before a comment is posted.
  • The Civil Comments settings page.

常见问题:

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.

更新日志:

0.2.1 0.2.0 0.1.0