WP-Members™



WPSubscriber Premium Plugin

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.

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:

 

1,002 Responses to WP-Members™

  1. Godserv says:

    I setup the plugin and everything works fine except – it says “Pages can still be individually blocked or unblocked at the article level”

    - but when I go to the page to edit it, there is no option to unblock on the page. I want to unblock the contact page so that visitors can still contact me.

    I have
    Block Posts by default – on
    Block Pages by default – on

    appreciate your help with this
    Thank in advance

    • Chad says:

      Thanks for the comment. This (and much more) is covered in depth in the Users Guide, available on this page. Look under “Override the Default Setting for Posts.” (I’d refer you to “Override the Default Setting for Pages,” but that refers you back to the section on Posts, as in this particular instance, the steps are the same.)

      • Jerod says:

        What do I do if I don’t have the Custom Field section in the page edit page? I can get this to work fine with posts, but I want it to be on a page rather than a post and can’t figure out how to do it.

        • Chad says:

          It is the same for Pages as it is for Posts, but you’ll need to check the screen options to make sure Custom Fields are set to display.

          From the Users Guide:

          The Custom Field entry is found in the post editor below the editor window. They are not
          displayed by default, so if you have not used custom fields in the past, you may need to turn this
          setting on. Look to the upper right corner of the admin panel when you are in the post editor
          window and find a tab called Screen Options. Open this up and check the box next to Custom
          Fields.

          Hope that helps.

    • chimi says:

      respected members, how a registered or unregistered user could see the member list the one is registered? and i would like to add the picture option in wp-member form. please help me out thanks. Its very very urgent
      chimii@gmail.com

  2. Emilio says:

    Hi!
    i´m traslating your wp-members to spanish, but i can´t translate this part…. i don´t know why…
    you can check here: http://tugrandeza.com/members-area/
    so, I was trying in the wp-members-install.php but like it no works..

    I apreciate so much you can help me.

    thanks!

    • Chad says:

      Hi Emilio, Thanks for your comments.

      If you have loaded the plugin at anytime before you added the translation, the field names are already loaded into the database. The install process intentionally does not overwrite the installed settings. There is a toggle in the wp-members-install.php file called $chk_force that will allow you to force these settings to be updated which, if your translation files include the field names and are present when you do this, will load in the translated field names. There are instructions commented into the install file, but essentially, setting $chk_force to true will force the plugin deactivation/reactivation to reload all of the plugin’s db options (thereby providing you with translated field names). Just be sure to set this back to false when you are done, in case you deactivate the plugin later and don’t want to unintentionally override any custom settings. Also note that when you do this, it will set all of the plugin settings to the default, so you might have to check those if you’ve changed any settings.

    • Tom says:

      Hola Emilio and Chad,
      Just a quick question for both of you, as I am in the middle of developing a multilanguage site English/Spanish. I am trying to translate the plugin into Spanish, but I am not sure if I have to translate the PHP files one by one, or by doing it on the lang/wp-members.pot file will suffice. Or there is already a Spanish version available.
      Also for some unknown reason I can’t get a register button to display on the widget, all I have is just the login button.
      Thanks guys for any help on this.

      • Chad says:

        Tom,

        Don’t translate the files directly. That is not upgrade-able and when there is an upgrade, you’ll find yourself needing to translate again (and thus probably avoiding an upgrade – which is a bad idea as a lot of times upgrades are security or bug fixes). The .pot file can be used as a beginning, or you can generate a new one. You may want to consider using a gettext editor like Poedit.

  3. Gicela says:

    Hi. I have a serious issue with the plugin that I hope you will be able to help with. I have a registration widget with Login/Register. I want people to register in order to leave a comment. However, I have created a couple of users to test, including the admin user but when going to a comment, it tells me that I ‘must login in order to post a comment’ when I’m already logged in.
    I think there is a conflict somewhere. I’m using WP3.1.3

    • Chad says:

      Well, I did make some changes to the way the plugin handles restricting comments in the most recent version and this has been tested and is working for both admins and subscribers. However, the only thing the plugin does with comments is restrict whether you can view them or not. It does not manage whether users can actually post a comment (it relies on WordPress for that, since there is already a setting for requiring users to be logged in to post a comment). Have you checked this with the that setting on but the plugin turned off? Do you have a test system I can view?

    • Chad says:

      Gicela – I did discover a conflict in the plugin with the ‘reply’ link in the comments. This is being addressed in a bug fix release that I intend to release this evening (if all goes well). There are a couple of other bugs addressed and I will be posting information regarding the release later. Thanks for your input!

  4. If you have loaded the plugin at anytime before you added the translation, the field names are already loaded into the database.

    • Chad says:

      That is correct. You can either delete the plugin via the plugin administration panel which will clear out the db settings, or there is a toggle at the top of the wp-members-install.php file called $chk_force. Set this value to true and deactivate/reactivate the plugin. That will load the translated field names into the db (be sure to change this back when you are done, so you don’t inadvertently reset your settings back to the defaults).

  5. tony says:

    installed update and now plugin will not work. it says plugin failed, Could not create directory. D:/Hosting/3084047/html/30daylearning/wp-content/plugins/wp-members/

    the previous version was working fine but the update did not update. please advise.

    • Chad says:

      That generally means something failed in the download between wordpress.org and your site. If that happens, you have a couple of options. You could delete the plugin completely and load a new installation via FTP. You could also check your /wp-content/ directory for a folder called /upgrade/. If this did not clean up properly, you could delete it and try to install the plugin via the installer again.

      You might wait awhile this evening before trying to update – I have a bug fix release scheduled to be released this evening.

    • Chad says:

      Officially, no. I have heard from some users a while back that they have used it in a Multisite installation, but I have not tested it myself. The development of WP-Members predates the merge of WP and WPmu and has never really been tested in that environment.

  6. johnc says:

    Chad,
    I’m setting up a wordpress site for my cubscout pack and we have >100 families. Would importing their core data in mysql to the user table be the quickest way to populate the members? If so, how do I get their passwords to them? I’m using subscribe2 plugin and when I manually create a user, the wordpress interface offers to send the password to the new user. Not sure what other wp-members users have done in this regard. Any thoughts?

    • Chad says:

      Hi John, you could import directly and with a large number of users, that’s the way I would do it. However, you need to consider how WP manages users between the users table and the usermeta table. If you are importing beyond simple username, password, email data, then you probably are best off writing yourself a script to do the work. I would suggest you review the database description before attempting this.

      If you go that direction, you will need to figure out how to get them their login info. However, if you are intending to user registration moderation (admin approval of registrations), you could import all users as inactive users. Then in the Users > WP-Members if you bulk activate all of the inactive users (which is all of them in this case), it will as a matter of activating them email them their login information with a random password that they can login and change.

      WordPress includes the ability to email a password when you create a user regardless of whether you are using a plugin or not. But if you have a lot of users, that’s a lot of data entry. I think you’ll save a lot of time if you work out an import process and bulk activate the list.

  7. Tom says:

    Hi Chad,

    Quick question, I installed wp-members and it’s working great but the temporary password that WordPress emails out when a user is created through the plugin’s inline contact form doesn’t seem to work. It comes up with an error saying that the login is invalid, I have to re-add the password manually in WP Admin for it to work.

    Any ideas?

    Thanks,
    Tom

    • Chad says:

      Hi Tom, thanks for catching this! This is a bug I missed when testing.

      Just looking at it now, it looks like the password being entered into the db at registration is not valid.

      The 2.5.3 bug fix release included changes to the wpmem_registration function found in wp-members-register.php some of which was to fix a bug related to error checking for non-alphanumeric characters included in a username. At the time, I had been working on upgrading some of the WP function calls in wpmem_registration for a rebuild of the function to be included in 2.6. Since the rebuild was complete, it was included in this release. Unfortunately, this slipped a major monkey wrench into the system.

      I’ll have to do a bug fix release to correct this as we have (in this case – unfortunately) had record breaking downloads of this release. So, that means a lot of effected users. An immediate fix for a production system would be to roll back to 2.5.2. Otherwise, wait for an update (which I will release today).

      • Tom says:

        Hi Chad,

        No worries, glad I picked it up then! That’s pretty exciting that the release is having record downloads too.

        Looking forward to the bug fix. Thanks!

        • Chad says:

          The update has been loaded, so it should start showing up soon (the wordpress.org svn recycles every 15 minutes)

  8. kevin says:

    Hi, Nice plugin !

    When the user log in or register, i want them to be redirect to a precise page. How could i achieve this ?

    Thx

    • Chad says:

      Well… I am going to be doing some rewrites to the way certain things operate on the road to 3.0. That will include a revamp of the shortcodes. Presently, the register and the login shortcodes were late-term add-ons due to a number of user requests, so they only perform limited functions. I intend to update these to include a redirect value other than the default (the_permalink).

      In the meantime, although I don’t recommend editing the files directly, that’s pretty much your option. Both the login forms and the registration forms are found in wp-members-dialogs.php. There are two of each, the tablebased forms (old) and table-less forms (new). The redirect at completion is passed (just like WP’s native functions) in redirect_to as a hidden field. Generally, this is the_permalink(). This is so that when the user registers or logs in on a specific page (such as post “My Blocked Post”), they end up on that page at completion. If you change this, you are radically changing the process flow as it is written, so your mileage may vary…

      Good luck.

  9. Christina says:

    Is there a way that content can be released to the user based on their time registered? For example, release content after 1 week after, then 2 weeks, etc?
    Forgive me if this is answered somewhere else, I have looked and have not been able to find the answer anywhere! Thank you so much for your help!

    • Chad says:

      Hi Christina – thanks for your question. What you are talking about is generally referred to as a drip feed. This plugin does not offer that feature at this time.

      • Christina says:

        Chad- Thanks! I’m still learning the technical side of everything…much appreciated! :)

      • Clyde says:

        Chad,
        I was about to make a cooment to ask if your plugin is compatible with the WPDrip plugin developed by Robert Plank when I saw this post. If it is compatible that will solve the problem. The only problem it may cause is his plugin is $47.

        Anyway, my question: Do you know if your plugin is compatible with his. That was the only thing holding me back from downloading your plugin. If you are not sure let me know and I will download and install your plugin and his and let you know what happens.

        Many Blessings,
        Clyde

        • Chad says:

          I’m not sure if it’s compatible – but I don’t see why it wouldn’t be as long as it is working within the WP contruct.

          • Clyde says:

            Everything seems to be working very well with one slight issue. The previous/next links at the bottom of each post seem to be confused as to where they should take you.

            I have put in a request to Robert to see if he can do a bug fix. I have not yet set up a registration page but you can take a look at the blog using visitor/vistor as a temporary username/password.

            I am using a custom blog theme as well as the WPDrip plugin and there does not seem to be any css conflicts or anything else outside the minor problem I mentioned.

            I will be setting up the registration page within the next hour so you may want to wait IF you want to check it out.

            Thanks for a greta plugin,
            Clyde

          • Clyde says:

            Seems like I can’t even give you a compliment without spelling the word wrong.

            I did not like the separate registration page idea so I modified the css just a tad so the forms would fit better within our theme.

            Let’s try this again. Thanks for a truly wonderful plugin.

  10. Nordino says:

    Hi. I installed this plugin yesterday and it looks great. Thanks! I have some questions though:

    - How can I see address, post code and city in the members overview? I need to send items to all approved members, and it would be time-wasting to check each profile individually instead of printing out a list
    - How can I edit the standard e-mails sent out upon registration and upon approval?
    - Is there anyway the users can pick password themselves?
    - How can I change the registration and login form layout? It looks old and terrible.

    I would really appreciate help with this. It would make the plugin absolutely perfect form y needs!

    • Chad says:

      Nordion – the users can be exported to a CSV – that would be the best way to manage viewing them by the fields you mention.
      If you want to edit the emails, they are in wp-members-email.php, but it is not recommended that you edit the files directly – that is not an upgradeable solution. Users cannot pick their own password at registration. That is part of the validation process. They can (and are prompted to) change it when they login (they can change it to whatever they want). As far as changing the form design, have you read the user guide? This is covered in there.

  11. Vance says:

    Hey Chad!

    It goes without saying: AMAZING PLUGIN! I doubt it can even be classified as a plugin, its in it’s own league. Anyway, quick question. I have the plugin running, but I want to format the colour of the text and the positioning of the entire login box. Mainly cause my background is white, and the text is white, so while the plugin works, you can’t see fields like “username” or “first name” etc. I tried editing the files in the css folder and I also replaced the #wpmem_reg with .wpmem_reg, same with #wpmem_login. But that didn’t work. After deleting the entire css folder, I found that the plugin doesn’t even use the folder. Any idea what I should do?

    Merci!

    • Chad says:

      Hi Vance – thanks for your comments and the kind words. As for customizing the CSS, if you are having challenges getting your changes to show, it is possible that you have some styles being inherited from other stylesheets (such as your theme). I would begin with reviewing /css/wp-members.css as a guide. It is designed to be as generic as possible while still showing what possibilities there are with the generated form. If you continue to have problems tracking down possible inherited styles, you may want to consider working with a browser plugin like firebug to inspect the elements that are conflicting.

  12. paullowden says:

    Hello, This is a good plugin. However I have an issue.
    I am only using the Widgit to control logging in and out of the website. The logout works fine, and when a user logs out it takes them to http://www.mysite.co.uk. The login though trys to take them to http://www.mysite.co.uk/index, which does not exist. How do I modify the Widgit script to redirect the user after login to http://www.mysite.co.uk ?
    Thanks in Advance!

    • Chad says:

      Upon login, the user should be ending up on whatever page they logged in on, so it all depends on the type of page/post they are on as to what it is grabbing. This is in wp-members-sidebar.php

  13. Alyssa says:

    Hi,

    I’m helping a friend with their members area. I’ve successfully installed the plugin and blocked the page, but I’m getting two login boxes. One above the header and one in the body. How do I get rid of the extra above the header?

    Thanks!

  14. Alyssa says:

    One more question – how do I allow users to logout?

    • Chad says:

      The sidebar widget has a link to logout. There is also a function call that can be used in your theme, echoes the user’s login status. If they are logged in, it will provide a link to logout as well.

  15. Colin Weir says:

    Hi There

    Brilliant plugin. However recently it’s not performing the same as before. It used to integrate fully with the theme I’m using however it now looks messy and is over text that’s already on the site. Is there anyway I can fix this?

    Thanks in advance.

    Colin

    • Chad says:

      In 2.5.1 I updated the forms to tabless CSS. It sounds like maybe you had been using the older forms and the default CSS for the new ones does not fit your existing theme. I would make two suggestions:

      • Change back to the legacy (table-based) forms in the plugin settings.
      • You can create a custom stylesheet for the new forms. Feel free to begin with the default CSS as a framework. More information regarding this is in the Users Guide.
  16. Bruce says:

    Hi,

    Great plugin! I can see the potential, but for some reason once I’ve added the more tag, I as the admin, or general public cannot see further than the more tag.
    If you click on http://charterpartycases.com/case-studies you’ll see what I’m talking about.

    Also I’m not sure where the registration form, and members only text should be showing.
    This should be below the ‘continue reading’ link, right?

    Seems that everyone is being blocked, or all user levels.

    • Bruce says:

      Sorry, please ignore. I managed to fix it.

      If people have the same problem, just check in your permalink settings that its not the same as the page permalink.
      It was getting confused obviously.

  17. Mark says:

    The plugin works great for the most part, but users are not being directed to a password reset form when selecting “Forgot?” in the Member Login sidebar, or “Click here to reset” under Existing Users Login.

    http://og86.com/user-settings/

    I went through the entire WP-Members User Manual, so I’m a bit stumped as to why it isn’t working now. I am using WP 3.1.3, and WP-Members 2.5.4, along with Events Registration, Members List, NextGEN Gallery and The Events Calendar plugins.

    • Chad says:

      The shortcode for the members area isn’t parsing (I can see it in the excerpt), so it could be a couple of things. Double check the shortcode that it is correct, I would suggest making sure it is typed rather than copy/pasted from the users guide. If “Show Excerpts” is checked, try it unchecked (although the registration page seems to be parsing correctly, so I don’t think it’s that). If you are blocking pages by default, I would also say add a custom field to unblock the users settings page.

      • Mark says:

        Thanks Chad. It seems to work better with “Show Excerpts” unchecked, but there is still no form to actually reset a password is somebody needs to. I unblocked the pages as well. Wasn’t blocking by default, but had added a custom field to block the users settings page. Removed now.

        • Mark says:

          Also, besides no form showing to reset a password, I am getting reports that some users are not receiving the email message with their password once I Activate them. Any solutions?

          • Mark says:

            Ok, fixed the Reset Password form so that it shows now by removing the custom field on the users page that was: block, false. Now to just make sure Activated users are getting the email with the password to login…

          • Chad says:

            Ahhh… I can see how that would throw things off. There actually is no false value for block, so that was actually blocking the page. The custom field to unblock is “unblock”.

            Regarding the email, if users are not receiving emails, there may be an issue with wp_mail. I would initially refer you to the FAQs for “Users are not being emailed their passwords, what is wrong?

  18. LOL man says:

    Nice plugin. I hope you will add a widget Top commented users, I need it. Thank you

  19. Nicky says:

    I love this plugin – and when I have it working properly will send you a donation to thankyou for your hard work and support. My only issue currently is that the registration does not work – it shows the page but the fields are unable to be edited. The only way I can get a new user on board is to try to access a post and the form that appears then is editable.

    I have tried with all posts blocked (then the page unblocked using unblock true) and also changing the default to posts unblocked…still no luck.

    What silly thing am I doing wrong?

    Thanks
    Nicky

    • Chad says:

      Hi Nicky – thanks for the comment – If I understand you correctly, the registration process is working on all but the Register page? Do you have a link I could take a look at?

  20. Christian says:

    Hi Chad

    I have recently installed WP-Members on my main blog and 5 other subdomains. May I know how do I allow a registered member to access all sites with just 1 login username and password?

    thanks
    christian

    • Chad says:

      Christian – they would all need to use either the same WP users table OR would need something that synchronizes the WP users table across the domains.

  21. Bob T says:

    Great plugin, Chad. It should work well for managing my small cabin owners group website. I am moderating each user registration, but I notice that the email to the new user, entitled “Your registration … has been approved”, gives the wrong link for “You may log in at [link].” The link given is the WordPress address, instead of the home blog address. Since my WordPress files are not installed directly under the root directory, the link results in a “404″ error.

    The problem seems to be in the PHP file “wp-members/wp-members-email.php”. In the section called “Case 2: Registration is moderated, user is approved”, there is a code line “$url = get_option(‘siteurl’);” Instead of “siteurl”, the option should be “home”, which will return the blog address URL. Please take a look and see if I am understanding the code correctly, and whether this simple change will solve the problem (without creating other problems!)

    Thanks again for your great work and your ongoing timely support of the WP-Members plugin. We all appreciate it.

    • Chad says:

      Hi Bob – that’s something that I’ve been looking into, but haven’t made a decision as of yet. As I’m sure you know, any change that gets put in to assist one group of users has the potential to adversely effect another group.

      On a related note, the 2.7 project cycle will include the ability to customize the email response process.

      • Bob T says:

        Hi, Chad,
        Thanks for you prompt reply. I tried changing your “wp-members-email.php” plugin code from “$url = get_option(‘siteurl’)” to “$url = get_option(‘home’)” — that changes works great for my WP configuration, but I understand your concern about such a change adversely affecting others.

        I will look forward to the 2.7 release you mentioned, which will customize the email response process. For my issue, it would be nice simply to specify the landing page where the new member should be directed to login. Also, it would be nice to specify who is the sender of the automated email responses, rather than the default sender “WordPress”. I know you are aware of these issues, and judging from all your blog activity, you must be swamped! Thanks for all your good work, and we look forward to more. :)

        • Bob T says:

          Hi, Chad,
          I just noticed your post from yesterday entitled “Changing the wp_mail from address in WordPress without a plugin.” Very timely! I will insert that code in my functions.php file. Thanks.

          • Chad says:

            Hi Bob – thanks again for the comments. Yes, I’ve been busier than a one legged man in a butt kicking contest ;-)

            I’m trying to wrap up the 2.6 project before the end of July and will start into the 2.7 list soon after. I’ll be posting more information about what the 2.6 release will include soon. As I mentioned, 2.7 will be focusing primarily on the email process.

            That should get the plugin to the point where I would like it to be before beginning to finish work on the subscription/expiration/payment module.

            So… that’s a look into my thoughts on the direction this thing is taking.

        • Chris says:

          Hi Bob, Do you have an idea how to change that automated sender “WordPress” into “Admin”? ex. admin@yoursite.com

          • Chad says:

            Hi Chris – thanks for your question. I have a question for you. Did you read anything on this page before posting your question?

  22. Lauren says:

    I LOVE this plugin and the user manual – thanks so much I have to admit to having paid for the WP-member by Smartmedia Pro and yours is FAR better! (and will definitely be donating shortly to your plugin) I have one little issue that I cannot figure – the pages that are automatically formatted so the product category and the blog pages are showing to the public and should be locked, and the pages that are restricted still show the widgets… can you make the widgets restricted also and am I missing something with these pages?
    http://www.twinimages.com.au/devsite/latest-news/
    thanks for your assistance Chad!

    • Chad says:

      Hi Lauren,

      Thanks for your comments and the kind words. I also got your email, but I thought that the answer to this might be good for all.

      The plugin really was designed with blocking just the content in mind. This was for premium newletter-type sites where navigation and such was teaser for the premium, leading the user to register prior to gaining full access. However, through time, it has been adapted to many other uses, most of which has been added as a result of user requests.

      I’ve looked at the possibility of expanding various options such as you have suggested, but anytime we go a direction like that, it takes a lot of consideration. Adding options not only takes a lot of development time, but more importantly, it can make things end-user complicated, which I very much try to avoid. So as I look into things, I always consider, will the plugin users understand how to implement a new feature without difficulty.

      That’s a long way of saying we’re not there yet ;-) but there are some other options if you are handy with theme development. I would suggest the use of is_user_logged_in where you have your widgets and menu items that you don’t want to display. This may be an oversimplification, but something like this might work:

      < ?php if ( is_user_logged_in() ) { ?>

      ... user is logged in so show widgets ...

      < ?php } else { ?>

      .... user is not logged in do something else ...

      < ?php } ?>

      Of course, you wouldn’t have to do the “something else,” you could just leave it at not showing and leave out the “else {”

      Hope that helps give you some ideas. This is probably something I should write a more indepth “how-to” post on.

      -Chad

      • Lauren says:

        Hi Chad – thanks so much for that – I have found a very simple solution your users might like – if you use the widget logic plugin and the is_user_logged_in code in the widgets you want hidden it works a treat :)

        now to figure out the category pages…..

        • Chad says:

          good to know – thanks!

        • Andrew says:

          I have found that this bit of code in your theme’s functions.php file will block a certain category from showing up in the home/archive/list pages as well as the built in widgets like recent posts.

          function exclude_category( $query ) {
          if (!is_user_logged_in()) { //non-logged in user
          $query->set( ‘cat’, ‘-5′ ); //removes catID 5
          }
          }
          add_action( ‘pre_get_posts’, ‘exclude_category’ );

          As a bonus, it appears that the category archive for this category (/category/slug/) will simply give the not found message because all of the entries have been removed from the WP loop!

          This is based on the Plugin API docs at http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts

          Hope it helps!
          Andrew

  23. Angela says:

    Hi

    I am looking for a members plugin and this sounds interesting, but I can’t easily find the answers to two questions I have:
    1] Is it a double opt in system?
    2] How would one send newsletters/emails to members – is that part of the WP-members plugin, or do you need something extra?

    I am looking for a simple members plugin that enables people to join, so they can see “members only” stuff; no members would be charged; I want to then email/newsletter them occasionally.

    Thanking you in anticipation.

    • Chad says:

      This plugin should work fine for what you describe with the exception of email. The registration system operates similarly to what WP has internally (if “anyone can register” is checked) in that the user registers and is then emailed a random password, which validates that they have provided a valid email address. At that point, they can login and change the password to whatever they want. The primary differences between this and the native WP process is that WP-Members adds additional fields (which can also be customized) and puts all of the registration and login process inline with the content and theme providing a more seamless user experience.

      So with that in mind, it covers the first part of your need – simple, allows people to join to see restricted content, they don’t have to be charged. There is no internal email process. During the early years of this plugin’s development, that seemed like over-kill as there were plenty of email newsletter plugins available. However, I’ve been getting requests for integrated functionality within the plugin itself – more of a “one-stop-shopping” kind of thing. With that in mind, I’ve been working on adding email newsletters down the road. That will likely be introduced sometime in the 2.7-2.9 cycle. Until then, since WP-Members uses the WP users table, it should integrate with a number of existing newsletter plugins. Alternatively, WP-Members has user export features so you can also integrate with an external program as well.

  24. s2pidkaspr says:

    hey few questions i have..
    i think there are still areas that needed attention to fully make the plugin great..

    1. When someone registers, a confirmation was sent on email to verify or perhaps get the randomized password right? What I saw is the email was sent by “wordpress@mysite.com” not literally from my own site like admin@mysite.com.

    2. When a user is logged in and tried to comment, on top of every comment you will see that his/her username is highlighted as a link. Which when you click on it, it will redirect users on WP Dashboard. Not members area. O_O

    3. On the other hand, when the user is not logged in, and try to post a comment that is only logged in users can do. He/She will get a message like this “You must be logged in to post a comment.” Which again, when you click on the highlighted url, it will be redirected to WP Dashboard and not the WP Members login page. =/

    Is there a way to fix all this?

    • Chad says:

      Thanks for the comments. I’m not sure “fix” is the right word though as these aren’t things that are broken. The plugin does not assume that there is a one-size-fits-all solution and instead intends to be more flexible and customizable, focusing on doing one thing. With that in mind, the three things you are asking about are already covered by either other plugins and/or WordPress action and filter hooks.

      The first thing, the registration email, is very easy. But it’s a question I get a lot, so I actually put together a “how-to” post on changing this. The plugin uses the built-in function wp_mail, which is what is sending from “wordpress@yourdomain.com”. This is easily changed with a couple of filters added to your theme’s function.php file.

      The other two issues are related. These links you mentioned are handled by the WordPress commenting system and your theme’s comments.php file, not the plugin. It’s a little more complicated than the mail issue, but similarly needs to be handled either by your theme or with filters. One such possibility would be to set up a login page using the plugin’s options, then add a filter for the main WP login page to direct to that:

      add_filter('login_url', 'my_login_url');
      function my_login_url($login_url = '') {
      $login_url = 'http://mydomain.com/my-login-page';
      return $login_url;
      }

      Hope that helps give you some ideas.

      • s2pidkaspr says:

        That link you just send out does work. Thanks for that.
        But the code

        add_filter(‘login_url’, ‘my_login_url’);
        function my_login_url($login_url = ”) {
        $login_url = ‘http://mydomain.com/my-login-page’;
        return $login_url;
        }

        for WP login is not working for me.. =/

        • Chad says:

          Checked the link – it’s valid. But regardless, if you can’t get there, it’s currently the second most recent post on the front page of this blog titled “Changing the wp_mail from address…”

          That code wasn’t exactly something you can just copy/paste (which I must assume you did, otherwise it would be working). Did you (1) set up a login page using the wp-members shortcode, (2) specify the link to that page as the value for $login_url, and (3) put this code somewhere it can fire, such as your theme’s functions.php file? If you do all of that, it will work.

          Also, what you pasted in your response is not correct. The line function my_login_url($login_url = ”) needs to either contain ($login_url = ”) with empty single quotes (not ($login_url = “) with a single double quote – which is what you pasted) -OR – just make it ($login_url) if you can’t get that.

