Notify authors when a comment is added via Disqus
Latest commit 17720ce Oct 6, 2016 @davist11 davist11 initial release
Failed to load latest commit information.

Disqus Notify

Craft plugin to notify authors when a comment is added via Disqus.


  1. Copy the disqusnotify folder to craft/plugins.
  2. Navigation to the plugins page in the Craft control panel and install Disqus Notify.
  3. Navigation to the plugin settings to customize the email subject and body.
  4. Signup for a Disqus account and configure for your site.
  5. Utilize the Disqus onNewComment callback to make an AJAX request to the Disqus Notify plugin.

You need to pass the following pieces of data to the plugin:

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

The URL that you need to POST to is {{ actionUrl("disqusNotify/notify/notify") }}

Here is an example of the plugin in action utilizing jQuery:

  var disqus_config = function () { = '{{ }}';

    this.callbacks.onNewComment = [function(comment) {
      $.post('{{ actionUrl("disqusNotify/notify/notify") }}', {
        comment: comment.text,
        entryId: {{ }},
        authorId: {{ }}

  (function() {  // DON'T EDIT BELOW THIS LINE
    var d = document, s = d.createElement('script');

    s.src = '//';

    s.setAttribute('data-timestamp', +new Date());
    (d.head || d.body).appendChild(s);

Note: you will need to update your Disqus subdomain in this code snippet.