I've read a lot of threads about problems getting the Recaptcha to appear on the comments portion with k2, but none give enough details for me to figure out the solution.
I've checked the php and under k2.js in components on my server, found some code that seems applicable:
// Comments
if ($('comment-form')) {
$('comment-form').addEvent('submit', function(e){
new Event(e).stop();
var log2 = $('formLog').empty().addClass('formLogLoading');
this.send({
update: log2,
onComplete: function(res){
log2.removeClass('formLogLoading');
if(typeof(Recaptcha) != "undefined"){
Recaptcha.reload();
}
if (res.substr(13, 7) == 'success') {
window.location.reload();
}
}
});
});
}
And have tried following instructions from here: http://recaptcha.net/plugins/php/
But I can't figure out where to extract anything and add anything in. I did get an api.
Right now, the comments box says enter the two words you see below, the recaptcha item is not there. Another thread said the person fixed this by enabling mootools in the template configuration, but I can't find that option with my MediaMogul essentials template.
Hope I provided enough.
Thanks