Jump to content
View in the app

A better way to browse. Learn more.

PHP论坛人

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cloudflare 验证码 Turnstile

Featured Replies

论坛后端 -> 会员 -> 垃圾邮件预防 -> 验证码

验证码类型 -> Cloudflare Turnstile

Site Key -> 需要自己申请

Secret Key -> 需要自己申请

为了使用Cloudflare Turnstile,你必须创建自己的Cloudflare帐户,将允许你更改安全偏好设置。

1.png

前往Cloudflare网站 -> Turnstile -> 添加小组件

https://dash.cloudflare.com/

2.png

小组件名称 -> PHP论坛人

3.png

主机名管理 -> 添加主机名 ->

4.png

由于我使用Cloudflare CDN,在此只要 "从现有主机名中选择"

主机名 phpforumer.com -> 添加 -> 添加 ->

5.png

6.png

小组件模式 -> 托管

托管

Cloudflare 将使用来自访问者的信息决定是否应使用交互式质询。如果我们确实显示了交互,用户将被提示选中一个框(没有需要辨认的图像或文本)。

非交互式

一个完全非交互式的质询。浏览器质询运行时,用户会看到一个带有加载条的小组件。

不可见

不需要交互的无可见质询。

7.png

您是否要为此站点选择预先许可?-> 是

您可以选择让 Turnstile 小组件发布一个许可 Cookie,就好像用户已在您的 Cloudflare 代理网站上通过了质询。此 Cookie 在您网站的安全设置中指定的质询通过期内有效

选择预先许可级别 -> 交互式

交互式

允许具有此级别许可 Cookie 的用户免除交互式、托管或 JavaScript 质询防火墙规则的质询。

托管

允许具有此级别许可 Cookie 的用户免除托管质询或 JavaScript 质询防火墙规则的质询。

非交互式

允许具有此级别许可 Cookie 的用户免除 JavaScript 质询防火墙规则的质询。

-> 创建

8.png

已成功创建 Turnstile 小组件!

您现在可以配置您的网站来使用 Turnstile:

9.png

回到论坛后端 -> 依序填入

站点密钥 -> Site Key

密钥 -> Secret Key

-> 保存

1.png

前往论坛 -> 注册

已更换为Cloudflare验证码

10.png

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.