WP-Members

WP-Members is a free plugin to make your WordPress® blog a membership driven site. Perfect for newsletters, private blogs, premium content sites, and more! The plugin restricts selected WP content to be viewable by registered site members. Unlike other registration plugins and WordPress® itself, it puts the registration process inline with your content (and thus your branded theme) instead of the native WP login page. WP-Members works “out-of-the-box” with no modifications to your theme, but it is fully scalable for those that want to customize the look and feel, or want to restrict only some content. It is a great tool for sites offering premium content to subscribers, and is adaptable to a variety of applications.

I would suggest that you sign up for the premium support membership.  At $47, it is a good value and this price gets you access to the support forum, priority email support, a code snippet library of customizations, and access to exclusive plugin extensions such as registration blacklist, user tracking, PayPal subscriptions, and more.

Download the plugin

The plugin is currently maintained at the WordPress Plugin Repository. You may always find the current production version there.

Support documents

The primary support documents I have created are the Quick Start Guide, a visual support document to get you started, and the Complete Users Guide, which documents all of the features of the plugin.

Tips and Tricks

There is a difference between Posts and Pages in WordPress. If you use WP primarily as a CMS using pages for content, you should review this post:

Translation and Localization

If you are using WordPress in a language other than English, the plugin has been adapted for localization.  A POT file and existing translation files are available.

Plugin Name

This plugin has been named WP-Members since its public introduction in 2006.  Back then, it was the only plugin doing what it does.  Since then, there have been some commercial plugins that have hijacked the name.  I have released some statements with information regarding the name:

