reflar/user-management

Manage your users with style

Installs: 4 512

Dependents: 0

Suggesters: 0

Stars: 7

Watchers: 4

Forks: 10

Open Issues: 3

Type:flarum-extension

0.1.5 2018-05-15 19:49 UTC

README

MIT license Latest Stable Version Total Downloads

A Flarum extension that allows you 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 any time by anyone with permission. This extension also allows you to disable the email registration option, as well as giving you the ability to add an age and gender field to the user registration modal. 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.

gif

gif

Compatibility

This extension might not be compatible with other extensions that make change to the sign up modal as well. If an extension is not listed below, please try it on a test forum first and let us know if it works.

Works With:

  • All ReFlar extensions

Does Not Work With:

Goals

  • To provide an easy and intuitive User Management solution.
  • To make registration more customizable.
  • To log user incidents.

Usage

  • User Management from the Admin CP.
  • Moderators can assign strikes to posts.
  • Strikes can be tracked from admin page or directly from the 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 "UserWasGivenStike" which both contain the offending post, the user being struck, the strike issuer, and the reason.

You also have the api/strike post route to give a user 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

Links