Skip to content

Manage every aspect of your users, with style. See "Projects" for progress.

License

Notifications You must be signed in to change notification settings

ABLD/user-management

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flarum User Management by ReFlar

GitHub license Latest Stable Version

A Flarum extension that allows your to manage every aspect of your users, with style!

This extension allows you to give users strikes for posts if they violate rules. Those strikes are kept and can be viewed at anytime by anyone with permission. This extension also allows your to disable the email registration option, as well as adds age and gender at registration. The user's age and gender is shown on their profile page. You can also manually activate users from the admin interface, or from the users page.

Goals

  • To make registration more customizable
  • To log user incidents

Usage

  • Moderators can asign strikes to posts
  • Strikes can be tracked from admin page or directly from user page
  • Remove email registration
  • Added age and gender

Installation

Install it with composer:

composer require reflar/user-management

Then login and enable the extension.

Developer Guide

You have 2 events to listen for "UserWillBeGivenStrike" as well as "UserGivenStike" which both contain the offending, the user being struck, the strike issuer, and the reason.

You also have the api/strike post route to give a Sumer a strike, /API strike/{userId} get route to get a user's strikes, and /api/strike/{id} delete route to delete the strike.

You can also post to /api/reflar/usermanagement/attributes to set a user's gender and age.

To Do

  • Requests?

Issues

  • None known

Links

About

Manage every aspect of your users, with style. See "Projects" for progress.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 59.0%
  • JavaScript 32.4%
  • CSS 8.6%