Skip to content

phpBB ​

Official CaptchaLa extension for phpBB 3.3. It plugs into Spambot countermeasures like phpBB's built-in CAPTCHA plugins, so every form that asks for a CAPTCHA uses CaptchaLa once you select it.

Every widget is backed by a server-issued, single-use token, and each submission is checked on your server before phpBB accepts the form.

What it covers ​

FormActionNotes
Registrationforum_registerShown on the registration form.
Login retryloginShown after too many failed logins, like any phpBB CAPTCHA.
Postingforum_postGuest posts and posts that hit phpBB's flood checks.
Lost passwordlost_passwordShown on the password reset request.

When a check fails, the submission is refused and phpBB shows the error on the form. On the login form phpBB uses its own "maximum number of login attempts" message for any CAPTCHA failure.

Requirements ​

  • phpBB 3.3.x (3.3.0 or later; phpBB 4.0 is not supported yet)
  • PHP 8.0+
  • A CaptchaLa account — get your App Key + App Secret at dash.captcha.la

Install ​

  1. Download captchala-phpbb-1.0.1.zip from the v1.0.1 release on GitHub. The ZIP bundles the PHP SDK. You can also build it yourself: run build.sh in the repository (it needs Composer 2.2 or later); it writes the ZIP to release/.
  2. Extract the ZIP into your board's ext/ folder. The files land in ext/captchala/captcha/.
  3. In the ACP, go to Customise → Manage extensions, find CaptchaLa under Disabled extensions and click Enable.

Configure ​

  1. Go to ACP → General → Spambot countermeasures, select CaptchaLa under Installed plugins and click Configure.
  2. Paste your App Key and App Secret, choose a Widget mode and Language, and click Submit.
  3. Click Test connection to check the credentials end-to-end.
  4. Back on Spambot countermeasures, select CaptchaLa and submit to make it the board's CAPTCHA.
SettingDefaultDescription
App Key—Public key from the CaptchaLa dashboard. Required.
App Secret—Server secret, used to issue and validate tokens. Required; never sent to the browser.
Widget modebindbind (the check runs when the visitor presses the form's submit button), embed (a verification bar inside the form), popup or float.
LanguageautoA BCP-47 tag such as ja or zh-CN, or auto-detect to follow the visitor's browser.
Skip CAPTCHA for administratorsonBoard administrators are not challenged.

Screenshots ​

CaptchaLa settings in the phpBB ACP: App Key, App Secret, widget mode, language and Test connection

phpBB registration form with the CaptchaLa bar showing Verified

phpBB guest new topic form with the CaptchaLa bar

Uninstall ​

Disabling the extension in Manage extensions restores the CAPTCHA plugin that was active before (or phpBB's bundled CAPTCHA). Deleting its data there removes all settings the extension added.

Troubleshooting ​

  • The widget does not appear. Check that CaptchaLa is selected under Spambot countermeasures and that Test connection succeeds. Then purge the board cache (ACP → General → Purge the cache).
  • Every submission is refused. Make sure the App Key and App Secret belong to the same app, and that your board's domain is allowed for that app in the dashboard.
  • Trying it out. The public test keys let you check the full flow without an account.

MIT-licensed examples · CaptchaLa is operated independently