wearerequired / simple-user-adding Goto Github PK
View Code? Open in Web Editor NEWA WordPress plugin that makes adding new users to your site easier than ever.
License: GNU General Public License v2.0
A WordPress plugin that makes adding new users to your site easier than ever.
License: GNU General Public License v2.0
Nice feature request by Niels van Renselaar on Twitter.
This could be pretty easy: Add textarea to enter a custom message in the "Show More" options. Add message to email via hook.
de_CH and de_DE
The original user-new.php
script has lots of important filters and hooks. We need feature parity here to not break other plugins.
Hooks (both run twice for multisite and normal sites):
user_new_form_tag
— Fires inside the adduser form tag.user_new_form
— Fires at the end of the new user form.Applied Filters:
show_password_fields
— not needed in our caseMultisite only:
pre_user_login
— Filter the username before it is added to the site.autocomplete_users_for_site_admins
— Filter whether to enable user auto-complete for non-super admins in Multisite.Added Filters (esp. for Multisite):
wpmu_signup_user_notification_email
— Changes the notification email textwpmu_signup_user_notification
— Disable confirmation mailwpmu_welcome_user_notification
— Disable welcome mailFor Multisite support, see #4.
Right now it doesn't work because both plugins use the pluggable function wp_new_user_notification()
WordPress 4.9 being released this week we should check if this plugin is ready and update the readme accordingly.
Field Guide: https://make.wordpress.org/core/2017/11/07/wordpress-4-9-field-guide/
If we add more fields like in #8, we need some more space. The first and last name fields could probably fit on 1 line.
We just need to make sure it's understandable. Perhaps float label pattern is needed, but I think two simple fields (with placeholders?) next to each other would suffice.
The original user-new.php
script has lots of functionality, especially for multisite (where you can promote users, etc.). We need feature parity.
Perhaps we should split this form in a separate file to keep things clean. Let's see where we can improve things on multisite.
Currently the plugin does nothing :)
When saving a user, it should send an email with username & password to them.
Guess the name from the email address and auto-insert the name.
When inserting an email address like [email protected]
, the plugin asks if this is "Johne Doe+example". The +example
part should be stripped out.
Mostly copy/paste from the original…
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.