--- title: phpBB description: Install the CaptchaLa phpBB extension to protect registration, login retries, posting and lost password as a native Spambot Countermeasures plugin. --- # 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 | Form | Action | Notes | | --- | --- | --- | | Registration | `forum_register` | Shown on the registration form. | | Login retry | `login` | Shown after too many failed logins, like any phpBB CAPTCHA. | | Posting | `forum_post` | Guest posts and posts that hit phpBB's flood checks. | | Lost password | `lost_password` | Shown 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`](https://dash.captcha.la) ## Install 1. Download `captchala-phpbb-1.0.1.zip` from the [v1.0.1 release on GitHub](https://github.com/Captcha-La/captchala-phpbb/releases). 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. | Setting | Default | Description | | --- | --- | --- | | 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 mode | `bind` | `bind` (the check runs when the visitor presses the form's submit button), `embed` (a verification bar inside the form), `popup` or `float`. | | Language | auto | A BCP-47 tag such as `ja` or `zh-CN`, or auto-detect to follow the visitor's browser. | | Skip CAPTCHA for administrators | on | Board administrators are not challenged. | ## Screenshots ![CaptchaLa settings in the phpBB ACP: App Key, App Secret, widget mode, language and Test connection](/images/plugins/phpbb/acp-settings.png) ![phpBB registration form with the CaptchaLa bar showing Verified](/images/plugins/phpbb/registration-form.png) ![phpBB guest new topic form with the CaptchaLa bar](/images/plugins/phpbb/new-topic-form.png) ## 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](/testing) let you check the full flow without an account. ## Links - Source and releases: [github.com/Captcha-La/captchala-phpbb](https://github.com/Captcha-La/captchala-phpbb) - Support: [supply@captcha.la](mailto:supply@captcha.la)