Disqus

Developer

Marc Tanis - BlendIMC

3rd Party (Free)

Creative Commons Attribution

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Module

Tags

Integrate Disqus Commenting System with your Expressionengine install. Sync comments from Disqus into EE and output them with simple to use tags.

Check out http://ee-spotlight.com/reviews/disqus_comments for a walkthrough on using this plugin.

*INSTALL*
Expressionengine 2 only.
Unzip the file and rename the folder to disqus. Then upload it to your third party directory to install it. 

*TAG USAGE*
This module provides you with 3 tags.


{exp:disqus:link id="{entry_id}" link="{url}"}

{exp:disqus:comment id="{entry_id}"}

{exp:disqus:sync int="5"}


exp:disqus:link takes the entry_id parameter (required) and a possible link prefix (to link to other pages disqus section). This will load a link to the Disqus comments section as well as display the number of comments and reactiongs.

exp:disqus:comment takes the entry_id parameter (required) and outputs the proper Disqus js for comments section

exp:disqus:sync takes an int parameter (optional) and will sync your Disqus comments (configured in the CP) and turn them into EE comments. You can put this tag in a well visited template and it will only run once every 60 minutes. You can change this by putting in a number in the int parameter. This is the interval you want to synchronize comments. If you want to do it on every page load (NOT ADVISABLE) use the parameter int=“NOW” .

You will also be provided a link to run the sync operation from a url so you can setup a cron job to do this automatically.

You will install the plugin and then setup your forum shortname for the javascript tags. In order to use the sync tag you will need to setup an Application in Disqus and input your Secret Key from Disqus.

Example usage of Comments. For SEO purposes you may want to spit out comments in the HTML so Google can know they are there since DISQUS uses all JS. Just output your comments like normal from EE, and if JS is working, then hide the comment div and show the JS.

Disqus Links

This entry was created May 6, 2011, 11:54 am.
This entry was last updated March 15, 2012, 5:06 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

4 Reviews:

WScott84 01.31.13

WScott84
Rating - {addon_rating_average}

I spent hours debugging why this module wasn’t syncing.  I discovered that line 143 of mod.disqus.php was incorrect.  Currently says $comments = $disqus->posts->list(); ... but I changed it to say $comments = $disqus->posts->list(array(‘forum’=>$this->settings[‘shortname’])); , it’s now working.

CreateSean 06.05.11

Rating - {addon_rating_average}

As Kevin332 said, first tags aren’t necessary if you’ve already got the disqus code on your site. But the sync with EE part is awesome.

kevin332 05.27.11

Rating - {addon_rating_average}

Really quick and easy to implement.

The first two tags aren’t really necessary if you’ve already deployed Disqus JavaScript code.

Cron is definitely the way to go if you have access and can curl the sync url directly. The exp:disqus:sync tag significantly slows page loading whenever it’s fired.

Yannick 05.15.11

Rating - {addon_rating_average}

Simple and nice add-on! Thanks