Giter VIP home page Giter VIP logo

joomla_recaptcha_j15's People

Contributors

crysix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

joomla_recaptcha_j15's Issues

Why doesn't recaptcha work?

Hello!
I'm confused to use recaptcha in the user registration form.
In file:
/components/com_user/views/register/tmpl/default.php
pasted the code:

In file:
/components/com_user/controller.php

Edited function register_save()

if (ReCaptcha::get('submit')) { // returns false
if (!ReCaptcha::get('success')) {
JError::raiseWarning('', 'Неверный код проверки!'); //если не верно выводим сообщение
$this->register();
return false;
}else{
if ( !$user->save() )
{
JError::raiseWarning('', JText::_( $user->getError()));
$this->register();
return false;
}

  // Send registration confirmation mail
  $password = JRequest::getString('password', '', 'post', JREQUEST_ALLOWRAW);
  $password = preg_replace('/[\x00-\x1F\x7F]/', '', $password); //Disallow control chars in the email
  UserController::_sendMail($user, $password);

  // Everything went fine, set relevant message depending upon user activation state and display message
  if ( $useractivation == 1 ) {
    $message  = JText::_( 'REG_COMPLETE_ACTIVATE' );
  } else {
    $message = JText::_( 'REG_COMPLETE' );
  }

  $this->setRedirect('index.php', $message);
   }
 }else{
print_r(ReCaptcha::get('submit'));
JError::raiseWarning('', 'Не удалось проверить капчу!'); //если не верно выводим сообщение
$this->register(); 
return false;
 }

The condition does not work:

if (ReCaptcha::get('submit')) // returns false

What is my mistake?

Joomla 1.5 issue

Hi,
I have installed it in my site.
I came to these two issues.

  1. If you enable the plugin before inserting the site and the secret code, it is not possible to connect to the site any more(normal and administration). You get an error for the missing keys.
  2. It doesn't show up in Internet Explorer 11. Only in Edge and Chrome. See it on my site www.itclub.gr section "Contact us"

Not working at this time

The plugin doesn't work anymore (as of october 2019). It seems like the Google URL or the API changed.
There are a lot of old sites that need this plugin to avoid spamming. Hope the developer could check it soon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.