2017 © Pedro Peláez
 

craft-plugin craft-disqus-notify

Notify authors when a comment is added via Disqus.

image

viget/craft-disqus-notify

Notify authors when a comment is added via Disqus.

  • Monday, October 23, 2017
  • by viget
  • Repository
  • 16 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Disqus Notify plugin for Craft CMS 3.x

Notify authors when a comment is added via Disqus., (*1)

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later., (*2)

Installation

To install the plugin, follow these instructions., (*3)

  1. Open your terminal and go to your Craft project:, (*4)

    cd /path/to/project
  2. Then tell Composer to load the plugin:, (*5)

    composer require viget/craft-disqus-notify
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Disqus Notify., (*6)

Configuring Disqus Notify

  1. Navigate to the plugin settings to customize the email subject and body., (*7)

  2. Signup for a Disqus account and configure for your site., (*8)

Using Disqus Notify

You will utilize the Disqus onNewComment callback to make an AJAX request to the Disqus Notify plugin., (*9)

You need to pass the following pieces of data to the plugin:, (*10)

  1. Disqus Comment Text
  2. Entry ID
  3. Entry Author ID

The URL that you need to POST to is {{ actionUrl("disqus-notify/notify/notify") }}, (*11)

Here is an example of the plugin in action utilizing jQuery:, (*12)



Note: you will need to update your Disqus subdomain in this code snippet., (*13)

The Versions

23/10 2017

dev-master

9999999-dev

Notify authors when a comment is added via Disqus.

  Sources   Download

MIT

The Requires

 

cms craftcms craft-plugin craft disqus notify

23/10 2017

2.0.0

2.0.0.0

Notify authors when a comment is added via Disqus.

  Sources   Download

MIT

The Requires

 

cms craftcms craft-plugin craft disqus notify