该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Email as Username for WP-Members

描述

Requires WP-Members to be in use. Uses members’ emails as their usernames. Removes the need to create a username (if wp-members is in use). Changes or removes appropriate items from forms, and adds the email address as the username. If WP-Members is no longer in use, there are plenty of plugins that offer this capability for WP’s native registration and login functions

How it works:
This plugin doesn’t do much of anything with the login form. It deals with the WP-Members registration form, removing username as a field to fill out and filling it automatically with the email entered. For backward compatibility (for users that were created before this plugin was installed), the plugin will try looking up the username by email if they log in with that instead of their username.

The plugin also does some funky things with subscribers:

  1. It doesn’t allow them access to the dashboard. This is to keep them from changing their email address (and un-syncing their username/email)
  2. It turns off the admin bar for them. Let’s face it, they don’t need that anyways.

Props to Beau Lebens for his Email Login plugin. I stole his function (from version 4.6.3) to help with backward compatibility.

安装

  1. Make sure the WP-Members plugin is installed and activated
  2. Turn the WordPress native Registration off (users can still register through WP-Members)
  3. Upload the /email-as-username-wpmem folder to the /wp-content/plugins/ directory
  4. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

Will this work without WP Members activated?

I highly doubt it. This plugin does not attempt to control the native WordPress registration

评价

2018年12月21日
Just posting this to let everyone know that it is working perfectly under WP5.0.2 . I was a little afraid considering it hasn't been updated (and reviewed) since long. But it does the job perfectly. Great idea, thanks to those who did it (long time ago) 😉
2016年9月3日 1 回复
Found this Plugin while googleing for a solution - you saved me hours of work
2016年9月3日
Worked great. Thank you! P.S. - Just remember if you use caching you need to totally clear out your caches to get the updated form.
阅读所有8条评价

贡献者及开发者

“Email as Username for WP-Members” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.3

  • Add internationalization (Italian Language Files)
  • Add options page
  • General WP coding standard compliance
  • Thanks to realloc for all these additions and changes

1.2.2

  • Fix argument missing error

1.2.1

  • Fix password reset for when username != email

1.2

  • Add ability to login with email even if username is different (Thanks to Beau Lebens)

1.0

  • Initial Release