Disqus and reCaptcha integrated with BlogEngine 1.6.0.5

3. April 2010 18:02 by rtur.net in Spam Protection  //  Tags: ,   //   Comments (14)
 

image All improvements to comment management outlined in this post completed and now available in source control, so if you wish to give it a test drive I really interested in your feedback. This includes both Disqus and reCaptcha integration (credits go to Hamish Graham and Filip Stanek respectively. The plan is to make it finalized and available for download as service pack or optional update in the next couple weeks. By then, there are going to be testing, refactoring an clean up but hopefully no major changes.

image To enable reCaptcha, you’ll need (obviously) update from latest source code (1.6.0.5) and then go to extensions/settings and setup reCaptcha from there. Once extension enabled, you should see reCaptcha added to comments form. You might need to refresh or clear browser’s cache if you can’t see it right away.

imageDisqus can be turned on by going to admin/comments and selecting “moderated by Disqus” option. Both require you set up an account on there web sites and provide application key that you have to enter in the settings. It is free and, in my experience, pretty painless.

Comments (14) -

Ben Amada
Ben Amada
4/4/2010 8:31:05 PM #

Great job!  I'm familiar with Recaptcha but don't yet know anything about Disqus.  Looking forward to find out more.

PoiSoN
PoiSoN
4/4/2010 8:32:46 PM #

Did you manage to import the existing comments to Discus?

rtur.net
rtur.net
4/4/2010 8:37:34 PM #

No, and I have not found API that could be used to migrate comments into Disqus. Which is too bad - I've seen requests for that dated 2 years back and it still not there... If they provide any hooks, we can definitely implement it on our side.

E-cig Girl
E-cig Girl
4/5/2010 4:52:45 PM #

Disqus is my standard commenting system. All the others, Open ID etc.. are all secondary to me :) I dont like saying bad things about other companies so Ill just say that Disqus is my all time FAV!

-Bella :)

MJG
MJG
4/5/2010 6:37:38 PM #

I've implemented 1.6.05 as an upgrade to my previously existing blog (including compiling the bin file) but I can't get the reCaptcha to show up. I've cleared the cache for this domain in my browser, I've createa reCaptcha account and set up my private and public keys, and tried both positions of "show captcha for authenticated users" and also tried it in a different browser that wasn't logged in.

Any thoughts on what needs to be done to get this GREAT new feature to show up?

rtur.net
rtur.net
4/5/2010 8:44:36 PM #

Did you turn extension on? By default it is off, you need to click "enable" link in the extensions list. Also, if you have recaptcha on your site before you might need to clean up (remove script from "trailing scripts" in the site settings page for example).

Filip Stanek
Filip Stanek
4/6/2010 11:08:49 AM #

It looks like everything is in place, so Rtur is right in that the extension is probably not enabled.

On your admin panel, click on "Extensions", and in that list you need to ensure that the extension is enabled (Click on the "Disabled" link under "Status").

It might be easier to first have "Show reCaptcha for Authenticated Users" checked, since you won't have to log out to verify that it is showing up properly.

MJG
MJG
4/6/2010 10:50:39 PM #

Don't I feel stupid now. I can't tell you how many times I was in the extension manager jumping in and out of editing the captcha extension and never even clued into the fact that it was disabled.

Works great now (well, it did after I set the web.config file as writable). I'll just go crawl under my rock again.

Seriously, thanks guys! Hopefully this will helps stem the tidal flood of spam comments that need moderation.

MJG

Hamish Graham
Hamish Graham
4/7/2010 3:32:55 AM #

Nice one :) So, is the idea to have reCaptcha and Disqus working together? Or is it separate I presume where reCaptcha is only for use with the original commenting system?
Disqus doesn't seem to have a reCaptcha option...

rtur.net
rtur.net
4/7/2010 9:36:53 AM #

It is separate, but you have a good point - may be there is a way to make them work together. I'll check this out.

Jim
Jim
4/15/2010 1:27:54 PM #

I am very interested in this but honestly don't want to mess with bleeding edge source code...  So please let me know or provide a new post when this is available as a service pack or some update.  Thank you so much in advance.

Jim
Jim
5/12/2010 7:48:14 AM #

Sick and tired of managing these spam comments...  Any update on this being part of some Service Pack or Update?

rtur.net
rtur.net
5/12/2010 9:26:59 AM #

Sure - http://dotnetblogengine.net/post/BlogEngine-161-Update.aspx

asp.net, programming
asp.net, programming
9/25/2010 11:07:54 AM #

rtur, can you share api which you found for migrate comments?

Pingbacks and trackbacks (1)+

Comments are closed

Recent Comments

Comment RSS