…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?
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
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?
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
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.