I created a new user management plugin (once more- my job is driving me crazy) that allows a couple of new things - define a custom user folder (that will be different from the regular accounts - to separate admins from users) - it will also allow the use of @ and . in usernames (to allow emails as usernames) if you set a custom directory. Lastly it allows you to use a datatable to see the users (you access that from a widget)
Lastly I’m excited about this because this is the first plugin that works as a full panel extention - it’s not a field, but new routes and pages inside the panel itself. I achieved this using a lot of inheritance.
Cheers guys!
p.s. this is stage one - I am planning to incorporate some interesting integrations to this later, including stripe and emailing capabilities.
edit
I integrated the plugin with another plugin I created now it has an extra page where you can mail your users!
Added a way to make users expire, also added a way to set which fields are show in the datatable.
Version 0.4.5
Added an optional way to store users in DB.
Thanks jens, now this github has a readme! (thanks to you)
I updated the plugin to integrate a my mailer wrapper plugin (changes will only apply if you have both plugins). Now if you have both then there will be an extra page where you can mail the users (and with the phpmailer driver you could also add attachments!)
A little bit off-topic to your plugin: Maybe you can find a way even to create a boilerplate version where people can create their own subpages in the panel – a function I’m seeking since weeks.
Yes, I was thinking to making a quick guide/boiler plate anyway, and since your asking I’ll try to do it soon enough. I am traveling to Santiago De Chile for a week, so I’m not sure when, but should be within a week-ish. In the mean time, if you want, we can PM about it.
By the way: when I try to switch through the pagination at the bottom with the datatable, kirby loads a new page and begins again with the first page. Is there some way to prevent.default the loading of the kirby app js?
Problem is that every time you paginate, it redraws them, so I have to hook in to every pagination event… and still I managed, by clicking different pagination really fast, to break my solution, but it’s the best I have atm. and I think it would work 99% of times.
No problem man.
Keep an eye out, I’m going to be updating it today/tomorrow - to support structure field for the users, also adding an option to store your users in database (you don’t have to if you don’t want, its an option that will be loaded conditionally)
For sure!
We are working in the same direction, I’ve modified your extension to store users in a database, I’m very interested to see how do you code it.
you should show your code as well… I’ve already have the db thing working (that wasn’t much of a problem) - but I’m trying to get the structure element to work with it.
Also I’m basing my code on Illuminate/database as it will allow you to do a lot of other things easily with the users as well.