/hCaptcha

A simple CAPTCHA Plugin using the hCaptcha service to protect your Joomla site against SPAM

Primary LanguagePHP

hCaptcha - CAPTCHA Plugin

CAPTCHA Plugin for Joomla 3.8 and higher. A simple CAPTCHA Plugin using the hCaptcha CAPTCHA service to protect your Joomla website against SPAM.

The Plugin can be easily kept up-to-date because it uses Joomla! Update System.

The latest version can be downloaded from: https://data2site.com/download/hcaptcha

This hCAPTCHA plugin is available in two versions:

  • one version for Joomla 3.8 to 3.10
  • and one version for Joomla 4 and 5.

Instructions

  • Download the latest version of hCaptcha and install using Joomla's Extension installer
    • in the Joomla back-end: Extensions > Install
  • Create a free account at https://hcaptcha.com
  • Add your site to https://hcaptcha.com and get a Secret Key + Site Key
  • Add the Secret Key + Site Key to the hCaptcha plugin
    • in the Joomla back-end: Extensions > Plugins > Select: hCaptcha
    • add the Site Key + Secret Key
    • publish the hCaptcha Plugin
  • Configure your Joomla site to use hCaptcha as default:
    • in the Joomla back-end: System > Global Configuration > [Site] tab > Default Captcha > Select "Captcha - hCaptcha"
  • Test your forms on the front-end of your Joomla website to see if the hCaptcha has been configured properly and works correctly.

Content-Security-Policy Settings

If you use CSP headers, please add the following to your configuration:

script-src should include https://hcaptcha.com https://.hcaptcha.com
frame-src should include https://hcaptcha.com https://.hcaptcha.com
style-src should include https://hcaptcha.com https://*.hcaptcha.com

Translations

This plugin has been translated into the following languages:

  • Dutch (nl-NL) by Peter Martin (@pe7er)
  • English (en-GB) by Peter Martin (@pe7er)
  • French (fr-FR) by Yannick Berges (@micker)
  • German (de-DE) by Tobias Zulauf (@zero-24)
  • Italian (it-IT) by Fabio Zignale
  • Polish (pl-PL) by Mateusz Hajder (@mhajder)
  • Spanish (es-ES) by Peter Martin (@pe7er)
  • Turkish (tr-TR) by Mehmet Taş

Would you like to contribute a translation for an additional language? Feel free to create a Pull Request against the master branch.

Issues

Have you found an issue in this software or do you have an question? Open an issue in this repo

Improvements

Would you like to contribute improvements to this code? Please submit a pull request with the proposed changes against the master branch.

Changelog

10-Jan-2024 : v1.4.3

  • # Fixed multiple line issue with language files that occurred since Joomla 5.0.1/4.4.1 due to a security fix.

18-Feb-2022 : v1.4.2

  • # Fixed issue in J4 version: replaced _QQ_ in language strings with \"
  • # Refactored J4 version: removed the language prefix (e.g. en-GB) from the language files

24-Jan-2022 : v1.4.1

  • # Fixed issue: Language strings are missing #35

18-Jan-2022 : v1.4.0

  • $ New Joomla 4 compatible version
  • $ Added Italian (it-IT) language File (Fabio Zignale)

2-Mar-2021 : v1.3.3

  • $ Added Turkish (tr-TR) language File (Mehmet Taş)

20-Nov-2020 : v1.3.2

  • # Fixed issue with required Captcha that displayed (optional) (@brianteeman)

11-Nov-2020 : v1.3.1

  • $ Added async attribute improvement (@SniperSister)
  • $ Changed Update URL
  • $ Changed Language Labels to keep the word the same on all places

13-Oct-2020 : v1.3.0

  • $ Changed Language Labels to follow the convention used in the Joomla 4 PR
  • $ Improved Polish pl-PL language File (@mhajder)
  • $ Added Spanish es-ES language File (@pe7er)
  • # Corrected minimum check to PHP 7.1 (@zero-24)
  • # Changed file_get_contents to HttpFactory (@zero-24)

22-Apr-2020 : v1.2.0

  • $ Added French fr-FR language File (@micker)
  • $ Added Germany de-DE language File (@zero-24)
  • + Added PHP 7.0 minimum check (@zero-24)
  • + Added privacy message about IP beeing send to hcaptcha.com (@zero-24)

21-Apr-2020 : v1.1.0

  • $ Added Dutch nl-NL language File (@pe7er)
  • $ Added Polish pl-PL language File (@mhajder)
  • + Added Theme configuration: Light / Dark
  • + Added Size configuration: Normal / Compact

20-Apr-2020 : v1.0.0

  • + Added Update server URL

10-Apr-2020 : v1.0.0-RC1

  • $ Added English en-GB language File (@pe7er)
  • + Added ACL check to Dashboard + Profiles view