Introduction: Drupal Core Comments + ReCaptcha & Disqus
This Tutorial will show how to enable Comments on content type nodes in Drupal 8, adding ReCaptcha anti-spam protection. D8 admins can add HoneyPot for anti-scriptBot protection. Optional: The Tutorial also includes installing the Disqus comments platform as an alternative to the Drupal 8 core comments system which may be advantageous to some web publishers. The Drupal 8 core module system cannot be used at the same time with Disqus comments. Disqus is a third-party start-up widget that plugs into the Drupal 8 CMS to extend functionality. Drupal 8 publishers will need to make a meta-decision as to whether to use Drupal 8 core comments with ReCaptcha anti-spam or install Disqus as a comment solution for any website.
Step One: Install the Drupal Comment System on Content
Start: Navigate to the modules section of Drupal 8 administration at admin/modules & enable the Comment module. Most Drupal 8 websites install with this enabled as the default setting.
Next: Comment settings can be turned on/off individually for each content type. Navigate to /admin/structure/types/manage/*/fields to edit the settings for each content type.
Step Two: Install ReCaptcha Anti-Spam Protection on Forms
Start: Download and install the ReCaptcha anti-spam module for Drupal 8 comments. Administrators will need to register with ReCaptcha to use the module with Drupal 8. Required Downloads: Catcha:https://www.drupal.org/project/captcha ReCaptcha:https://www.drupal.org/project/recaptcha HoneyPot:https://www.drupal.org/project/honeypot
Note: The HoneyPot module adds an extra layer of protection against automated script-bots.
Configuration: Install & enable the three modules as usual in Drupal 8 administration, then navigate to admin/config/people/captcha/recaptcha in order to configure the ReCaptcha settings on comments & other forms. Configuration: The HoneyPot module can be configured by navigating to: admin/config/content/honeypot & enabling “Protect all forms” or Comment forms specifically.
Step Three: Review the Permission Settings for User Roles
Start: For web security & theme requirements, review the Permission settings for Comments according to User Roles in Drupal 8 admin at: admin/people/permissions
Step Four: Install Disqus Comments for Content Types
Optional: Some Drupal 8 web publishers may prefer to use the Disqus comment system on nodes instead of the default Drupal 8 core comment system with ReCaptcha anti-spam.
- Advantages: Disqus is a professional comment system well recognized by users across many websites with shared login capabilities & independent comment mediation.
- Disadvantages: The comment content is managed on Disqus web servers & off-site domain tools rather than through Drupal 8 administration & the local production server.
Note: In order to install Disqus comments on a Drupal 8 website, it is recommended to uninstall the Drupal core Comment module in administration (unless it is already in use with the forum module or other pre-requisites). Then download & install the Disqus module files, enabling them in the Drupal 8 administration section as usual. Otherwise, override the Comment settings on a node-by-node basis to use Disqus on some content types only.
Start:Disqus is a drop-in replacement widget for Drupal 8 core comments, but administrators will need to register their websites with Disqus at: https://disqus.com/admin/create/ Configuration: After registering the website, return to: admin/config/services/disqus
Conclusion: Disqus vs. Drupal 8 Core Comment System
Summary: Comments are a fundamental aspect of multi-user blogs, social networking, & e-commerce websites, requiring Drupal 8 web publishers to choose D8 core or Disqus. Recommendation: The Drupal 8 core comments system vs. Disqus debate involves advantages/disadvantages, i.e. theme professionality & off-site management of content data. Important: Use the ReCaptcha & HoneyPot modules together with core Drupal 8 comments for advanced protection against spam & script bots that can be customized in administration.
Check out these top 3 Drupal hosting services:
- Want to get top recommendations about best hosting? Just click this link!