Comments

  1. Nick M. says

    Is there a way to modify the plugin so that only a user email address is required for password recovery? My “members” are not terribly computer savvy and have a nasty habit of forgetting their username.

  2. Pat says

    Hi Chad,

    I’m using wp members since some months without any issue, but recently, I’ve got a strange behaviour :
    Someone placed a comment on one of my article which was blocked (by the wp members custom field in the article) and this person was not registered !
    So normally, this person should not have access to the full article and thus, to the comment form!
    Do you have any knowledge on how this can happen?
    Many thanks
    Pat

    • says

      In your WP settings, look under Settings > Discussion. Is “Users must be registered and logged in to comment” checked or unchecked?

      • Pat says

        Hi Chad
        Thanks for your answer.
        Perhaps I’m wrong, but when one article is blocked, how can someone access to the comment form whatever the settings are?
        Regards
        Pat

  3. says

    Hi Chad,

    Thanks again for your amaizing plugin. I come to you again. I use your plugin (2.7.4) with wordpress . When a new member has filled the registration form, he receive an e-mail which says that his demand is hold until my approval. But when I approve this, there is no email for the user. He received no wordpass and login. And I not receive an e-mail who says there is an new user or an approval waiting.
    Thanks for rescue me!

    • Michael says

      Rahan,
      Have you checked that the email message fields are filled in correctly?

      Admin UI > Settings> WP_Members > Emails

      • thesab says

        I have a similar issue .. the plugin is not sending mails anymore.
        As an administrator I recieve one when somewone register but my users are not receiveing any : neither on inscription or on activation.

        I checked the wp mail function as you explained in another post and it is working well.

        any idea ?

        • thesab says

          I just tried the following .. I created a test.php :
          wp-content/plugins/wp-members/test.php

          that file only got the following instruction :

          and when visiting it with my browser I get the following error message:
          Fatal error: Call to undefined function wp_generate_password() in /home/content/43/8447643/html/wp-content/plugins/wp-members/test.php on line 3

          I guess this is the source of my problem but I am not sure and I dont know how to fix it but maybe it can helps …

  4. Miguel Alas says

    Hi Chad! Can your plugin do the following: restrict category post view by username? if so how?
    In a private blog there are 20 categories and 20 users. Each user can post (backend) and see (frontend) a specific category ( by username and not role) which he has allowed to by the admin.

    Thanks in advanced

  5. Phil says

    Hi Chad – great plugin!

    Just wondered if there is a way so that on the Forgot Password Page, users can just enter thier email address, and not thier username. Sometimes users orget both i find!

    Thanks.

  6. says

    My links to register or reset password seem to link to an unrelated site that has a few similar words.

    Any ideas what is going on and how to fix this? \\Thanks, Duncan

    • says

      I would guess that you have something incorrect in the register and members area URLs in the plugin’s settings. Check that you have this setting entered correctly.

  7. Claudiu says

    Hi Chad

    I create a page witch belongs to a restricted content. I a user is not logged in it appears both login and register forms. Where can I change and what in order to keep only one of the forms, for example only registration?

    Best regards

  8. Andy says

    Hey Chad,

    I having been testing WP-Members and it is perfect for what I want. But I have a small problem. I don’t seem to get a notification email when new users register. I have checked the WP settings them seem ok.

    I tried deactivating WP-Members and made sure ‘Anyone can register’ was checked and ‘Users must be registered and logged in to comment’ was checked. So the only way to register was using the WP standard registration form. When I did it that way and created an account I got a new subscriber notification email.

    But as soon as I activate WP-Members, keeping those settings the same and registering through the WP-Members form I dont get a new subscriber notification email. The account appears in the back end no problem though.

    Any ideas?

    Thanks,
    Andy.

    • Andy says

      Scrap that Chad, I just saw the setting in the WP Settings to ‘ Sends email to admin for each new registration?’ LOL, thanks Andy.

  9. Jules says

    Hi
    Looking for someone who is able to customize and limit access for a list of users. We need to controll:
    If some users have some password, generate a private link to display some content if not display error.
    We have a list of 10 users registered with a unike id as password. If the password is correct display a link : xxx.xxx.xx.xx/ users/yyyy where yyyy is the password.
    Thanks

    • says

      Jules – I know you’ve been trying to get this done. I am sorry it fell through the cracks here – I’ve just been so busy with rocketgeek.com (support site for the plugin) and working on the 2.8 release of the plugin. Have you found a solution, or are you still in need of something?

  10. says

    Hi,
    first, thanks for the plugin which I am using happily.
    One question though,
    has anyone changed the WP search tool so that results are only shown for pages that a user can see.
    Currently a user can search and get loads of hits only to find that they can’t actually see the page / post that was returned.

    If anyone has solved this and would share the code I would be very grateful.
    Thanks.

    • Claudiu says

      You can make this with a simple selection from wordpress post type. Make a post as private and the results will be only pages that can be read by anyone. Private posts can be read only be registered users.

    • says

      Well, in the default of the plugin, that is actually part of the intended result – the idea is to drive users to register through excerpted “teaser” content.

      I realize that not every use of the plugin will require the same type of result, so if there are things you want to prevent from showing, I would suggest working on it programmatically. Depending on your search process, that would mean filtering the results based on the WP-Members custom fields relative to your default setting (so looking for posts that have a post meta unblock if posts are blocked by default, or vice versa).

  11. says

    Hi Chad,
    Three questions
    1. The password validation is not working. Users can create a username with dots and spaces.
    2. I would like to reduce the password complexity. Is there some way to do that?
    3. After registration, and logging in, the first time login I get a blank screen. If I refresh, I get the screen. Has this got to do with wp members?

    Martin

    • says

      I think you mean username validation? The username validation uses validate_username, which is a WordPress function. Yes, it may allow things you don’t want to allow. But it has an available filter that you could write your own validation routine and filter the boolean that the function returns.

      Same thing with the password – the plugin uses wp_generate_password, the result of which can be filtered with the random_password filter.

      On your last issue, it sounds like something is interfering with the login process. Are you using a cache plugin?

      • says

        thanks for pointing met to the functions. And yes it is correct, I meant username validation.
        About the cache, I do not have any caching mechanism activated what I know of. I do have WP Super Cache installed, but it is not activated, and the problem was there before I installed WP SC.
        Are there plugins which may interfere with logging in?

        • says

          WP Super Cache may be alright (although you’re not using it so that’s obviously not the issue). I have found that W3 Total Cache is most often not configured correctly to allow for the plugin to operate.

          I do recall that there have been some plugins that have interfered with the login process, but most of the time these were one-off situations. I think there is a facebook plugin that has been a compatibility issues, but I can’t recall the name.

          A possibility for testing may be to deactivate all other plugins, then bring them up one by one and test each time. That way you could isolate the culprit. If you do, please let me know.

  12. Soulé Jacques says

    Hi,
    I was testing your Plugin, thanks for that, I like it.
    I translate in French most of the messages, but unfortunately most of the button are in English language (e.g. IDENTIFICATION in the login menu and many more in the register menu). please could you tell me where to find all the button used in your plugin.
    Thank you in advance.

    • says

      Are we talking about WP-Members? There is not “identification” – do you mean username? There is French translation already included in the download.

  13. Antoinne says

    Hi Chad,

    After updating several wordpress sites, I have some problems with the wp-members “showing excerpted content above the login”. Somehow it now only shows the login form on posts previously showing the excerpt with login form. I have tried several things, but I am a bit stuck since it happened on two different sites. Any suggestions on where to look? I have doublechecked the settings, disabled and enabled the plugin, etc. It worked fine for many months, but now non-members can no longer read the excerpt.

    • says

      You didn’t by chance update those sites with the 2.8.0 beta release did you? One of the release candidates went out with an install file that had the settings update toggle turned on. This would update the plugin’s options to the default, of which show excerpts is turned off. Double check that you have that option turned on.

  14. olga says

    Hi Chad,

    currently testing your plug in to make sure it’s everything we want and I just had one question. I have my settings so that users must be logged in before posting a comment. If you click on the “login” link it takes you to the default WP login. Is there a way to redirect this to the optional “register page” i’ve created?

    thanks for a great plugin!

    olga

Trackbacks

  1. […] WP-Membersプラグインで新規登録すると、登録時に記載したメールアドレスにユーザ名と自動生成されたパスワードが届くのだが、このパスワードが特殊文字を含むため、セキュリティ的にはいいのだろうが、ライトなネットユーザーに優しくない。 ↓こんな感じ ———- ユーザー名: envy パスワード: (8$@qZx(P$31 ———- […]