reflar / user-management Goto Github PK
View Code? Open in Web Editor NEW[Deprecated] A Flarum extension that allows your to manage every aspect of your users, with style!
License: MIT License
[Deprecated] A Flarum extension that allows your to manage every aspect of your users, with style!
License: MIT License
Show a user's group (and maybe ranks from Gamification) on the user list
Have users input a birthday that will change their age as the years go on.
Will be this upgraded for work with Beta 8?
I need to have a list of registered users.
Thank you for this extension.
This extension is nice and integrated but some communities might only need a subset of the features. For this reason, I propose that the extension were split into following packages:
Additionally, there could be a User management meta-package including all of these.
Each extension would provide hooks and should use hooks of other installed extensions, for example, strikes would hook into user list to add button for displaying all user’s strikes.
You need to set minimum age to 0 to prevent users set their age to negative values.
Does this work anymore?
From what I can tell the extension works fine.
Just that some text translations are missing.
In both the admin menu and component page.
reflar-usermanagement.admin.page.about_text
reflar-usermanagement.admin.modal.email_switch
reflar-usermanagement.admin.modal.gender_label
reflar-usermanagement.admin.modal.age_label
reflar-usermanagement.admin.modal.recaptcha
reflar-usermanagement.admin.modal.spam
reflar-usermanagement.admin.modal.amount_label
Here is how the actual text is showing.
Hope this helps!
Kind regards,
Rafael
This extension overrides the prototype methods of SignUpModal, making it impossible to extend by any other extension. In particular this breaks compatibility with Flagrow Terms.
The faulty code is around here in the main.js
file
user-management/js/forum/src/main.js
Line 85 in 31adac4
If an extension like Flagrow Terms is loaded before User Management and extending the init
, body
or onsubmit
methods the changes will be wiped out.
I suggest you use similar hacking to what I did in Terms https://github.com/flagrow/terms/blob/master/js/forum/src/addFieldsToRegister.js so you don't break extensibility for other extensions.
Of course once merged there will be a prettier way to do it in beta8 as already discussed on the forum flarum/framework#1420
I can submit a pull request if you want.
Would be really helpful if the extension would also show the users' group(s) beside their username in the user management dashboard
Before we can address your issues and concerns with the behavior of our work, we require every bit of detail from you to the fullest extent of this form. If this form is not properly filled out to it's entirity, we, ReFlar, reserve the right to close your issue due to lack of information thereof as well as not following instructions.
When I enable this extension in beta 8, I got the error:
Error parsing YAML, invalid file "/vendor/reflar/user-management/src/Listeners/../../locale/en.yml"
Expected Behavior:
user-management should work
Actual Behavior:
user-management breaks Flarum
Flarum core 0.1.0-beta.7
PHP 7.2.6
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, ctype, dom, fileinfo, filter, hash, json, mbstring, pcntl, SPL, PDO, bz2, posix, readline, Reflection, session, SimpleXML, standard, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, bcmath, Phar, curl, exif, ftp, gd, gettext, iconv, imap, intl, mysqli, pdo_mysql, pdo_sqlite, pspell, sockets, sqlite3, tidy, xmlrpc, zip, geoip, redis, Zend OPcache
EXT flarum-approval dev-master
EXT flarum-bbcode dev-master
EXT vingle-configure-smtp dev-master
EXT cbmainz-de dev-master
EXT flarum-emoji dev-master
EXT clarkwinkelmann-emojionearea dev-master
EXT flarum-english dev-master
EXT flagrow-byobu dev-master
EXT flagrow-split dev-master
EXT flarum-flags dev-master
EXT milescellar-french dev-master
EXT flarum-likes dev-master
EXT flarum-lock dev-master
EXT flarum-markdown dev-master
EXT xengine-markdown-editor dev-master
EXT flarum-mentions dev-master
EXT flarum-statistics dev-master
EXT flarum-sticky dev-master
EXT flarum-subscriptions dev-master
EXT flarum-suspend dev-master
EXT flarum-tags dev-master
EXT avatar4eg-transliterator dev-master
Base URL: https://forum.mydomain.com
Installation path: /srv/http/mydomain.com/forum
Debug mode ON
No relevant logs
Allow users to change their profile header background by letting them chose their preferred flat color or upload a cover image.
Possibly, change the way Male/Female is displayed, and instead use FontAwesome Icons that when hovered it shows a small popup of the "Male/Female" word.
Allow users to set their country
PHP 7.1.12
Nginx 1.13.7
Flarum last
My stack trace:
Fatal error: Uncaught ReflectionException: Class Reflar\UserManagement\Listeners\AddApiAttributes does not exist in /home/site/forum/vendor/illuminate/container/Container.php:741 Stack trace: #0 /home/site/forum/vendor/illuminate/container/Container.php(741): ReflectionClass->__construct('Reflar\\UserMana...') #1 /home/site/forum/vendor/illuminate/container/Container.php(631): Illuminate\Container\Container->build('Reflar\\UserMana...', Array) #2 /home/site/forum/vendor/flarum/core/src/Foundation/Application.php(514): Illuminate\Container\Container->make('Reflar\\UserMana...', Array) #3 /home/site/forum/vendor/illuminate/events/Dispatcher.php(149): Flarum\Foundation\Application->make('Reflar\\UserMana...') #4 /home/site/forum/vendor/illuminate/events/Dispatcher.php(135): Illuminate\Events\Dispatcher->resolveSubscriber('Reflar\\UserMana...') #5 /home/site/forum/vendor/reflar/user-management/bootstrap.php(20): Illuminate\Events\Dispatcher->subscribe('Reflar\\UserMana...') #6 [internal function]: Flarum\Extension\ExtensionSe in /home/site/forum/vendor/illuminate/container/Container.php on line 741
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.