Keyword

K2 recaptcha doesn't show

  • Viktor
  • Viktor's Avatar Topic Author
  • Offline
  • New Member
More
9 years 9 months ago #134962 by Viktor
K2 recaptcha doesn't show was created by Viktor
Hy. I'm relatively new to K2 but am fairly well familiar with Joomla. I've had a personal website for a while now but I wanted to start a blog on the site as well. All well and good but the problem is that I want to enable comments but not enable registration on my site so I REALLY need recaptcha to avoid spam. But whatever I do I can't get recaptcha to appear on my blog commenting form. I tried everything. I enabled the recaptcha, set the default in joomla general options, fixed the recaptcha.php script to google.com, edited the advanced options in the parameters and added the api keys... I don't know what I'm missing. If anyone can help, that would be awesome. Thanks!

Screenshot:
i.imgur.com/ND2coLX.png

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 9 months ago #134990 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 recaptcha doesn't show
Please read this thread.
www.joomlaworks.net/forum/k2-en/18521-solved-re-recaptcha-not-working

There are multiple solution on that thread.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Viktor
  • Viktor's Avatar Topic Author
  • Offline
  • New Member
More
9 years 9 months ago - 9 years 9 months ago #135029 by Viktor
Replied by Viktor on topic K2 recaptcha doesn't show
I read through the whole thing and thanks to all that messing around in the settings something got screwed up and now I can't view any of my blog posts. I can see the list of items but I when I open a post all I get is a blank page. I'll be honest. I'm not pleased.

EDIT: Not only my blog posts but ANY of my items are now just blank pages and I don't know why.
Last edit: 9 years 9 months ago by Viktor.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 9 months ago #135043 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 recaptcha doesn't show
Enable error reporting from the Global Configuration settings to see the actual issue.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago #135754 by Superkoala
Replied by Superkoala on topic K2 recaptcha doesn't show
after long searching

search for:

components/com_k2/views/item/view.html.php

//$document->addScript('api.recaptcha.net/js/recaptcha_ajax.js'); // Old URL
$document->addScript('www.google.com/recaptcha/api/js/recaptcha_ajax.js'); // New URL

and
$js = '
function showRecaptcha(){
Recaptcha.create("'.$item->params->get('recaptcha_public_key').'", "recaptcha", {
theme: "'.$item->params->get('recaptcha_theme', 'clean').'"
});
}

//$K2(window).load(function() {
showRecaptcha();
//});
';

thanks to blog.netgloo.com/2014/05/15/adding-recaptcha-for-k2-on-joomla/

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 8 months ago #135771 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 recaptcha doesn't show
Hello and thank you for sharing,

However this has been fixed in K2's recent versions.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum