rodrom/chexem
最新稳定版本:v0.1.2
Composer 安装命令:
composer require rodrom/chexem
包简介
Assign a group when a verified email exists in an external database.
README 文档
README
Chexem (CHeck EXternal EMail) assigns a Flarum group to users whose verified email exists in an external database.
Requirements
- Flarum 1.8
- Connection details to the external database.
- Access and write rights to the Flarum
config.phpfile. - Singular name of the Flarum group that should be used.
Configuration
-
Include in the
config.phpfile of your Flarum root folder the connection details to the external database, the name of the table, and the column with emails that would be checked after the Flarum user activates its account. -
Include the singular name of the Flarum group that will be assigned if the email exists in the external database. The Flarum group must exists or the extension would not work. If you don't know, check the admin Permisions page of your Flarum admin section, or the
groupstable in your Flarum database. You can create or edit the group from thePermissionsadmin page as well.
For example, a PostgresSQL external database in the same server where Flarum forum is running. Change the values to adapt to your case.
'external_database' => array ( 'driver' => 'pgsql', 'host' => '127.0.0.1', 'port' => '5432', 'database' => 'mypgsqldb', 'username' => 'myuser', 'password' => 'mysecret', 'table' => 'mytable', 'column' => 'emails', 'flarum_group' => 'Outsider', ),
Installation
Install the extension with composer.
$ composer require rodrom/chexem
- Activate the extension on the admin section.
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Useful Links
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-12