PHPackages                             viget/craft-disqus-notify - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. viget/craft-disqus-notify

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

viget/craft-disqus-notify
=========================

Notify authors when a comment is added via Disqus.

2.0.1(7y ago)11.1kMITPHP

Since Oct 23Pushed 7y ago13 watchersCompare

[ Source](https://github.com/vigetlabs/craft-disqusnotify)[ Packagist](https://packagist.org/packages/viget/craft-disqus-notify)[ RSS](/packages/viget-craft-disqus-notify/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Disqus Notify plugin for Craft CMS 3.x
======================================

[](#disqus-notify-plugin-for-craft-cms-3x)

Notify authors when a comment is added via Disqus.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require viget/craft-disqus-notify

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Disqus Notify.

Configuring Disqus Notify
-------------------------

[](#configuring-disqus-notify)

1. Navigate to the plugin settings to customize the email subject and body.
2. Signup for a [Disqus](https://disqus.com/) account and configure for your site.

Using Disqus Notify
-------------------

[](#using-disqus-notify)

You will 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("disqus-notify/notify/notify") }}`

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

```

	var disqus_config = function () {
		this.page.identifier = '{{ entry.id }}';

		this.callbacks.onNewComment = [function(comment) {
			var csrfTokenName = "{{ craft.config.get('csrfTokenName') }}";
			var csrfTokenValue = "{{ craft.request.getCsrfToken }}";
			var data = {
				comment: comment.text,
				entryId: {{ entry.id }},
				authorId: {{ entry.author.id }}
			};
			data[csrfTokenName] = csrfTokenValue;

			$.post('{{ actionUrl("disqus-notify/notify/notify") }}', data);
		}];
	};

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

		s.src = '//subdomain.disqus.com/embed.js';

		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.*

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~458 days

Total

2

Last Release

2664d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9728af4299f2de6d5f099f957bf6f4c8b312076b104910f8d4d8afc39540b686?d=identicon)[viget](/maintainers/viget)

---

Top Contributors

[![davist11](https://avatars.githubusercontent.com/u/199985?v=4)](https://github.com/davist11 "davist11 (3 commits)")[![leobauza](https://avatars.githubusercontent.com/u/1823027?v=4)](https://github.com/leobauza "leobauza (3 commits)")

---

Tags

craft-plugincraft3cmsCraftcraftcmscraft-plugindisqus notify

### Embed Badge

![Health badge](/badges/viget-craft-disqus-notify/health.svg)

```
[![Health](https://phpackages.com/badges/viget-craft-disqus-notify/health.svg)](https://phpackages.com/packages/viget-craft-disqus-notify)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[pennebaker/craft-architect

CraftCMS plugin to generate content models from JSON/YAML data.

72148.5k5](/packages/pennebaker-craft-architect)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
