Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Allow users to assign roles to themselves during registration.

License

Notifications You must be signed in to change notification settings

imorland/flarum-regrole

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Registration Roles

MIT license Latest Stable Version Total Downloads

This is a temporary maintained fork

I have volunteered to maintain this extension whilst Kylo / the-turk is away. My hope is that this fork can be re-integrated in due course.

~ IanM - January 2021

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

Registration Roles

Settings Screenshot

Installation

composer require ianm/flarum-regrole:"*"

Updating

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

Usage

Enable the extension and set allowed roles from the extension's settings modal. Also enable the "Force users to assign at least one role to themselves" option to force guests as well as existing users (admins will be excluded) to have at least one of these 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

About

Allow users to assign roles to themselves during registration.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 52.6%
  • PHP 43.2%
  • Less 4.2%