定制 sas_sam/flarum-regrole 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sas_sam/flarum-regrole

最新稳定版本:1.0.5

Composer 安装命令:

composer require sas_sam/flarum-regrole

包简介

Allow users to assign roles to themselves during registration.

README 文档

README

MIT license Latest Stable Version Total Downloads

Note: This package is a fork of the-turk/flarum-regrole. This package is very handy; however, it has become broken since Flarum v1.7.2 was released (Discuss). The original package has been abandoned as the author is busy. Hence, the fork was the only way to fix it. The version number is continuing the original version number.

Allow users to assign roles to themselves during registration. You can also force existing users.

Registration Roles

Settings Screenshot

Installation

composer require sas_sam/flarum-regrole:"*"

Updating

composer update sas_sam/flarum-regrole
php flarum cache:clear

Usage

Enable the extension and set allowed roles from the extension's settings. Also enable the "Force users to assign at least one role to themselves" option to force guests as well as existing users (users with "Edit user groups" permission will be excluded) to have at least one of those allowed roles.

! Attention: I've tested this extension as much as I can. However, any malfunction of this extension may cause fatal errors during registration and your users might be unable to use your forum. So please test it yourself (register to your forum and login as existing user if you're forcing them to choose a role) after installation to see if everything is working fine for everyone.

Links

统计信息

  • 总下载量: 520
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 4
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-13