We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

New Add-On: Disqus Commenting System

Development and Programming

Brett DeWoody's avatar
Brett DeWoody
140 posts
15 years ago
Brett DeWoody's avatar Brett DeWoody

…okay, okay, there’s no download just yet. Just wanted to start a thread to find some testers and get some feedback.

I’m currently working on an EE2 add-on for integrating the Disqus comment system into EE. If you’re not familiar with Disqus its basically a commenting system on steroids. For more info check out the Disqus site.

This early version consists of an import tool (to import your existing comments from EE into Disqus) and several template tags (to display your comments and the comment form). For now the comments and comment form are implemented using javascript (which is how most sites use Disqus) but the tags will make it super simple to display comments form particular entries, total comments, etc.

Anyone interested?

       
Tristan Blease's avatar
Tristan Blease
3 posts
15 years ago
Tristan Blease's avatar Tristan Blease

For as easy as it is to implement Disqus, I’d love to see what you’ve done as far as making template tags and creating an EE native add-on. You can send me the deets at [email protected]. If it speeds up deployment, I’m game.

Out of curiosity, did you base your comment import script on the ruby one that was floating around a while back?

T

       
Brett DeWoody's avatar
Brett DeWoody
140 posts
15 years ago
Brett DeWoody's avatar Brett DeWoody
For as easy as it is to implement Disqus, I’d love to see what you’ve done as far as making template tags and creating an EE native add-on. You can send me the deets at [email protected]. If it speeds up deployment, I’m game. Out of curiosity, did you base your comment import script on the ruby one that was floating around a while back? T

Don’t get me wrong, the initial version will be pretty basic. It’ll consist of an import tool (to move your existing comments from EE to Disqus) and several template tags to make displaying your comments and comment totals really easy.

One of the advantages over the default Disqus javascript will be URL portability. When the comments are imported to Disqus it’ll store them by EE entry_id, not their current URL. If you decide to change your EE-powered site’s URL structure all your Disqus comments will still be associated with the correct entry.

To display your comments its as simple as something like:

{exp:channel:entries}
  <h1>{title}</h1>
  {content}
  <h2>Comments</h2>
  {eehive:disqus:comments entry_id ="{entry_id}" limit="10"}
{/exp:channel:entries}

This could be used on individual archive pages, but also on your homepage to show the comments from the most recent entry.

If you’ve got other ideas or features you’d like to see I’m totally open to them, let ‘em rip!

The import script uses a PHP wrapper for the Disqus API. Can you post a link to that Ruby script?

       
Tristan Blease's avatar
Tristan Blease
3 posts
15 years ago
Tristan Blease's avatar Tristan Blease

Smart to use the entry_id as a custom identifier.

As far as features go, the only thing I’d love to see is comment management/moderation baked into the EE CP in an easy-to-use way. The API exposes that kind of functionality, so it should be possible. The Disqus moderation tools on the site are nice, but for clients I like to keep as much in one place as possible. Just my 2c.

The script I mentioned is probably pretty close to what you’ve already got, but this has worked flawlessly for me on a few occasions so it might be good reference. Here’s the script: http://gist.github.com/202802

T

       
Brett DeWoody's avatar
Brett DeWoody
140 posts
15 years ago
Brett DeWoody's avatar Brett DeWoody

Yeah, comment moderation within EE would be super useful, great idea. Syncing EE to Disqus would also be useful as you could display comments using the usual EE tags in HTML.

Thanks for the input!

       
timj's avatar
timj
80 posts
15 years ago
timj's avatar timj
Anyone interested?

Very much.

       
Hop Studios's avatar
Hop Studios
495 posts
15 years ago
Hop Studios's avatar Hop Studios

I’m interested, too.

       
Brett DeWoody's avatar
Brett DeWoody
140 posts
15 years ago
Brett DeWoody's avatar Brett DeWoody
I’m interested, too.

Any requests for features?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.