mcatze
Well-known member
I would like to integrate hCaptcha similar to reCaptcha, but i don't know which is the best way to extends the new class hCaptcha.
I am not so familiar with the XF2 Code so it is difficult to figure out whats the best way. Maybe someone give me a hint..
1. Create new class like reCaptcha:
2. Create Class extension:
3. Create templates..
4. Get error:
I am not so familiar with the XF2 Code so it is difficult to figure out whats the best way. Maybe someone give me a hint..
1. Create new class like reCaptcha:
PHP:
<?php
namespace ITM\hCpatchaIntegration\XF\Captcha;
use XF\Captcha\AbstractCaptcha;
use XF\Template\Templater;
class hCaptcha extends XFCP_AbstractCaptcha
2. Create Class extension:
3. Create templates..
4. Get error: