From d5a18f1af4a0f2defa3bc6b899a7a4c9e7dab839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=B0=8F=E7=99=BD=E5=93=A6?= Date: Mon, 27 Jul 2026 16:51:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 24b1fb5..ff38b6c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,40 @@ -# ner +# XXB No Email Register -Remove email field from registration form and skip email verification. \ No newline at end of file +[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://git.parlz.com/Xiaoxiaobai5724/ner/blob/2.x/LICENSE) [![Latest Stable Version](https://img.shields.io/packagist/v/xxb5724/ner.svg)](https://packagist.org/packages/xxb5724/ner) [![Total Downloads](https://img.shields.io/packagist/dt/xxb5724/ner.svg)](https://packagist.org/packages/xxb5724/ner) + +> #### Note +This extension is not recommended unless you have special requirements, as it will break Flarum's email notification system. + +A Flarum 2.0 extension. It removes the email input field from the registration form and skips email verification, allowing users to register without providing an email. + +### Features + +- **Hide Email Input**: The email field no longer appears in the registration popup. +- **No Email Verification**: New users are activated immediately without needing to verify their email. +- **Automatic Fake Email**: Automatically generates a unique fake email for users to avoid database unique index conflicts. + +### Installation + +Install via Composer: + +```bash +composer require xxb5724/ner +php flarum cache:clear +``` + +### Update + +```bash +composer update xxb5724/ner +php flarum cache:clear +``` + +### Uninstall + +```bash +composer remove xxb5724/ner +php flarum cache:clear +``` + +### Contribution +- Tsiem Tsheng \ No newline at end of file