這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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