Trackbacks/Pingbacks

  1. WP Members | Likoma
  2. Philippe PETER’s blog » links for 2006-09-27
  3. Mierda Del Toro…Its A Fine Art » Blog Archive » WP Plugin: ProtectContent while using Chad Butler’s WP Members
  4. 11 Reasons You Should Build Your Next Web Site with WordPress | Honest Marketing Secrets
  5. WordPress Plugins - WordPress 插件列表 12月4日 - WordPress中文站
  6. ปลั๊กอิน: 7/12/07 « Aomkod
  7. Plugin WordPress per community | technorati.it
  8. My Favourite Wordpress Plugins | handshake.co.za
  9. WP-Members
  10. Members only – hiding pages & posts
  11. 9 plugins Wordpress para criar uma comunidade paga (membership) | Wordpress Love - Themes, Plugins e tudo para Wordpress, em Português
  12.   Word Press Plugins by obskewer
  13. WP For Internet Marketers » Other things that you could do …
  14. Network multisito di WordPress - - danielesabetta.it
  15. Plugins needed to pimp up your Wordpress community website « INDEZINER
  16. 30 Wordpress Plugins for Make Online Community | Design Dazzling
  17. 30 Community Building WordPress Plugins, Set up your WP Blog as a Community, Directory or Membership blogging site | Ask MaXsKi
  18. Blog Bilcyber.com | 20+ WordPress Plugins for your Membership Site
  19. Blogging Girl » WordPress membership plugins
  20. 30 WordPress Plugins to Make Online Community « Attractive Wall
  21. Great WordPress Plugins to Develop Online Community « Attractive Wall
  22. Tax Preparer Study Guide
  23. Felhasználó kezelő
  24. Helpful WordPress Sites : 52 Tech Tips
  25. PHP Code » wordpress restrict users to pages | Free PHP code | Free PHP script | Magento | Joomla | Wordpress

Comments for this page are now closed.
All support for WP-Members has moved to rocketgeek.com.